[Rcpp-devel] Error running RInside examples

Douglas Bates bates at stat.wisc.edu
Fri Jan 14 17:58:54 CET 2011


For the time being I would suggest using the released version of Rcpp
instead of the latest package from R-forge.  That is, install from a
CRAN mirror site and not the R-forge site.  There are some issues with
the version currently in SVN.

On Fri, Jan 14, 2011 at 10:45 AM, amao oluwole <newnigeb at gmail.com> wrote:
> 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!
>
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
>


More information about the Rcpp-devel mailing list