[Rcpp-devel] Segfault in using RInside
Jiqiang Guo
guojq28 at gmail.com
Wed Feb 5 04:26:18 CET 2014
I got a seg fault from using RInside after upgrading Rcpp to the current
version. The following is an example of using an example in RInside
package:
$ make rinside_test0
g++ -I/usr/share/R/include
-I/home/jq/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/include
-I/home/jq/R/x86_64-pc-linux-gnu-library/3.0/RInside/include -O3 -pipe -g
-Wall rinside_test0.cpp -L/usr/lib/R/lib -lR -lblas -llapack
-L/home/jq/R/x86_64-pc-linux-gnu-library/3.0/RInside/lib -lRInside
-Wl,-rpath,/home/jq/R/x86_64-pc-linux-gnu-library/3.0/RInside/lib -o
rinside_test0
$ ./rinside_test0
Segmentation fault
$ R -q -e 'library(Rcpp);library(RInside);sessionInfo()'
> library(Rcpp);library(RInside);sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.utf8 LC_NUMERIC=C
[3] LC_TIME=en_US.utf8 LC_COLLATE=en_US.utf8
[5] LC_MONETARY=en_US.utf8 LC_MESSAGES=en_US.utf8
[7] LC_PAPER=en_US.utf8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] RInside_0.2.10 Rcpp_0.11.0
>
Am I missing something?
Thanks,
Jiqiang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140204/63c28d57/attachment.html>
More information about the Rcpp-devel
mailing list