<div dir="ltr"><div>Hello, Joris,</div><div><br></div><div>Thank you for the quick response. However, after updated to R 3.4.0 and RTools34, and deleted <span style="font-size:14px">datasets, utils, grDevices, graphics and stats from the require </span><span style="font-size:14px">package</span><span style="font-size:14px"> list, the issue still there.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">The new require package list is:</span></div><div><div><span style="font-size:14px">#############################################</span></div><div><span style="font-size:14px">require("data.table", quietly = TRUE)</span><br></div><div><span style="font-size:14px">require("stringr", quietly = TRUE)</span></div><div><span style="font-size:14px">require("Rcpp", quietly = TRUE)</span></div><div><span style="font-size:14px">require("RCurl", quietly = TRUE)</span></div><div><span style="font-size:14px">#############################################</span></div></div><div><span style="font-size:14px"><br></span></div><div><div>Kind regards,</div><div>Jason</div></div><div><span style="font-size:14px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-08 17:35 GMT+08:00 Joris Meys <span dir="ltr"><<a href="mailto:jorismeys@gmail.com" target="_blank">jorismeys@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I'm not certain as to what causes this, but two remarks:<br><br></div>- unless you have a solid reason to use R 3.1.3, you better update your R version and your packages. This way you're sure you're not running into some bug that's resolved in later versions.<br><br></div>- there is absolutely no need to require() datasets, utils, grDevices, graphics and stats. These packages are automatically loaded by R at startup.<br><br></div><div>Cheers<br></div><div>Joris<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, May 8, 2017 at 11:30 AM, Jason <span dir="ltr"><<a href="mailto:qinjingsong@gmail.com" target="_blank">qinjingsong@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">When I compile and run the RInside examples rinside_sample0.cpp on Windows 10, I get the error :<div><br></div><div>Error: cons memory exhausted (limit reached?)<br></div><div><div>Execution halted</div></div><div><br></div><div>I use R 3.1.3, and I put the follow code in the Rprofile.site file:</div><div><br></div><div>##############################<wbr>###############<br></div><div><div>require("datasets", quietly = TRUE)</div><div>require("utils", quietly = TRUE)</div><div>require("grDevices", quietly = TRUE)</div><div>require("graphics", quietly = TRUE)</div><div>require("stats", quietly = TRUE)</div><div>require("data.table", quietly = TRUE)</div><div>require("stringr", quietly = TRUE)</div><div>require("Rcpp", quietly = TRUE)</div><div>require("RCurl", quietly = TRUE)</div></div><div>##############################<wbr>###############<br></div><div><br></div><div>After removed these code( all lines or some lines), the error disappear, and it return the correct result --- the string "Hello, world!"</div><div><br></div><div>Who can tell me how to solve this problem ?<br></div><div><br></div><div><div>Kind regards,</div><div>Jason</div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org" target="_blank">Rcpp-devel@lists.r-forge.r-pro<wbr>ject.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" rel="noreferrer" target="_blank">https://lists.r-forge.r-projec<wbr>t.org/cgi-bin/mailman/listinfo<wbr>/rcpp-devel</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-7692694341021872291gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Joris Meys<br>Statistical consultant<br><br>Ghent University<br>Faculty of Bioscience Engineering<br>Department of Mathematical Modelling, Statistics and Bio-Informatics<br><br>tel : <span style="color:rgb(49,49,49);font-family:'Trebuchet MS',arial,verdana,tahoma,arial,'Lucida Grande','Lucida Sans Unicode',sans-serif;font-size:12px"> <a href="tel:+32%209%20264%2061%2079" value="+3292646179" target="_blank">+32 (0)9 264 61 79</a></span><br>Joris.Meys@Ugent.be<br>------------------------------<wbr>-<br>Disclaimer : <a href="http://helpdesk.ugent.be/e-maildisclaimer.php" target="_blank">http://helpdesk.ugent.be/e-<wbr>maildisclaimer.php</a></div></div>
</font></span></div>
</blockquote></div><br></div>