[R--gR] R function to create a list

Thomas, Andrew andrew.thomas at imperial.ac.uk
Mon Oct 13 15:32:42 CEST 2003


Hi gRs,

 does anyone know how to write a R function which creates a list with
elements name0, name1... nameN where the names are strings? I have found a
way of creating R objects to represent name0, name1 etc in the global scope
but am suffering a bit from name space problems. What I want is a way of
setting up a corespondance between nodes in the graphical model and R
objects.
Things are sort of working for BRugs but I do not understand what is going
on fully...

All the best

	Andrew




More information about the R-sig-gR mailing list