dear R wizards:
I am getting to play more and more with fun fonts (irony warning). I
now know that I can safely use my TeXtext encoding with the postscript
device, but not with the pdf device. Unfortunately, I believe that the
postscript device does not support translucent colors---or is
Dear Paul:
Thank you for responding. I had thought I had imposed too much, and
did not want to be a bother any more. In any case, this does not seem
to work for me.
afmfiles - c(lbr.afm, lbd.afm, lbi.afm, lbdi.afm, lbms.afm)
postscriptFonts(lucida=postscriptFont(Lucida, metrics=afmfiles))
Ooops. hit the button too soon. I have tried as arguments variation
of the fonts and family arguments to postscript, such as getting the
case right (i.e., lucida rather than Lucida). Alas
postscript(file=test.ps, fonts=lucida);
*** glibc detected *** free(): invalid pointer:
Hi Paul:
I very much appreciate your spending the time to help me here, and I
hope we will get a nice how-to document from this for other
novices---or at least a google-able record in the r-help archive.
* The following is working R code to embed fonts, such as the lucida
font family:
dear R wizards--- I would like to do some book-on-demand printing at a
popular printer named lulu, but lulu requires inclusion even of the
basic postscript fonts. Interestingly, my book itself does not need
the 14 base acrobat fonts, only the embedded R figures do. Of course,
I really
Thank you---as always.
still, I remain font-desparate.
I would love to use the fonts from my book, but [a] I cannot figure out
how to do this yet even in the R postscript device; and [b] I am using
the R pdf device, not the postscript device. I guess if I can solve
[a], then I can rewrite
Dear R wizards:
under R-2.1.0:
eargs - 3:5;
line - paste(c(echo A B, eargs));
cat(executing from R: ', line, '\n);
system(line);
Oddly, only A and B are echoed, not the eargs. I had hoped that
line would be one string at this point, and for printing this seems to
be true. However,
Dear wizards:
despite my omission of the c() on the limits, a kind soul sent me the
answer: a par(new=T) will make the next plot() redraw nicely.
a help question for R-2.1.0: help.search(transparent) gives
No help files found with alias or concept or title matching
'transparent' using
dear R wizards:
plot( 1, 1, ylim=(2,10), xlim=(2,10), type=n);
rect( -1, -1, 12, 12, col=gray(0.99) );
unfortunately wipes out the border axes around the plot. how do I keep
this?
regards,
/ivo
__
R-help@stat.math.ethz.ch mailing list
thank you for the hints. a matrix is and it isn't the right tool for
the job. it is really a data frame, not a matrix. the columns have
meanings. actually, a more general data frame would make a nice
feature for the future---as if the folks doing the R development did
not have enough to
dear R wizards: does R have the facilities to handle sparse data
frames? I am thinking of reading a data base like the daily CRSP data
into R, observations being firms, columns being days, data being stock
returns. but this will only fit into my memory if I can convince R to
not have to
dear R wizards: is it possible to specify different arrow head styles?
E.g., a solid arrow head? Or a bent arrow head? Or a longer or
shorter arrow head? (perhaps through an add in?) I guess I could
write this myself, but since arrows is built-in, I was hoping it had
some flexibility
dear R wizards:
is it possible to use a postscript font symbol as a plot symbol?in
particular, I want to use the four postscript symbols for playing cards
(club, heart, spade, diamond) as points. In LaTeX, these four are
\Pisymbol{psy}{A7} \Pisymbol{psy}{A8}
\Pisymbol{psy}{A9}
13 matches
Mail list logo