Hi All,<div>I am working on redhat enterprise 5. I installed R by enabling the shared library by the following command,</div><div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; ">./configure --enable-R-shlib</span></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;">make </span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;">make install</span></font></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></div><div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;">and I tried to install RInside by </span></font></div>
<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="font-size: medium;"><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">svn checkout svn://<a href="http://svn.r-forge.r-project.org/svnroot/rinside">svn.r-forge.r-project.org/svnroot/rinside</a></p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">cd rinside/</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">R CMD INSTALL pkg</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
and i got the following error</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
* installing to library \u2018/usr/local/lib64/R/library\u2019</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">* installing *source* package \u2018RInside\u2019 ...</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
** libs</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">** arch - </p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">/usr/local/lib64/R/bin/R --vanilla --slave &lt; tools/RInsideEnvVars.r &gt; RInsideEnvVars.h</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">/usr/local/lib64/R/bin/R --vanilla --slave &lt; tools/RInsideAutoloads.r &gt; RInsideAutoloads.h</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
g++ -I/usr/local/lib64/R/include  -I/usr/local/lib64/R/include -I/usr/local/lib64/R/library/Rcpp/lib     -fpic  -I. -I/usr/local/lib64/R/include -g -O2 -c MemBuf.cpp -o MemBuf.o</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
g++ -I/usr/local/lib64/R/include  -I/usr/local/lib64/R/include -I/usr/local/lib64/R/library/Rcpp/lib     -fpic  -I. -I/usr/local/lib64/R/include -g -O2 -c RInside.cpp -o RInside.o</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
g++ -o libRInside.so  MemBuf.o RInside.o -shared   -L/usr/local/lib64/R/lib -lR</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">/usr/bin/ld: cannot find -lR</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">
collect2: ld returned 1 exit status</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">make: *** [libRInside.so] Error 1</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">ERROR: compilation failed for package \u2018RInside\u2019</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">* removing \u2018/usr/local/lib64/R/library/RInside\u2019</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Helvetica">* restoring previous \u2018/usr/local/lib64/R/library/RInside\u2019</p>
<div><br></div><div>can anybody help? Thanks!</div><div>Chuan</div><div><br></div><p></p></span></font></div>