[R] R Commander options

John Fox jfox at mcmaster.ca
Wed Dec 28 05:17:39 CET 2011


Dear Rich and Michael,

Thanks, Rich, for answering Michael's question. I'll just add that
?Commander (or "Help -> Commander help", from the Rcmdr menus) provides
information about the available Rcmdr options.

Best,
 John

--------------------------------
John Fox
Senator William McMaster
  Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox




> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Richard M. Heiberger
> Sent: December-27-11 5:41 PM
> To: Michael Schmidt
> Cc: r-help at r-project.org
> Subject: Re: [R] R Commander options
> 
> It is very easy.
> 
> Here is my Projector() function from library(RcmdrPlugin.HH)
> 
> Projector <- function() {
>   Rcmdr <- options()$Rcmdr
>   Projector.options <-
>     list(log.font.size = 15,
>          log.width = 54,
>          log.height = 6,
>          output.height = 18,
>          scale.factor = 1.4)
>   Rcmdr[names(Projector.options)] <- Projector.options
>   options(Rcmdr=Rcmdr)
>   trellis.par.set(list(superpose.symbol=list(
>                          pch=rep(16,
> 
> length(trellis.par.get("superpose.symbol")$pch))),
>                        plot.symbol=list(pch=16)))
>   par(pch=16)
> 
>   putRcmdr("autoRestart", TRUE)
>   closeCommander(ask=FALSE)
>   Commander()
> }
> 
> Projector()
> 
> I use it to set a large font for classroom presentations.
> 
> On Tue, Dec 27, 2011 at 3:57 PM, Michael Schmidt <
> michaelschmidt0001 at gmail.com> wrote:
> 
> > I realize this is basic, but I can't figure out the syntax for
> setting
> > options for R Commander.  I'm running Linux Mint and want to
> increase
> > the R Commander font sizes.  I see that there are (apparently
> command
> > line) options to do so.  I have a desktop launcher with the
> following
> > command
> > line:
> >
> > sh -c 'R_DEFAULT_PACKAGES="$R_DEFAULT_PACKAGES Rcmdr" R "$@"'
> >
> > Can this be modified to override default font sizes?  Alternatively,
> > I've started Rcmdr from the terminal with
> >
> > R
> > library(Rcmdr)
> >
> > but again, can't figure out where to insert the options settings to
> > change the font size.
> >
> > Could someone provide the exact syntax to accomplish this?
> >
> > Sorry about the basic nature of the question - I've read everything
> I
> > could find on the Web and it just keeps saying the same thing over
> and over.
> >
> > Thanks!
> >
> > --
> > View this message in context:
> > http://r.789695.n4.nabble.com/R-Commander-options-
> tp4238183p4238183.ht
> > ml Sent from the R help mailing list archive at Nabble.com.
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> > http://www.R-project.org/posting-guide.html<http://www.r-
> project.org/p
> > osting-guide.html> and provide commented, minimal, self-contained,
> > reproducible code.
> >
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list