Skip to content

skip first line with read.table (was: no subject)

1 message · Hotz, T.

#
Dear Michael,

There was an email thread midst June 2003 on a related issue. 

The suggestions made there will certainly help you

Have a look for thread "Programcode and data in the same textfile"
(just type it into the R Site Search, and the thread will come up).

I recall that read.table() has an argument skip which allows the 
first lines to be skipped, see ?read.table for details.

The manual "R Data Import/Export" is very useful as well.

Please provide a meaningful subject that makes searching the archives easier.

HTH

Thomas


---

Thomas Hotz
Research Associate in Medical Statistics
University of Leicester
United Kingdom

Department of Epidemiology and Public Health
22-28 Princess Road West
Leicester
LE1 6TP
Tel +44 116 252-5410
Fax +44 116 252-5423

Division of Medicine for the Elderly
Department of Medicine
The Glenfield Hospital
Leicester
LE3 9QP
Tel +44 116 256-3643
Fax +44 116 232-2976