Message-ID: <A4E5A0B016B8CB41A485FC629B633CED4A338A6584@GOLD.corp.lgc-group.com>
Date: 2013-03-11T11:23:13Z
From: S Ellison
Subject: read.table freezes the computer
In-Reply-To: <CACXG3GjKQVC2xi0cEwGnaw8jzk3WJuvZni3fQ9Momz0_pw6veg@mail.gmail.com>
> -----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}}