If what you want is for your data frames to be present under the global environment, one option is list2env, but for that your list must have names:
names <- ("corn", "cc","tomato","wheat")
yieldfiles <- paste0("/accessdata/yield", names, ".csv")
yield <- lapply(yieldfiles, read.csv, header=TRUE, sep = ",", stringsAsFactors=FALSE)
names(yield) <- names
list2env(yield, environment())
Now you’ll have data frames “corn”, “cc”, etc in your
--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at http://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/groups/opt_out.