Re: [R] create many variables at one time~

From: Jorge Ivan Velez <jorgeivanvelez_at_gmail.com>
Date: Wed, 04 Jun 2008 22:45:03 -0400

Try also,

id<- paste('id.',1:100,sep="")

HTH, Jorge

On Wed, Jun 4, 2008 at 6:52 PM, Manli Yan <manliyanrhelp_at_gmail.com> wrote:

> I need to create 100 variable ,whose name is id.1,id.2~~~~id.100
> then I need to let a vector say id<-c(id.1,id.2....id.100)
> any easy way to do this?
> thanks a lot~
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>

        [[alternative HTML version deleted]]



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 Thu 05 Jun 2008 - 02:50:22 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 Thu 05 Jun 2008 - 03:30:37 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