Re: [R] converting commas to points

2011-10-06 Thread Eik Vettorazzi
Hi Anna, have a look at ?write.csv2, which deals with the Excel conventions for CSV in German locale. cheers Am 06.10.2011 17:39, schrieb Anna Lee: > Hello everyone! > > I work with a german excell version which uses commas instead of > points for seperating decimal places. R work with points s

Re: [R] converting commas to points

2011-10-06 Thread Anna Lee
Sorry guys, I allready found the solution. Excell showed some of the numbers in the format: 1,90053-E05 and R interpreted it as 1.9... I changed that in Excel Cheers, Anna Am 6. Oktober 2011 17:48 schrieb Uwe Ligges : > > > On 06.10.2011 17:39, Anna Lee wrote: >> >> Hello everyone! >> >> I work w

Re: [R] converting commas to points

2011-10-06 Thread Uwe Ligges
On 06.10.2011 17:39, 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 i

Re: [R] converting commas to points

2011-10-06 Thread Rainer Schuermann
>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 ger

[R] converting commas to points

2011-10-06 Thread Anna Lee
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