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 <
michaelschmidt0...@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.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@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/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to