I have a R version 2.4 and I installed R version 2.5(current version) on Mac OS X 10.4.10. I tried "dyn.load" to load a object code compiled from C source. I got the following error message:
Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/Users/jusong/Desktop/BPM/R/group.so': dlopen(/Users/jusong/Desktop/BPM/R/group.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.4/Resources/lib/ libR.dylib Referenced from: /Users/jusong/Desktop/BPM/R/group.so Reason: image not found How can I fix this problem? Best, Jungeun Song  ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.