From ubuntulist at yandex.ru  Fri Aug 20 10:32:32 2010
From: ubuntulist at yandex.ru (Vyacheslav Karamov)
Date: Fri, 20 Aug 2010 11:32:32 +0300
Subject: [Rd] C or Java code generation
In-Reply-To: <19565.21908.102685.183781@max.nulle.part>
References: <4C6CF35F.9040305@yandex.ru>	<AANLkTimDKD058Z+UQK2Z8EucsVsbE-T+dRe2h5EG-HYc@mail.gmail.com>	<4C6CFD45.7050007@yandex.ru>	<AANLkTikMyRzcDHtCSb9f31v5wnN+FLrbQXAwRDg7ui1E@mail.gmail.com>	<4C6D0BC2.7070906@yandex.ru>	<AANLkTi=X-NfgGf3czS9t4LwUKBrUne7=1r+BO7soacEM@mail.gmail.com>	<19565.13345.692185.626415@max.nulle.part>	<4C6D3A53.5070808@yandex.ru>
	<19565.21908.102685.183781@max.nulle.part>
Message-ID: <4C6E3DA0.7010005@yandex.ru>

Dirk Eddelbuettel ?????:
> No, what you describe in the next few hundred lines would _build the examples
> if the package is already installed_ 
>
> Also, building these examples (once you have the package is installed) does
> "Work For Me (TM)" in the sense that the compiles and linking steps succeed
> (WinXP, Rtools with gcc/g++ 4.2.x, R 2.11.0) yet it, as noted above, leads to
> a seg.fault which Romain and I have found neither time nor motivation to fix.
>
> You would be very welcome to help out -- our discussions around Rcpp and
> RInside take place on the rcpp-devel list off R-Forge.
>
>
> | 1) First I added R_HOME environment variable.
> | 2) Then modified c:\Program 
> | Files\R\R-2.11.1\library\RInside\examples\standard\Makefile.win by 
> | surrounding "$(R_HOME)/bin/R" with the quotation marks.
> | 3) And finally
> | C:\Program Files\R\R-2.11.1\library\RInside\examples\standard>make -f 
> | Makefile.win
> | g++ -Ic:/PROGRA~1/R/R-211~1.1/include 
> | -Ic:/PROGRA~1/R/R-211~1.1/library/Rcpp/include 
> | -I"c:/PROGRA~1/R/R-211~1.1/library/RInside/include" -O2 -Wall -Wall  -s  
> | rinside_callbacks0.cpp  -Lc:/PROGRA~1/R/R-211~1.1/bin -lR 
> | -Lc:/PROGRA~1/R/R-211~1.1/bin -lRblas -Lc:/PROGRA~1/R/R-211~1.1/bin 
> | -lRlapack "c:/PROGRA~1/R/R-211~1.1/library/RInside/lib/libRInside.a" 
> | c:/PROGRA~1/R/R-211~1.1/library/Rcpp/lib/libRcpp.a  -o rinside_callbacks0
> | c:/PROGRA~1/R/R-211~1.1/library/RInside/lib/libRInside.a(RInside.o):RInside.cpp:(.text+0x10b): 
> | undefined reference to `__gxx_personality_sj0'
>
> [ Hundreds of similar lines removed. ]
>
>
> Thanks, Dirk
>
>   
Hi all!

Could you help me to install Rinside in Ubuntu Jaunty?
I've installed R and Rcpp but I have no idea how to deal with Rinside.
I couldn't find any makefile.

WBR,
Vyacheslav.



[Rd] C or Java code generation
Vyacheslav Karamov