Re: [R] Problem i9ncreasing memory to jvm for XLConnect

2013-06-11 Thread nevil amos
Thanks for those suggestions. There was no previous part of the session . I opened r then ran the script as seen. In this case the > rm(list = ls()) was superfluous - I just tend to have it at the beginning of scripts to remove any rubbish if I have run previous stuff in the session. It wou

Re: [R] Problem i9ncreasing memory to jvm for XLConnect

2013-06-11 Thread Anthony Damico
the > rm(list = ls()) at the top of your snippet makes me wonder if you had loaded any packages (like XLConnect) that use Java in a previous part of the session? i believe you must designate the ram allocation for java prior to loading any java-related packages, and clearing out your objects wil

[R] Problem i9ncreasing memory to jvm for XLConnect

2013-06-11 Thread nevil amos
I am using some r scripts to reformat a large data set that needs to be saved into xls format. I am getting the “Out of Memory Error (Java)” despite having set a large memory in the first line of the script ( on opening R and before loading any libraries) I am using R version 2.15.2 (2012-10-2