Displaying 2 results from an estimated 2 matches for "filevec".
Did you mean:
filevect
2012 Oct 11
2
Repeating a series of commands
I'm trying to figure out how to repeat a series of commands in R and have the
outputs added to a dataframe after each iteration.
My code starts this way...
a<-read.csv("File1.csv")
b<-read.csv("File2.csv")
2011 Sep 02
2
how to return back to go on my cycle while read my files
hi ,when i read a lots of files
for (i in 1:totnum)
{
cop_x_data<-read.table(flnm[i],skip=2)
if(i==1) {cop_data=cop_x_data}
else {cop_data=rbind(cop_data,cop_x_data)}
}
some of the files are missing . so this loop can not go on .I wonder how can
I go on
the loop cycle while reading the files just like the command
read(unit,err=linenum) in fortran ?
thank you .
--
TANG Jie
[[alternative