[Rcpp-devel] Error running RInside examples

amao oluwole newnigeb at gmail.com
Fri Jan 14 17:45:46 CET 2011


Hi all,
  I hope this is the correct mailing list for this question.  I have
successfully installed R-2.12.1, and the latest version of the Rcpp and
RInside packages on a linux operating system by using the commands:

install.packages("Rcpp", repos="http://R-Forge.R-project.org")
install.packages("RInside", repos="http://R-Forge.R-project.org")

I then added the bin and lib paths to my environmental variable.

To test the install, I compiled the examples in
RInside/inst/examples/standard successfully.  When I tried to run the simple
hello world application, rinside_sample0.cpp program, I got the following
error:

examples/standard> ./rinside_sample0
terminate called after throwing an instance of 'Rcpp::index_out_of_bounds'
  what():  index out of bounds
Abort

examples/standard>

Am I running the example executable correctly?  I do not understand why the
error occurs.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110114/0251e32e/attachment.html>


More information about the Rcpp-devel mailing list