search for: cop_x_data

Displaying 3 results from an estimated 3 matches for "cop_x_data".

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 y...
2012 Jun 12
1
how to skip out and go on read while the read.table meet with a null file
hi ,R users I read a series of file by the command shown as below. cop_x_data<-read.table(flnm,skip=2) the first two line of the files are headfile and I skip them. and sometimes the original data file is null and there is no any data in the file except for the head information. At this situation,my command would be in the error and tell me that there is not data in the...
2012 Jun 28
1
how to skip from some null file and go on reading?
hi , I am reading a series of files by the command shown as below. cop_x_data<-read.table(flnm(i) ,skip=2,allowEscapes=TRUE,blank.lines.skip=TRUE) the first two line of the files are headfile and I skip them by skip=2. and sometimes the data file is null and there is no any data in the file except for the head information. At this situation,my command would be in the err...