Re: [R] re ading specific columns

2008-11-17 Thread David Winsemius
On Nov 18, 2008, at 12:57 AM, kayj wrote: I have a huge txt file and I only want to get out of it column 3 and 7. I tried to read the whole file and then extract the two columns, but I ran into a memory problem since the file is huge. Is it possible just to tell R to read these two col

[R] re ading specific columns

2008-11-17 Thread kayj
I have a huge txt file and I only want to get out of it column 3 and 7. I tried to read the whole file and then extract the two columns, but I ran into a memory problem since the file is huge. Is it possible just to tell R to read these two columns without reading the whole file? Thanks -

Re: [R] re ading specific columns

2008-10-03 Thread Erik Iverson
What function are you using to read in your data file? If read.table, then see the help page for that function, specifically the colClasses argument "NULL". Erik kayj wrote: I have a huge txt file and I only want to get out of it column 3 and 7. I tried to read the whole file and then extra

[R] re ading specific columns

2008-10-03 Thread kayj
I have a huge txt file and I only want to get out of it column 3 and 7. I tried to read the whole file and then extract the two columns, but I ran into a memory problem since the file is huge. Is it possible just to tell R to read these two columns without reading the whole file? Thanks --