Hello, using the <<- assignment operator I do not understand why the following does not work.
l <<- list() l list() l$arg1 <<- "test" error in l$arg1 <<- "test" : Objekt 'l' not found ?"<<-" says: "The operators <<- and ->> cause a search to made through the environment for an existing definition of the variable being assigned. If such a variable is found (and its binding is not locked) then its value is redefined, otherwise assignment takes place in the global environment. " Still I do noch understand why the above does not work. The object l is in the global environment. Can someone explain it to me? Thanks --Mark –––––––––––––––––––––––––––––––––––– Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.