As you have noticed, using assign is not simple, and your approach has
potential to cause even more problems even if you get it working.
Here is another approach:
loadCSVfiles - function(path) {
x - list.files(path, full.names=TRUE)
out - lapply( x, read.csv )
names(out) -
On Wed, Dec 4, 2013 at 6:53 PM, Greg Snow 538...@gmail.com wrote:
As you have noticed, using assign is not simple, and your approach has
potential to cause even more problems even if you get it working.
Here is another approach:
loadCSVfiles - function(path) {
x - list.files(path,
On Nov 27, 2013, at 2:39 PM, yetik serbest wrote:
Hi Everyone,
I am trying to import many CSV files to their own matrices. Example,
alaska_93.csv to alaska. When I execute the following, for each csv.file
separately it is successful.
singleCSVFile2Matrix - function(x,path) {
Hi Everyone,
I am trying to import many CSV files to their own matrices. Example,
alaska_93.csv to alaska. When I execute the following, for each csv.file
separately it is successful.
singleCSVFile2Matrix - function(x,path) {
4 matches
Mail list logo