[Rcpp-devel] RInside Error: cons memory exhausted (limit reached?)
Jason
qinjingsong at gmail.com
Mon May 8 11:30:35 CEST 2017
When I compile and run the RInside examples rinside_sample0.cpp on Windows
10, I get the error :
Error: cons memory exhausted (limit reached?)
Execution halted
I use R 3.1.3, and I put the follow code in the Rprofile.site file:
#############################################
require("datasets", quietly = TRUE)
require("utils", quietly = TRUE)
require("grDevices", quietly = TRUE)
require("graphics", quietly = TRUE)
require("stats", quietly = TRUE)
require("data.table", quietly = TRUE)
require("stringr", quietly = TRUE)
require("Rcpp", quietly = TRUE)
require("RCurl", quietly = TRUE)
#############################################
After removed these code( all lines or some lines), the error disappear,
and it return the correct result --- the string "Hello, world!"
Who can tell me how to solve this problem ?
Kind regards,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20170508/9fa6e44a/attachment.html>
More information about the Rcpp-devel
mailing list