[R] reading in multiple data sets in 2 loops

Marc Girondot
2016-02-07T13:51:06Z

Try this:

# install package HelpersMG from CRAN including dependencies
install.packages("HelpersMG")
# Update to the lastest version
install.packages("http://www.ese.u-psud.fr/epc/conservation/CRAN/HelpersMG.tar.gz",
repos=NULL, type="source")

# Use the function read_folder()
library("HelpersMG")

content_as_list <- read_folder(folder =
"C:/Research3/simulation1/second_gen", wildcard = "*.csv",
   read = read.csv)

I have created this function because I had exactely the same poblem that
you described !

Sincerely,

Marc

Le 06/02/2016 06:53, Reka Howard a ?crit :