Yes, I have R and r-base-dev installed, and I just did this yesterday so I
am working with the newest versions of everything.  The commands that run
when I say 'make' in that directory are:

g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample0.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample0
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample1.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample1
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample2.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample2
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample3.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample3
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample4.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample4
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample5.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample5
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample6.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample6
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample7.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample7
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_sample8.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_sample8
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_test0.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_test0
g++ -I/usr/share/R/include -I/usr/local/lib/R/site-library/Rcpp/include
-I/usr/local/lib/R/site-library/RInside/lib -g -O2 -Wall  -s
 rinside_test1.cpp  -L/usr/lib64/R/lib -lR -lblas -llapack
-L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
-Wl,-rpath,/usr/local/lib/R/site-library/Rcpp/lib
-L/usr/local/lib/R/site-library/RInside/lib -lRInside
-Wl,-rpath,/usr/local/lib/R/site-library/RInside/lib -o rinside_test1

Thanks for your help!

David

On Mon, Jul 12, 2010 at 7:15 AM, Dirk Eddelbuettel <edd@debian.org> wrote:

>
> On 12 July 2010 at 02:24, David Rosengarten wrote:
> | Hi,
> |
> | I am new to this list and apologize for my lack of experience in the
> | subject.  Does anyone here use RInside?  I am trying to run the examples
> in
> | /RInside/examples/standard such as rinside_sample_0, but I am getting the
> | error:
> |
> | error while loading shared libraries: libR.so: cannot open shared object
> | file: No such file or directory
>
> Do you have R itself and the r-base-dev package installed?
>
> Are you Rcpp and RInside source recent and matching?
>
> Exactly what commands run when you say 'make' in that directory?
>
> We test these regularly when making new Rcpp release (just like days ago
> for
> Rcpp 0.8.4 currently waiting in CRAN's incoming and already in Debian
> unstable).
>
> | Does anyone know how to deal with this?  I tried searching online and the
> | only things I found didn't help at all.
>
> We invite questions, discussions, etc for both Rcpp and RInside at the
> rcpp-devel list off R-Forge's page for Rcpp.  You need to subscribe to
> post.
>
> --
>  Regards, Dirk
>

	[[alternative HTML version deleted]]

