Does setting OutDec work for you?

options(OutDec=",")
x <- rnorm(50, mean=2, sd=0.1)
y <- rnorm(50, mean=2, sd=0.2)
plot(x, y)
# options(OutDec=".") to change it back if you want

-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Kehl Dániel
Sent: Friday, March 7, 2014 3:50 PM
To: Lotharster; [email protected]
Subject: Re: [R] Fwd: Using comma as decimal mark in plots

Hi,

take a look at this old conversation. I do not know about an
other workaround, but maybe somebody else will know something.
As we also use commas in Hungary, I am also affected by this.

https://stat.ethz.ch/pipermail/r-help/2002-January/018030.html

HTH
daniel
________________________________________
Feladó: [email protected]
[[email protected]] ; meghatalmaz&#243;: Lotharster
[[email protected]]
Küldve: 2014. március 7. 15:51
To: [email protected]
Tárgy: [R] Fwd: Using comma as decimal mark in plots

Hi,

I am preparing plots for a german publication. Therefore, I
would like
to use a comma as decimal mark instead of a point. How do I
change
this default in R?

I could not find anything in the help pages, maybe you can help
me out.

Thanks,

Lothar

______________________________________________
[email protected] 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.

______________________________________________
[email protected] 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.

______________________________________________
[email protected] 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.

Reply via email to