From gianluca.mastrantonio at yahoo.it  Tue Sep  3 22:48:43 2013
From: gianluca.mastrantonio at yahoo.it (gianluca.mastrantonio at yahoo.it)
Date: Tue, 03 Sep 2013 22:48:43 +0200
Subject: [Rd] libR.so: cannot open shared object file
Message-ID: <52264B2B.5020005@yahoo.it>

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 message

Error in dyn.load(paste(dir_func, "Model.so", sep = "")) :
   unable to load shared object '/lustre/work/uuu/RCpp/Model.so':
   libR.so: cannot open shared object file: No such file or directory

I don't know how to fix it.
The code is running on a cluster.

Thanks.



[Rd] libR.so: cannot open shared object file
gianluca.mastrantonio at yahoo.it