Re: [R] error message from read.csv in loop

2021-07-10 Thread Migdonio González
nd worth the read (imo). > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > On Sat, Jul 10, 2021 at 8:20 AM Mig

Re: [R] error message from read.csv in loop

2021-07-10 Thread Migdonio González
v") > > rdcsv <- noquote(paste0("w:/project/_Joe.B/Oracle/data/", mycsv)) > > rr[[j]] <- read.csv(rdcsv) > > } > > > this code is working, but rr is not a data frame, R said: Large list ( 20 > elements .). how can I use it

Re: [R] error message from read.csv in loop

2021-07-10 Thread Migdonio González
It seems that your problem is that you are using single quotes inside of the double quotes. This is not necessary. Here is the corrected for-loop: for (j in 1:nrow(ora)) { mycol <- ora[j,"fname"] mycsv <- paste0(mycol,".csv") rdcsv <- noquote(paste0("w:/project/_Joe.B/O