Installation of package RforProteomics had non-zero exit status? ERROR lazy loading failed for package 'RforProteomics'
Entering edit mode
jb3082 • 0
Last seen 22 months ago


I am having trouble installing RforProteomics in RStudio and I was hoping someone could help. When loading RforProteomics from BiocManager install function, the package will not load. The package loaded fine on my personal computer but it will not load on a university networked computer.

Does anyone have a remedy?


> BiocManager::install("RforProteomics")
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1 (2019-07-05)
Installing package(s) 'RforProteomics'
installing the source package ‘RforProteomics’

trying URL ''
Content type 'application/x-gzip' length 9791944 bytes (9.3 MB)
downloaded 9.3 MB

* installing *source* package 'RforProteomics' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Warning message:
In fun(libname, pkgname) :
  mzR has been built against a different Rcpp version (1.0.2)
than is installed on your system (1.0.3). This might lead to errors
when loading mzR. If you encounter such issues, please send a report,
including the output of sessionInfo() to the Bioc support forum at For details see also
Error in findpack(package, lib.loc) : 
  there is no package called 'RforProteomics'
Calls: <Anonymous> -> findpack
Execution halted
ERROR: lazy loading failed for package 'RforProteomics'
* removing '\\myfiles/JB3082/dos/R/win-library/3.6/RforProteomics'

The downloaded source packages are in
Old packages: 'protViz', 'scales'
Update all/some/none? [a/s/n]: 

  There are binary versions available but the source versions are later:
        binary source needs_compilation
protViz  0.4.0  0.5.1              TRUE
scales   1.0.0  1.1.0              TRUE

  Binaries will be installed
trying URL ''
Content type 'application/zip' length 3433236 bytes (3.3 MB)
downloaded 3.3 MB

trying URL ''
Content type 'application/zip' length 1073764 bytes (1.0 MB)
downloaded 1.0 MB

package ‘protViz’ successfully unpacked and MD5 sums checked
package ‘scales’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
Warning message:
In install.packages(...) :
  installation of package ‘RforProteomics’ had non-zero exit status

> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C                            LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BiocManager_1.30.10

loaded via a namespace (and not attached):
[1] compiler_3.6.1      parallel_3.6.1      tools_3.6.1         BiocParallel_1.20.0
RforProteomics • 431 views
Entering edit mode
Last seen 11 hours ago
United States

You are trying to install a package to a network drive, which doesn't usually work. You can either install locally, or you can map the network drive.


Login before adding your answer.

Traffic: 216 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6