Почему библиотека (dplyr) в .Rprofile ведет себя по-разному

Я озадачен тем, почему оператор в .Rprofile имеет такой отличный эффект от обычного кода. В частности, я хочу включить library("dplyr") в .Rprofile, чтобы он всегда загружался в OSX.

Эффект .Rprofile следующий:

library("lubridate")
library("dplyr")

is:

Attaching package: ‘dplyr’

The following objects are masked from ‘package:lubridate’:

    intersect, setdiff, union

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

Если .Rprofile имеет только library("lubridate"), эффект library("dplyr") в качестве первого оператора в сеансе R:

Attaching package: ‘dplyr’

The following object is masked from ‘package:stats’:

    filter

The following objects are masked from ‘package:lubridate’:

    intersect, setdiff, union

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

В результате такие команды dplyr, как filter, не работают должным образом. Почему это?


person John David Smith    schedule 02.02.2015    source источник
comment
Читать? Запуск. Пакет статистики в этот момент не загружен.   -  person joran    schedule 02.02.2015
comment
Т.е. stackoverflow.com/q/26935095/324364   -  person joran    schedule 02.02.2015