Re: [R] dataframes to a list

From: Matthias Kohl <Matthias.Kohl_at_stamats.de>
Date: Wed, 14 May 2008 12:58:51 +0200

Does

mget(paste("data", 1:50, sep = ""), envir = globalenv())

give what you want?

hth,
Matthias

Shubha Vishwanath Karanth wrote:
> How do I proceed from this stage?
> paste("data",1:10,sep="",collapse=",")
>
> Shubha Karanth | Amba Research
> Ph +91 80 3980 8031 | Mob +91 94 4886 4510
> Bangalore * Colombo * London * New York * San Josť * Singapore * www.ambaresearch.com
>
> -----Original Message-----
> From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org] On Behalf Of Shubha Vishwanath Karanth
> Sent: Wednesday, May 14, 2008 3:59 PM
> To: r-help_at_stat.math.ethz.ch
> Subject: [R] dataframes to a list
>
>
>
> Hi R,
>
>
>
> I have the data frames, data1, data2....data50. Now I want to put all of
> these in a single list. But,
>
>
>
>
>> list(data1, data2,.........data50) is very big to write. How do I then
>>
> do it?
>
>
>
> Thanks,
>
> Shubha
>
>
>
> This e-mail may contain confidential and/or privileged i...{{dropped:13}}
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> This e-mail may contain confidential and/or privileged i...{{dropped:10}}
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Dr. Matthias Kohl
www.stamats.de

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 14 May 2008 - 13:11:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 14 May 2008 - 13:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive