[R] using eval-parse-paste in a loop
Erik Iverson
iverson at biostat.wisc.edu
Tue Feb 26 18:34:51 CET 2008
Michael -
>
> 3. Equally, advice about a better approach would also be v. welcome.
>
As an alternative approach, you may want to save the sheet names in a
list and then use the lapply function to read your data into a list.
This would greatly reduce the 'clutter' of objects in your global
environment, and then let you apply analysis functions to each sheet
with subsequent usage of the *apply functions.
Best,
Erik Iverson
More information about the R-help
mailing list