>From ?read.csv: read.csv2( file, header = TRUE, sep = ";", quote="\"", dec=",", fill = TRUE, comment.char="", ...)
I think this is specifically set up for German decimal commas. Rgds, Rainer On Thursday 06 October 2011 17:39:46 Anna Lee wrote: > Hello everyone! > > I work with a german excell version which uses commas instead of > points for seperating decimal places. R work with points so in order > to be able to save my excell tables without changing the commas to > points, whenever I load a table I type in: read.table(..., dec = ",") > only R puts the points into the wron places. For excample excell has a > cell with the number: 0,09 so what R does, it writes the number as 0.9 > which is wrong and makes my calculations become useless. > > Does anyone know this problem? Maby I made a mistake somewhere? > > I would be glad about your answers! > > Cheers, Anna > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.