-----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
options for R Commander. I'm running Linux Mint and want to
the R Commander font sizes. I see that there are (apparently
line) options to do so. I have a desktop launcher with the
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
could find on the Web and it just keeps saying the same thing over
ml Sent from the R help mailing list archive at Nabble.com.