Metabolomics Society Forum

Software => R => XCMS => Topic started by: Ricca on November 14, 2011, 07:51:06 AM

Title: Upgrade xcms error
Post by: Ricca on November 14, 2011, 07:51:06 AM
Hi, I am a mac user (OS X 10.5.8) I have already upgraded R to 2.14.0 to use the last relese of xcms and now I have some problem to load it. When I try to load xcms the R consol say:

library(xcms)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Users/riccardoromoli/Library/R/2.14/library/xcms/libs/x86_64/xcms.so':
dlopen(/Users/riccardoromoli/Library/R/2.14/library/xcms/libs/x86_64/xcms.so,
6): Library not loaded: /usr/local/lib/libnetcdf.7.dylib
Referenced from:
/Users/riccardoromoli/Library/R/2.14/library/xcms/libs/x86_64/xcms.so
Reason: image not found

Errore: package/namespace load failed for ‘xcms’


I think the error is the absence of ibnetcdf.7.dylib. Do you have any idea how can I correct this error??

Best
Riccardo
Title: Re: Upgrade xcms error
Post by: hpbenton on November 21, 2011, 07:24:10 AM
Riccardo,

Try this page:

viewtopic.php?f=26&t=141 (http://metabolomics-forum.com/viewtopic.php?f=26&t=141)

this should install the netcdf library and then xcms should compile. If not let us know.

Paul
Title: Re: Upgrade xcms error
Post by: Ricca on November 22, 2011, 03:10:16 PM
I solved the problem with the R mailing list.

The problem was with compiling the package. The bug has been fixed with the new relese. Now it is all right!! :D