[R-SIG-Mac] R Console on Cocoa printing question
mcq at umich.edu
Wed Feb 8 01:15:11 CET 2006
Thanks for this suggestion. The problem with changing the
font size is that, although it changes the displayed font
size on screen, it has no effect at all on the font size for
output using the printer icon on the R Console. I can not
figure out where settings for that output are made.
Interestingly, any time I change the colors of fonts, that
information is carried over to the printout. In fact, that
is one key reason why I want to save my sessions this way,
rather than cutting and pasting into a text editor. Doing
it this way preserves the different color of what I say from
R's response. It's easier to read with those two colors.
If only I could actually control either the font size or
margins or page layout, I could cut the number of pages of
printout in half and not cut off the last few characters of
... regarding a message from Rob J Goedman on Feb 07:
> Not sure if this will help in your case, but I have worked around
> that by
> cut/paste the R Console output to an editor (and then set the right font
> size - I used SubEthaEdit for that).
> But of course if this is a recurring issue, then this is rather clumsy.
> In that case, making the R Console font size smaller might help.
> On Feb 7, 2006, at 11:26 AM, Mick McQuaid wrote:
> >I'm sorry to ask what must be such a newbie question, but I
> >can't find an answer online, nor can I figure it out for
> >myself. When I use the printer icon on the R console to
> >save the R console to a pdf file, I get results like those
> >shown at http://mickmcquaid.com/example.pdf, the page is not
> >wide enough, so each page is divided into two pages, with
> >about a column of numbers on the second page.
> >I tried two strategies to deal with this. One was to use
> >the Mac OS X print dialog, which offers some possibilities.
> >For instance, I can change the paper. If I change it to
> >landscape, I get the same result because the margins don't
> >change, so the output only uses a small fraction of the
> >printed page.
> >This behavior led to the second strategy. At the R command
> >line, I try to say things like
> > options(width=55)
> > options(papersize="landscape")
> >to affect the width of the output. All these choices seem
> >to lead to output of exactly the same width---not on the
> >display, but in the resulting pdf.
> >Can anyone tell me how to overcome this or even the proper
> >keywords to google to figure it out? I've looked through a
> >bunch of the R-sig-mac archives, and I've tried a few
> >keyword searches, but to no success so far.
> >Michael McQuaid, Assistant Professor
> >School of Information, University of Michigan
> >305B West Hall, 1085 South University Ave.
> >Ann Arbor, MI 48109-1107
> >734-647-9550 voice 734-764-2475 fax
> >mcq at umich.edu http://mickmcquaid.com
> >R-SIG-Mac mailing list
> >R-SIG-Mac at stat.math.ethz.ch
Michael McQuaid, Assistant Professor
School of Information, University of Michigan
305B West Hall, 1085 South University Ave.
Ann Arbor, MI 48109-1107
734-647-9550 voice 734-764-2475 fax
mcq at umich.edu http://mickmcquaid.com
More information about the R-SIG-Mac