[R] Access Violation error after loading csv file

Mitu De mitu.de at superiorbusinessresults.com
Tue Aug 23 06:29:31 CEST 2011


Hello,

I am using Windows 7 and R version 2.13.1. I was trying to read a csv file
which has about 1.5 million records and 13 variables. My R code loaded
145,346 records only without showing any error. If I want to see the last
few records (tail), it is throwing access violation error. I am attaching
the screenshot showing this error and  the code I am running to read this
file.

While running this program, I was observing the memory usage in Windows
resource monitor. It showed the maximum usage of 30% physical memory at the
peak.

To see if the line 145,346 is the cause of problem, I tried to read starting
line 145,300 -it read again few thousands line including line 145, 346, but
the same access violation error if I want to see the tail. So, I don't think
it is due to that particular line (145,346).

Can you please help me to resolve this problem?

Thanks,

Mitu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ErrorMsg.png
Type: image/png
Size: 91006 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110823/20d23c51/attachment.png>


More information about the R-help mailing list