MAIL PROTECTED]
http://www.cmis.csiro.au/bill.venables/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of livia
Sent: Saturday, 1 December 2007 2:12 AM
To: r-help@r-project.org
Subject: [R] assign vector name
Hello,
I have got a vector, for example seq(1:10), and I
Not exactly sure what name you want, but try:
assign(paste("myname", name[1]), seq(1:10))
On Nov 30, 2007 11:12 AM, livia <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have got a vector, for example seq(1:10), and I have an array "name"
> defined before which contain the vector name I would like t
Hello,
I have got a vector, for example seq(1:10), and I have an array "name"
defined before which contain the vector name I would like to use. So
name[1]= "price". I would like to name the vector in the following codes:
paste("myname", name[1]) <- seq(1:10)
But it does not work. Could anyone g
3 matches
Mail list logo