use a 'list':


> x <- list()
> x[['test']] <- 64
> x[['next one']] <- c(1,2,3,4)
> x
$test
[1] 64

$"next one"
[1] 1 2 3 4

> x[['test']]
[1] 64
>



On 1/29/06, context grey <mobygeek@yahoo.com> wrote:
>
> Hi,
>
> Is there something like a hashtable or (python)
> dictionary in R/Splus?
>
> (If not, is there a reason why it's not needed /
> typical way to accomplish the same thing?)
>
> Thank you
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>



--
Jim Holtman
Cincinnati, OH
+1 513 247 0281

What the problem you are trying to solve?

	[[alternative HTML version deleted]]


