Re: [R] Build a package on one Mac but unable to load this on another Mac

2014-10-18 Thread Prof Brian Ripley
On 18/10/2014 17:34, Amos B. Elberg wrote: You could include just that library in your distribution, and change the dynamic link path using install_name_tool. I assume how to do so in detail is beyond the intended scope of this mailing list. In fact you just need to change the path, as that l

Re: [R] Build a package on one Mac but unable to load this on another Mac

2014-10-18 Thread Amos B. Elberg
You could include just that library in your distribution, and change the dynamic link path using install_name_tool. I assume how to do so in detail is beyond the intended scope of this mailing list. > On Oct 18, 2014, at 11:42 AM, althu07 wrote: > > Hi, I build a package on one Mac. I can ins

Re: [R] Build a package on one Mac but unable to load this on another Mac

2014-10-18 Thread David Winsemius
On Oct 18, 2014, at 8:42 AM, althu07 wrote: > Hi, I build a package on one Mac. I can install the package on another Mac > but it cannot be loaded. The following is the error message. > > Error in dyn.load(file, DLLpath = DLLpath, ...) : > unable to load shared object > '/Library/Frameworks/R.fr

[R] Build a package on one Mac but unable to load this on another Mac

2014-10-18 Thread althu07
Hi, I build a package on one Mac. I can install the package on another Mac but it cannot be loaded. The following is the error message. Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Library/Frameworks/R.framework/Versions/3.1/Resources/library/mypkgfe/libs/mypkgf