Re: [R] Creating dataframes with unique, sequential names

2012-10-30 Thread Bart Joosen
Damn, I didn't read that before but assign could get the job done if used wise, but without context it's hard to say, I must admit > Date: Tue, 30 Oct 2012 10:50:40 -0600 > Subject: Re: [R] Creating dataframes with unique, sequential names > From: 538...@gmai

Re: [R] Creating dataframes with unique, sequential names

2012-10-30 Thread Greg Snow
On Tue, Oct 30, 2012 at 8:00 AM, Bart Joosen wrote: > Take a look at ?assign Then read fortune(236) Then learn about lists and environments to learn better methods. Bart, without context it is harder for use to contribute useful advice. > > Bart > > > > -- > View this message in context: >

Re: [R] Creating dataframes with unique, sequential names

2012-10-30 Thread Bart Joosen
Take a look at ?assign Bart -- View this message in context: http://r.789695.n4.nabble.com/Creating-dataframes-with-unique-sequential-names-tp4647863p4647864.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org maili

Re: [R] Creating dataframes

2011-05-13 Thread Marc Schwartz
On May 13, 2011, at 10:28 AM, Woida71 wrote: > I would like to create a certain number of dataframes out of one dataframe > where each of the dataframes > is related to a factor. This should be possible with a loop or a function, > as is very clumsy to do it manually > when there are quite a lot f

Re: [R] Creating dataframes

2011-05-13 Thread Phil Spector
The way to do what you want is to use the split function, for example, mydataframes = split(exmpl,exmpl$Site) This will return a list with all the data frames. If you don't understand why this is a better solution than creating many separate data frames, let us know what you plan to do with t

[R] Creating dataframes

2011-05-13 Thread Woida71
I would like to create a certain number of dataframes out of one dataframe where each of the dataframes is related to a factor. This should be possible with a loop or a function, as is very clumsy to do it manually when there are quite a lot factors. For example having a dataframe called "exmpl":