When using the Mac GUI, if I do a large search beginning at the root level:
I get an error:
Error: C stack usage is too close to the limit
Note that this error does NOT appear to occur if I call R from a Mac terminal window.
As an additional note, the GUI version (the standard R 3.0.2 install):
R 3.0.2 GUI 1.62 Snow Leopard build (6558)
The error occurs VERY quickly after executing it.
I cannot replicate it. I have no issues in either and the base stack usage is not very different:
# in console R:
# in R.app:
The default stack size in both is 8Mb which is reasonably big.
Please check your stack sizes - they may be different depending on your local settings.
[ You can get unixtools via install.packages("unixtools",,"http://rforge.net") ]
Simon: results below. As a note I've never touched the stack size (I'm not even sure what it is referring to):
In the Mac GUI:
Command line R:
Model Name: MacBook Pro
Model Identifier: MacBookPro10,1
Processor Name: Intel Core i7
Processor Speed: 2.7 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 16 GB
Boot ROM Version: MBP101.00EE.B02
SMC Version (system): 2.3f36
Serial Number (system): C02J11Z2DKQ5
Hardware UUID: D64AB854-2F8C-5359-AD7B-3AD620E34ED2
Interestingly, I just ran the list.files(...) again and got a new error (in the R GUI):
2014-01-14 21:22:22.633 R[30894:1103] Persistent UI failed to open file file://localhost/Users/jgrn307/Library/Saved%20Application%20State/org.R-project.R.savedState/window_2.data: Too many open files (24)