mzR library issue
1
0
Entering edit mode
@peterjsbae-13828
Last seen 7.2 years ago

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

mzr rcpp • 1.6k views
ADD COMMENT
0
Entering edit mode
@laurent-gatto-5645
Last seen 24 days ago
Belgium

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 COMMENT
0
Entering edit mode

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 REPLY
0
Entering edit mode

[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 REPLY

Login before adding your answer.

Traffic: 856 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