Dear R Users

 Does anyone know how to read a text with a specific format?   I know that has 
to do with two functions: read.table and sprintf but not sure how to put them 
together.   Say that I have a text file called "data.txt", and I would to read 
it according with  "%.14f %.10f %2.5f", which includes three columns.

Thank you very much.


Yihsu Chen
The Johns Hopkins University

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to