Douglas Colkitt
2012-Apr-16 22:28 UTC
[R] Can't install package gbm, because packageVersion is not an exported object from namespace::Utils
I'm running R 2.11.1 on 64 bit Debian. I've had no problem installing any other CRAN packages, but installing package "gbm" fails due to: *** installing help indices ** building package indices ... ** testing if installed package can be loaded Error : .onAttach failed in attachNamespace() for 'gbm', details: call: NULL error: 'packageVersion' is not an exported object from 'namespace:utils' ERROR: loading failed In the utils namespace I have> utils::package [tab-tab]utils::package.contents utils::package.skeleton utils::packageDescription utils::packageStatus but no utils::packageVersion. I can install gbm on my MacBook in OS X no problem. Any idea what could be the issue. Thanks, Doug Colkitt [[alternative HTML version deleted]]
Duncan Murdoch
2012-Apr-16 23:54 UTC
[R] Can't install package gbm, because packageVersion is not an exported object from namespace::Utils
On 12-04-16 6:28 PM, Douglas Colkitt wrote:> I'm running R 2.11.1 on 64 bit Debian. I've had no problem installing any > other CRAN packages, but installing package "gbm" fails due to: > > *** installing help indices > ** building package indices ... > ** testing if installed package can be loaded > Error : .onAttach failed in attachNamespace() for 'gbm', details: > call: NULL > error: 'packageVersion' is not an exported object from 'namespace:utils' > ERROR: loading failed > > > In the utils namespace I have >> utils::package [tab-tab] > utils::package.contents utils::package.skeleton > utils::packageDescription utils::packageStatus > > but no utils::packageVersion. I can install gbm on my MacBook in OS X no > problem. Any idea what could be the issue.R 2.11.1 is very old, and gbm appears to depend on having a newer version of R. Duncan Murdoch> > Thanks, > Doug Colkitt > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.