[R] Access Violation error after loading csv file

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Aug 23 15:18:18 CEST 2011


Can you please make an example available that reproduces the error, e.g. 
some code that produces a similar csv file like yours?

Uwe Ligges


On 23.08.2011 06:29, Mitu De wrote:
> 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
>
>
> ErrorMsg.png
>
>
>
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list