Search
Question: mzR library issue
0
gravatar for peter.jsbae
12 weeks ago by
peter.jsbae0 wrote:

Hi, 

I am trying to install mzR package.

But, when I set "library("mzR") I got Error message like below. 

> library("mzR") # error
Loading required package: Rcpp
Error in unloadNamespace(package) : 
  namespace ‘Rcpp’ is imported by ‘scales’, ‘reshape2’, ‘readr’, ‘tibble’, ‘plyr’ so cannot be unloaded
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc,  : 
  Package ‘Rcpp’ version 0.12.9 cannot be unloaded
> library("Rcpp")
Error in unloadNamespace(package) : 
  namespace ‘Rcpp’ is imported by ‘scales’, ‘reshape2’, ‘readr’, ‘tibble’, ‘plyr’ so cannot be unloaded
Error in library("Rcpp") : 
  Package ‘Rcpp’ version 0.12.9 cannot be unloaded

 

I have installed two packages ; mzR & Rcpp

But, I couldn't get the library from those packages.

Please let me know the way to solve this issue.

Thanks,

Junseok

ADD COMMENTlink modified 12 weeks ago by Laurent Gatto840 • written 12 weeks ago by peter.jsbae0
0
gravatar for Laurent Gatto
12 weeks ago by
Laurent Gatto840
United Kingdom
Laurent Gatto840 wrote:

Could you try the following in a new R session:

library("Rcpp")
library("mzR")
sesssionInfo()

and, if you encounter any errors, could you provide the full output of the session, including the output of sessionInfo().

ADD COMMENTlink written 12 weeks ago by Laurent Gatto840

Thanks, Gatto. 

This is the output of those three commands.

> library("Rcpp")
Error in unloadNamespace(package) : 
  namespace ‘Rcpp’ is imported by ‘scales’, ‘reshape2’, ‘readr’, ‘tibble’, ‘plyr’ so cannot be unloaded
Error in library("Rcpp") : 
  Package ‘Rcpp’ version 0.12.9 cannot be unloaded
> library("mzR")
Loading required package: Rcpp
Error in unloadNamespace(package) : 
  namespace ‘Rcpp’ is imported by ‘scales’, ‘reshape2’, ‘readr’, ‘tibble’, ‘plyr’ so cannot be unloaded
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc,  : 
  Package ‘Rcpp’ version 0.12.9 cannot be unloaded
> sesssionInfo()
Error: could not find function "sesssionInfo"

 

Thanks,

Junseok

ADD REPLYlink written 12 weeks ago by peter.jsbae0

[First name is Laurent]

Is this in a new session, i.e. you restarted R? If so, do you have an .Rprofile files that loads some packages automatically? To avoid anything like that, could you start R in a terminal with R --vanilla, then type the following:

ls()
sessionInfo()
library("Rccp")
library("mzR")
sessionInfo()

Note your type in sessionInfo!

ADD REPLYlink modified 11 weeks ago • written 12 weeks ago by Laurent Gatto840
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 210 users visited in the last hour