Displaying 7 results from an estimated 7 matches for "usekerning".
2011 Nov 05
1
How to infer default width and height for a device?
...by the arguments to postcript():
> args(grDevices::postscript)
function (file = ifelse(onefile, "Rplots.ps", "Rplot%03d.ps"),
onefile, family, title, fonts, encoding, bg, fg, width, height,
horizontal, pointsize, paper, pagecentre, print.it, command,
colormodel, useKerning, fillOddEven)
and in the list of predefined device options they are zero:
> ps.options()[c("width", "height")]
$width
[1] 0
$height
[1] 0
and debugging postcript() they are indeed passed as zeros to
.External(PostScript, ...).
> sessionInfo()
R version 2.14.0 Patched...
2009 Jun 08
2
ridiculous behaviour printing to eps: labels all messed up!
OK, this is really weird!
here's an example code:
t1<-c(1,2,3,4)
t2<-c(4,2,4,2)
plot(t1~t2, xlab="exp1", ylab="exp2")
dev.copy2eps(file="test.eps")
that all seems fine...
until you look at the eps file created, where for some weird reason, if you
scroll down to the end, the code reads:
/Font1 findfont 12 s
0 setgray
214.02 18.72 (e) 0 ta
-0.360 (xp1) tb
2011 Sep 13
1
CMYK color space
dear R experts---I am struggling with the requirements to prepare my files
for my printers. I am printing in 2/2 format, which means cyan and black
for me, which they take from my color-separated pdf files. R comes into
play, because it produces all the figures that are embedded in my book
(pdflatex).
now, TeX has no problems producing CMYK files. However, R produces RGB
files (for
2012 Nov 01
3
Duda gráfico DIN A-4
Hola,
¿Alguien me puede indicar cómo conseguir que un gráfico se adapte al formato DIN-A4, con su correspondiente verticalidad?. ¿Hay que hacerlo "manualmente" o existe algún parámetro/función que lo controle?.
Gracias.
Eva
[[alternative HTML version deleted]]
2009 Aug 10
4
Saving plots to file
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it looks like save.plot
is deprecated.
save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and
gain"),file="Desktop/hist1.png")
Thanks in advance,
Sean
Session Info:
R version 2.9.1 (2009-06-26)
2009 Apr 17
0
R 2.9.0 is released
...ined in the
basic R distribution. It provides S4 classes and methods for
dense and sparse matrices, often by using the numerical
libraries Lapack and from the SuiteSparse collection CHOLMOD,
CSparse, and SPQR among others.
o pdf() and postscript() gain a 'useKerning' argument to place
strings using kerning (which had previously been ignored in
display but not in strwidth), based in part on an idea and
code from Ei-ji Nakama. The default is TRUE.
Kerning involving spaces is now ignored (it was previously
only used in...
2009 Apr 17
0
R 2.9.0 is released
...ined in the
basic R distribution. It provides S4 classes and methods for
dense and sparse matrices, often by using the numerical
libraries Lapack and from the SuiteSparse collection CHOLMOD,
CSparse, and SPQR among others.
o pdf() and postscript() gain a 'useKerning' argument to place
strings using kerning (which had previously been ignored in
display but not in strwidth), based in part on an idea and
code from Ei-ji Nakama. The default is TRUE.
Kerning involving spaces is now ignored (it was previously
only used in...