Installation problem
1
0
Entering edit mode
Qing • 0
@4ceeee35
Last seen 2.9 years ago
Denmark

I have problem to install the XCMS package use the code below

Code should be placed in three backticks as shown below

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("xcms")

# Below is the error msg
Error: package or namespace load failed for ‘MSnbase’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 object 'pkgInfo' not found
Error: package ‘MSnbase’ could not be loaded
In addition: Warning messages:
1: In loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  package ‘XML’ has no 'package.rds' in Meta/
2: In loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  package ‘XML’ has no 'package.rds' in Meta/
# please also include the results of running the following in an R session 

I have install MSnbase with the code below

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("MSnbase")

But when I tried to library it, I received the same msg as I did for XCMS see below

Error: package or namespace load failed for ‘MSnbase’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 object 'pkgInfo' not found
In addition: Warning message:
In loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  package ‘XML’ has no 'package.rds' in Meta/


My R is the lastest I can find 4.1.2. 
Could anyone help please I have been trying rthis for quite some time.
MSnbase • 1.8k views
ADD COMMENT
0
Entering edit mode
@laurent-gatto-5645
Last seen 6 weeks ago
Belgium

It doesn't look like MSnbase was installed. Please do so with BiocManager::install("MSnbase") and provide us with the error if it fails.

ADD COMMENT

Login before adding your answer.

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