Displaying 4 results from an estimated 4 matches for "u00b7".
Did you mean:
u00b0
2009 Mar 19
0
Using unicode character for 'middle dot' in options(OutDec)
...or something else similar to \cdot in latex) to be used when writing
numbers. Something like the following works for me:
x <- 1:10
y <- runif(length(x))
par(las=1, bty='n')
plot(x,y, ylim=c(0,1), yaxt='n')
p <- pretty(y)
axis(2, at=p, labels=format(p, decimal.mark="\u00B7"))
at least on x11() and pdf() devices. Is it intentional that I can't use
a unicode char though for options(OutDec)?
> options(OutDec='\u00B7')
Error in options(OutDec = "*") : invalid value for 'OutDec'
[I've replaced the cdot with the * in the error...
2009 Apr 22
1
Clarification for options(OutDec)
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...
2012 Aug 09
2
Add interpunct (dot) symbol to axis label?
I'm having problems creating an axis label for a plot.
y_label = expression(paste(plain('CPUE
'),plain('(fish'),plain('x'),plain('h'^{-1}),plain(')')))
I'd like to replace the "x" with an interpunct symbol (dot). Any
suggestions how to do this?
Thanks in advance.
[[alternative HTML version deleted]]
2008 Mar 18
1
invalid \uxxxx sequence while trying to create a package
Greetings, R-Helpers:
I am trying to build a package on WinXP, something that I have done before,
but infrequently, and have recently updated both the Rtools and the version
of R being used.
My test case fails after successfully creating the compiled html files with
this error message:
.
.
.
Created
c:\DOCUME~1\CHARLE~1\LOCALS~1\Temp\Rbuild142865646\March18\chm\March18.chm,
41,494