Hello Lars,

from the read.table documentation:

row.names: a vector of row names.  This can be a vector giving the
          actual row names, or a single number giving the column of the
          table which contains the row names, or character string
          giving the name of the table column containing the row names.

Column numbering in R starts at 1 but you tell read.table to use the 0th column
- this is consitent with your error message.

The folowing works for me:

> x <- read.table("bla", header=T)
> x
  Subject    Sex Age Gruppe Type Target.CRESP Target.RESP Target.RT
1     101 female  22      7    t            0           0      1520
2     101 female  22      9    o            0           1      3020
  Prime.OnsetTime Target.OnsetTime Ordning Ident
1          155074           158497     101   145
2          161678           166005     102   160

-Marc

-- 
========================================================
Dipl. Inform. Med. Marc Kirchner
Interdisciplinary Centre for Scientific Computing (IWR)
Multidimensional Image Processing
INF 368
University of Heidelberg
D-69120 Heidelberg
Tel: ++49-6221-54 87 97
Fax: ++49-6221-54 88 50
[EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

______________________________________________
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