[Rcpp-devel] weird error

Dirk Eddelbuettel edd at debian.org
Fri May 6 02:36:14 CEST 2011


On 5 May 2011 at 19:21, deqiang sun wrote:
| Does any one encounter such error?
| $ ./rinside_example0
| Error: cons memory exhausted (limit reached?)
| Execution halted

What operating system? What version of R? Is your R version old?

Try installing (preferably from source) current versions of Rcpp and RInside.
 
| The code is just rinside_example0.cpp. 
| The make file is just the original Make file with the line "sources :=              $(wildcard *.cpp)"
| replaced by
| "sources = rinside_example0.cpp" because there are multiple cpp files.

That is on purpose! 

Each source file will be compiled into one executable each.
 
| Note that there are many header files, cpp files and text style data files.

What are "text style data files"? 

What directory are you talking about?

Dirk

| 
| Thanks,
| DSUN
| 
| 
| _______________________________________________
| 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

-- 
Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com


More information about the Rcpp-devel mailing list