[R] Directory-like data organisation w/ environments?

Christoph Lange christoph.lange at tuebingen.mpg.de
Tue Jan 27 14:22:46 CET 2004


(Reply to Liaw, Andy)

> Would attaching a nested list be close to what you want?  E.g.,
> 
> > x <- list(y1 = list(z = matrix(1:4, 2, 2)), y2=matrix(0, 3, 2))
> > attach(x)
> > y2
>      [,1] [,2]
> [1,]    0    0
> [2,]    0    0
> [3,]    0    0
> > attach(y1)
> > z
>      [,1] [,2]
> [1,]    1    3
> [2,]    2    4
> 
> [...]

Well, near to what I want. But I dream of a way to organize my data in
this tree-like structure as e.g. in Mathlab. - I'm just getting lost
in my data :-(

-cl

-- 
Christoph Lange
MPI fuer biologische Kybernetik  |Phone: +49-7071-601-607|
Postfach 2169, D-72012 Tuebingen |FAX:   +49-7071-601-616|




More information about the R-help mailing list