search for: data47

Displaying 2 results from an estimated 2 matches for "data47".

Did you mean: data4
2010 Jul 20
2
loop through files and create object
Hi R users, I am a newbie and therefore the naive question. Sorry but I was unable to find an answer online. I would like to read 47 data sets (country1.raw, country2.raw, ... country47.raw) and save into a matrix each time (data1, data2, ....data47). for (i in 1:47){ data(?) <- read.csv(file.path("country", i, ".raw", fsep = ""), header = TRUE) } The read.cvs statement seems to be right, but how to include "i" in "data" for it to create 47 matrices and not 1 (the last one). Thank you, Da...
2006 Sep 13
2
recursive methods for concatenating sets of files
...im("t (43).txt", quote="", as.is=TRUE) data44 <-read.delim("t (44).txt", quote="", as.is=TRUE) data45 <-read.delim("t (45).txt", quote="", as.is=TRUE) data46 <-read.delim("t (46).txt", quote="", as.is=TRUE) data47 <-read.delim("t (47).txt", quote="", as.is=TRUE) data48 <-read.delim("t (48).txt", quote="", as.is=TRUE) data49 <-read.delim("t (49).txt", quote="", as.is=TRUE) data50 <-read.delim("t (50).txt", quote="",...