[R] How to read this file into R.

Changbin Du changbind at gmail.com
Fri Sep 24 23:30:16 CEST 2010


Dear community,

I have one file named ca_boost_feature.txt,

Feature selection (Boosting:0.0025,5)!
 H.2.C C.1.D C.3.R E.0.N C.2.S C.0.G H.3.G
log file: ep

If I want to use the second line of this file, how to read it into R?

varr<-read.table("/home/cdu/operon/carbonic/ca_boost_feature.txt", sep=" ",
skip=1, header=F, strip.white=TRUE, nrows=1)
Warning message:
In read.table("/home/cdu/operon/carbonic/ca_boost_feature.txt",  :
  incomplete final line found by readTableHeader on
'/home/cdu/operon/carbonic/ca_boost_feature.txt'

I attached this file with this email.

Thanks!


-- 
Sincerely,
Changbin
--
-------------- next part --------------
Feature selection (Boosting:0.0025,5)! 
 H.2.C C.1.D C.3.R E.0.N C.2.S C.0.G H.3.G


More information about the R-help mailing list