Hi everybody,
I'm a student and it's the first time that I use R. I'm doing an internship, I have to extract some information from a file. For this I have to use the package "rsbml" end "SBMLR". So at the beginning of the program I put these two lines to install the packages:
source("http://bioconductor.org/biocLite.R")
biocLite("rsbml")
biocLite("SBMLR")
and after I do an initialisation of these two packages to use them after:
library(rsbml)
library(SBMLR)
I have no problem with the package SBMLR all works but with the package rsbml I have an error that I don't understand:
Error : .onLoad failed in loadNamespace() for 'rsbml', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rsbml/libs/rsbml.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rsbml/libs/rsbml.so, 6): Library not loaded: /usr/local/lib/libsbml.5.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rsbml/libs/rsbml.so
Reason: image not found
Error: package or namespace load failed for ‘rsbml’
I tried to do a file .bashrc to modify the PATH with the next lines but it don"t change anything
export DYLD_LIBRARY_PATH=$
DYLD_LIBRARY_PATH:
/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rsbml/libs
Please Advice,
Thank you
Fabien