FactoMineR failed after installing Bioconductor
1
0
Entering edit mode
dany_wm44 • 0
@dany_wm44-7762
Last seen 9.5 years ago
Mexico

Hi everyone!!

I´ve recently installed Bioconductor and run it this way:

source("http://bioconductor.org/biocLite.R")
biocLite()
biocLite("affydata")
library(affydata)

it was not for me, it was for a partner that wanted to show me something.

after this I tried to run my PCA scrip, using FactoMineR package, it return this:

> library (FactoMineR)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘pbkrtest’
Error: package or namespace load failed for ‘FactoMineR’

before installing bioconductor I used FactoMineR package, so the instalation of Bioconductor may be the cause.

 

Please Help!!!

Thanks!

software error factomineR bioclite • 4.5k views
ADD COMMENT
0
Entering edit mode

It also happend with ggplot2, 

> library(ggplot2)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’

ADD REPLY
0
Entering edit mode

biocLite / BiocInstaller do not change the paths where R looks for installed packages, so the problem is elsewhere. Start R with the --vanilla flag (from the command line, R --vanilla). Make sure you are looking in the right place for your packages via .libPaths(). Make sure sessionInfo() returns the version of R you're expecting. Verify that ggplot2 is installed via installed.packages().

ADD REPLY
0
Entering edit mode
@martin-morgan-1513
Last seen 4 months ago
United States

It is not likely that Bioconductor corrupted your installation. Try re-installing FactoMineR, e.g.,

source("http://bioconductor.org/biocLite.R")
biocLite("FactoMineR")

(biocLite will install non-Bioconductor packages, too).

ADD COMMENT
0
Entering edit mode

Thanks for answering so fast!! unfortunatly it didn´t work, when I run the code you tell me and try the PCA again, it return this again, it is also happening with ggplot2 package:

> library (FactoMineR)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘pbkrtest’
Error: package or namespace load failed for ‘FactoMineR’

ADD REPLY
0
Entering edit mode

And when you try to install the missing package, biocLite("pbkrtest") ? Please also provide the output of the command sessionInfo().

ADD REPLY

Login before adding your answer.

Traffic: 546 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6