Re: [R] assigning and saving datasets in a loop, with names changing with i

2007-12-21 Thread Tony Plate
Marie Pierre Sylvestre wrote: Dear R users, I am analysing a very large data set and I need to perform several data manipulations. The dataset is so big that the only way I can play with it without having memory problems (E.g. cannot allocate vectors of size...) is to write a batch script

Re: [R] assigning and saving datasets in a loop, with names changing with i

2007-12-19 Thread Moshe Olshansky
Won't it be simpler to do: for (i in 1:12){ data - my.fun(my.list[i])) save(data,file = paste(data,i,.RData, sep=)) } --- Marie Pierre Sylvestre [EMAIL PROTECTED] wrote: Dear R users, I am analysing a very large data set and I need to perform several data manipulations. The dataset is

[R] assigning and saving datasets in a loop, with names changing with i

2007-12-18 Thread Marie Pierre Sylvestre
Dear R users, I am analysing a very large data set and I need to perform several data manipulations. The dataset is so big that the only way I can play with it without having memory problems (E.g. cannot allocate vectors of size...) is to write a batch script to: 1. cut the data into pieces 2.

Re: [R] assigning and saving datasets in a loop, with names changing with i

2007-12-18 Thread Benilton Carvalho
you want to use: save(list=paste(data, i, sep=), file=paste(data, i, .Rdata, sep=)) b On Dec 18, 2007, at 9:24 PM, Marie Pierre Sylvestre wrote: Dear R users, I am analysing a very large data set and I need to perform several data manipulations. The dataset is so big that the only way