[R] How to separate huge dataset into chunks

2009-03-24 Thread Guillaume Filteau
Hello all, I’m trying to take a huge dataset (1.5 GB) and separate it into smaller chunks with R. So far I had nothing but problems. I cannot load the whole dataset in R due to memory problems. So, I instead try to load a few (10) lines at a time (with read.table). However, R kept cras

Re: [R] How to separate huge dataset into chunks

2009-03-25 Thread Guillaume Filteau
ley : On Tue, 24 Mar 2009, Guillaume Filteau wrote: Hello all, I’m trying to take a huge dataset (1.5 GB) and separate it into smaller chunks with R. So far I had nothing but problems. I cannot load the whole dataset in R due to memory problems. So, I instead try to load a few (10) lines a

[R] Manipulate single line in textfile

2009-04-17 Thread Guillaume Filteau
Hello all, Is it possible to modify a single line in a textfile? I know it is possible to load the whole text file, do the change, and save this as a new file. However, this is not practical in my case, because the document is huge and cannot be fully loaded in R. Any idea? Best, Guillaume

[R] Matrix starting at [0,0] instead of [1,1]?

2008-10-15 Thread Guillaume Filteau
Hello all, When I create a matrix, is there a way to make it start at [0,0], instead of [1,1]? That way, a 2x2 matrix would go from [0,0] to [1,1], instead of [1,1] to [2,2]. Best, Guillaume __ R-help@r-project.org mailing list https://stat.ethz.

[R] How do I add a variable to a text file?

2009-03-19 Thread Guillaume Filteau
Hello all, I have a 2.0 GB dataset that I can't load into R, due to memory issues. The dataset itself is in a tab-delimited .txt file with 25 variables. I have a variable I'd like to add to the dataset. How do I do this? Best, Guillaume __ R-help@r-

[R] Symbols to use in text

2008-11-13 Thread Guillaume Filteau
Hello all, I'm trying to use text symbols in R, such are greek letters and mathematical operators. Do you know where I can find a list telling me how to use all those symbols? I'd like to have them displayed in my graphs. Best, Guillaume __ R-help