[R] Referencing objects within a loop
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Jan 19 19:39:13 CET 2005
On Wed, 19 Jan 2005, Doran, Harold wrote:
[...]
> Which gives me an error message. It essentially states that Object
> "paste("Data.", i, sep = "")" not found
>
> I'm not quite sure what I am doing wrong here.
Please read the help page: save works on objects, not names of objects
unless you use the list= argument.
You may in any case find it easier to use .save/readRDS to save and
retrieve anonymous objects.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list