> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of rami jiossy
> Sent: Monday, August 24, 2009 12:01 PM
> To: R-Help
> Subject: [R] create list entry from variable
>
>
> Hi;
>
> assume i&
Yep;
great thanks :)
Date: Mon, 24 Aug 2009 16:11:20 -0300
Subject: Re: [R] create list entry from variable
From: www...@gmail.com
To: sra...@hotmail.com
CC: r-help@r-project.org
Try this:
l <- list(i + 1)
names(l) <- i
On Mon, Aug 24, 2009 at 4:01 PM, rami jiossy wrote:
Hi;
Try this:
l <- list(i + 1)
names(l) <- i
On Mon, Aug 24, 2009 at 4:01 PM, rami jiossy wrote:
>
> Hi;
>
> assume i<-10
>
> how can i create a list having key=10 and value=11
>
> list(i=11) generates a list with
>
> 'i'
> [1] 11
>
> and not
>
> 10
> [1] 11
>
> any help?
>
> Thanks
>
> _
Hi;
assume i<-10
how can i create a list having key=10 and value=11
list(i=11) generates a list with
'i'
[1] 11
and not
10
[1] 11
any help?
Thanks
_
Facebook.
:ON:WL:en-US:SI_SB_facebook:082009
[[alternative HTM
4 matches
Mail list logo