Re: [Rd] libR.so: cannot open shared object file

2013-09-06 Thread gianluca.mastranto...@yahoo.it
Thank you, now all works well. G.M. Il 06/09/13 15:28, brian avants ha scritto: > Hello Everyone > > I have been following this thread because I have similar issues with > an outside-of-R package. The problem is related to dylib loading > i.e. of the form > > Error in dyn.load(file, DLLpath

Re: [Rd] libR.so: cannot open shared object file

2013-09-06 Thread Prof Brian Ripley
On 06/09/2013 14:28, brian avants wrote: Hello Everyone I have been following this thread because I have similar issues with an outside-of-R package. The problem is related to dylib loading i.e. of the form Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Us

Re: [Rd] libR.so: cannot open shared object file

2013-09-06 Thread brian avants
Hello Everyone I have been following this thread because I have similar issues with an outside-of-R package. The problem is related to dylib loading i.e. of the form Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Users/stnava/code/gitANTs/ANTsR/src/ANTS/ANTS-

Re: [Rd] libR.so: cannot open shared object file

2013-09-05 Thread Prof Brian Ripley
On 05/09/2013 21:28, gianluca.mastranto...@yahoo.it wrote: just for completion i need to use library(Model, lib.loc="user/area/myRLib") because if i use library(Model) i get this message Error in library("BayesWrap") : there is no package called 'BayesWrap' For the record: not if you follow my

Re: [Rd] libR.so: cannot open shared object file

2013-09-05 Thread gianluca.mastranto...@yahoo.it
just for completion i need to use library(Model, lib.loc="user/area/myRLib") because if i use library(Model) i get this message Error in library("BayesWrap") : there is no package called 'BayesWrap' Il 05/09/13 11:59, gianluca.mastranto...@yahoo.it ha scritto: First of all, thanks for your h

Re: [Rd] libR.so: cannot open shared object file

2013-09-05 Thread gianluca.mastranto...@yahoo.it
First of all, thanks for your help. I did all the things you told me. I was able to load the library, but then Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/lustre/work/gjona2/Wrap/BayesWrap/libs/BayesWrap.so': libR.so: cannot open shared object file: No

Re: [Rd] libR.so: cannot open shared object file

2013-09-04 Thread Geoff Jentry
Can you add some details? Suppose i have the package Model.tar.gz and my writable are is in user/area, what i have to do next to install the package? What I was picturing was something like this (forgive me if syntax isn't 100%): mkdir user/area/myRLib R CMD INSTALL --library=user/area/myRLi

Re: [Rd] libR.so: cannot open shared object file

2013-09-04 Thread Prof Brian Ripley
On 04/09/2013 19:58, Geoff Jentry wrote: Can you add some details? Suppose i have the package Model.tar.gz and my writable are is in user/area, what i have to do next to install the package? What I was picturing was something like this (forgive me if syntax isn't 100%): mkdir user/area/myRLib

Re: [Rd] libR.so: cannot open shared object file

2013-09-03 Thread gianluca.mastranto...@yahoo.it
One problem is that i have not the privileges to install a package. Il 03/09/13 23:14, Dirk Eddelbuettel ha scritto: On 3 September 2013 at 22:48, gianluca.mastranto...@yahoo.it wrote: | Hi all | | I have a R code that incorporates a C++ programm. I compiled the C++ | code with the following: |

Re: [Rd] libR.so: cannot open shared object file

2013-09-03 Thread gianluca.mastranto...@yahoo.it
Can you add some details? Suppose i have the package Model.tar.gz and my writable are is in user/area, what i have to do next to install the package? Il 04/09/13 00:04, Geoff Jentry ha scritto: One problem is that i have not the privileges to install a package. If you have a writable area y

Re: [Rd] libR.so: cannot open shared object file

2013-09-03 Thread Prof Brian Ripley
On 03/09/2013 23:04, Geoff Jentry wrote: One problem is that i have not the privileges to install a package. If you have a writable area you can install to there with the --library=LIB argument and then load the package using the lib.loc command. Actually, that will all happen automatically:

Re: [Rd] libR.so: cannot open shared object file

2013-09-03 Thread Geoff Jentry
One problem is that i have not the privileges to install a package. If you have a writable area you can install to there with the --library=LIB argument and then load the package using the lib.loc command. __ R-devel@r-project.org mailing list https

Re: [Rd] libR.so: cannot open shared object file

2013-09-03 Thread Dirk Eddelbuettel
On 3 September 2013 at 22:48, gianluca.mastranto...@yahoo.it wrote: | Hi all | | I have a R code that incorporates a C++ programm. I compiled the C++ | code with the following: | | R CMD SHLIB Model.cpp -Wall funzioni.cpp | | it seems to work fine but when i run the R code i get this error m