[Rd] Clarification for options(OutDec)
Stephen Eglen
S.J.Eglen at damtp.cam.ac.uk
Wed Apr 22 12:13:46 CEST 2009
The documentation for the OutDec option says that it should be a
'one-character string'; yet, if I try a unicode character, it doesn't seem
to work. Are unicode chars not counted as one-character?
This is within the mac GUI, but I also see this on linux boxes.
> x <- '\u00B7'
> nchar(x)
[1] 1
> options(OutDec=x)
Error in options(OutDec = x) : invalid value for 'OutDec'
I don't think I've changed anything with my LANG settings, but here it
is anyway:
> Sys.getenv('LANG')
LANG
"en_GB.UTF-8"
> version
_
platform i386-apple-darwin8.11.1
arch i386
os darwin8.11.1
system i386, darwin8.11.1
status
major 2
minor 9.0
year 2009
month 04
day 17
svn rev 48333
language R
version.string R version 2.9.0 (2009-04-17)
Stephen
More information about the R-devel
mailing list