Re: [R] Data import from .csv-file with numeric header

2009-09-25 Thread Duncan Murdoch
Tobias Ruff wrote: Hello everybody out there using R, How can I import data with a numeric header from a .csv-file? My file example.csv has the following content (a duplicate measurement of potentials for three different currents): 1; 2; 6 1.0; 2.1; 5.9 1.1; 2.0; 6.0 I try to import the data b

Re: [R] Data import from .csv-file with numeric header

2009-09-25 Thread Henrique Dallazuanna
Try this: measurement <- read.table("example.csv", sep = ";", header = TRUE, check.names = FALSE) plot(mean(measurement), names(measurement), xaxt = 'n') axis(1, names(measurement)) On Fri, Sep 25, 2009 at 3:53 AM, Tobias Ruff wrote: > Hello everybody out

[R] Data import from .csv-file with numeric header

2009-09-25 Thread Tobias Ruff
Hello everybody out there using R, How can I import data with a numeric header from a .csv-file? My file example.csv has the following content (a duplicate measurement of potentials for three different currents): 1; 2; 6 1.0; 2.1; 5.9 1.1; 2.0; 6.0 I try to import the data by using: >measurement