yufree / SWATHtoMRM

SWATHtoMRM package download from http://www.metabolomics-shanghai.org/softwaredetail.php?id=128
1 stars 0 forks source link

Problem in running SWATHtoMRM #1

Open vivekmishra8739 opened 5 years ago

vivekmishra8739 commented 5 years ago

We have successfully installed SWATHtoMRM package, but we are not able to use it for the analysis because following error has been encountered. Please suggest how to fix this problem.

Error: package or namespace load failed for ‘SWATHtoMRM’: package ‘SWATHtoMRM’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version

yufree commented 5 years ago

I am not the developer and user of this package. Such issue might need R version lower than 3.5.0. cc @jaspershen

vivekmishra8739 commented 5 years ago

I tried with newer versions also. But, I same error has been observed.

yufree commented 5 years ago

It seems a mixed version of R matters https://github.com/rocker-org/shiny/issues/48 .

If you don't have a specific requirement of R version, try to uninstall all the outdated R and re-install the pacakge again.

ps: I just tested this package on my machine and it worked fine.

vivekmishra8739 commented 5 years ago

Don't know why it's happening with me. I uninstalled all the old version and tried with R version 3.6.1. Its giving same error.

yufree commented 5 years ago

If you just want to run this package, you could pull an image from docker and most of the metabolomics related packages are already installed and you could analysis your data through RStudio server hosting on your own computer. Anyway, RStudio(no matter desktop or server version) is actually a web browser-based software.

Check this project: https://github.com/yufree/xcmsrocker