1. Full disclosure. I have not followed this thread closely. My comment
concerns only:

On Mon, Nov 7, 2011 at 8:35 AM, Jeff Newmiller <jdnew...@dcn.davis.ca.us>wrote:

> A much better solution is to make separate functions for each object you
> import, and return an object from the function to be assigned in the
> calling environment. This will be far less confusing to read later.
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
>

--"It ain't necessarily so" (from Porgy and Bess -- Google it)
 (assuming I have understood the issues)

For example, given several data sets of identical sets of pollution
monitors at different sites and/or times, it would probably make more sense
to import them together into a list so that they could be easily analyzed
in parallel (via e.g. lapply(..)) , combined into one structure, etc. ,
rather than littering the global environment with separate objects.

Cheers,
Bert

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to