[R] Comments in read.table
LAM
Lemine-Mohamed.Ould-Mohamed-Abdallahi at imag.fr
Fri Nov 24 14:46:47 CET 2000
I know it is possible to use the character "#" to comment lines in
script files.
Is it possible to give an argument (just like skip) to the fuction
read.table to avoid reading commented lines in data files.
I want to use this function to read a table in a data file like this
#-------------------------------
x y z
#my data begin here
1 2 3
12 3 4
1 0 1
# no comment !!!
2 3 5
#--------------------------------
Thanks in advance.
--
Ould MOHAMED ABDALLAHI Mohamed Lemine || e-mail: mould at imag.fr
Laboratoire de Modelisation et Calcul || Tel: +33 4 76 51 45 54
BP 53, 38041 Grenoble cedex 9 (France) || Fax: +33 4 76 63 12 63
----------------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list