> -----Original Message----- > I have a txt file to read into R. The size of it is about 500MB. > This txt file is produced by calling write.table(M, file = > "xxx.txt"), where M is a large matrix After running MM = > read.table("xxx.txt"), the R gui keeps a cpu core/thread > fully occupied forever. > 64 bit R with 16GB RAM on Win7 64, i5 cpu should be capable. > So if anyone knows the reason, that will be appreciated. > Thank you for any advice. >
A look at the ?read.table section on 'memory usage' may help. In particular, specifying colClasses as numeric is recommended. S Ellison ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}} ______________________________________________ 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.