Open ZhaFStar opened 1 year ago
hi, brother. this issue have been solved?
I get the same issue
Would you please help? When I run the "mSet<- OPLSR. Anal (mSet, reg=TRUE)" script in R(4.0.3), I get the following error :
Error in compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc") : file '../../rscripts/MetaboAnalystR/R/stats_opls.Rc' does not exist
What happened and How can I solve it ?
Hi, may I ask how u deal with this problem ? Thanks
It seems there is a typo in chemometrics module ./R/stats_chemometrics.R
Where there are the lines:
LINE1523: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc"); LINE1913: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc");
it should be:
LINE1523: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.R"); LINE1913: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.R");
You can wait they release a fix or you might DIY:
It seems there is a typo in chemometrics module ./R/stats_chemometrics.R
Where there are the lines:
LINE1523: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc"); LINE1913: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc");
it should be:
LINE1523: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.R"); LINE1913: compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.R");
You can wait they release a fix or you might DIY:
- Download the lastest source code (tarball, .tar.gz)
- Edit the file at shown lines
- Manual reinstall from source
Thanks for the suggestion, I'll try to modify it right away and I tried _source(paste0(.libPaths()[1],"/MetaboAnalystR/R/stats_oplslocal.R")) ,as _if(!exists("performopls")) but, even if I got _> exists("performopls") [1] TRUE still _> mSet<-OPLSR.Anal(mSet, reg=TRUE) Error in compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc") : file '../../rscripts/MetaboAnalystR/R/statsopls.Rc' does not exist
Would you please help? When I run the "mSet<- OPLSR. Anal (mSet, reg=TRUE)" script in R(4.0.3), I get the following error :
Error in compiler::loadcmp("../../rscripts/MetaboAnalystR/R/stats_opls.Rc") : file '../../rscripts/MetaboAnalystR/R/stats_opls.Rc' does not exist
What happened and How can I solve it ?