Thanks Jeff:

I simplified my code and a single line in which I open a file causes this problem. The file opens well in another program and smaller files open just fine in R. So it seems the problem is with a default value somewhere for how big the files can be. I am suspicious of this as R crashes within a millisecond from running the line that tries to open the file. Anyway, I wanted to provide this info in case you may know what could be causing this Runtime error in r.

Thanks,

Camilo


Camilo Mora, Ph.D.
Department of Geography, University of Hawaii
Currently available in Colombia
Phone:   Country code: 57
         Provider code: 313
         Phone 776 2282
         From the USA or Canada you have to dial 011 57 313 776 2282
http://www.soc.hawaii.edu/mora/



Quoting Jeff Newmiller <jdnew...@dcn.davis.ca.us>:

It would seem that in going to a 64 bit architecture you have not escaped your memory problems. Such problems are highly varied in details, so you would need to be much more specific about how you are encountering this problem before anyone could help. Read the Posting Guide and make a reproducible example and provide the output of sessionInfo just before the problem occurs.

Note that operating-system-specific solutions are sometimes necessary, but algorithmic solutions are usually the most powerful at scaling to larger sizes... that is, change your code or use a different tool for part or all of the work. It can become crucial to understand every step of the processing you are doing in such cases.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnew...@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.

Camilo Mora <cm...@dal.ca> wrote:
Hi everyone:

I am running a code in R and I get the following message after using
large files (files larger than 2GB):

"Runtime error!
this application has requested the Runtime to terminate it in an usual
way.
Please contact the application's support team for more information"

Another person posted a similar situation years back with the use of a

large data.table. but no solution was proposed. Does anyone has come
across this problem? is there a fix?.

in R at 64bit, the message appear immediately after running the code.
At 32bit, the code start but I run into the issue that the code
reaches the RAM limit. This makes me to suspect that the error in
64bit is related to a default value on how big the files could be.

Anyway, any help will be highly appreciated.

Cheers,

Camilo



Camilo Mora, Ph.D.
Department of Geography, University of Hawaii
Currently available in Colombia
Phone:   Country code: 57
         Provider code: 313
         Phone 776 2282
         From the USA or Canada you have to dial 011 57 313 776 2282
http://www.soc.hawaii.edu/mora/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to