[R] temporarily modify par values?

2009-04-04 Thread Jim Ottaway
but the last argument are parameters for par, and the last is evaluated with opar - par(...) and par(opar) wrapped around it? Yours sincerely, -- Jim Ottaway __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] temporarily modify par values?

2009-04-04 Thread Jim Ottaway
Romain Francois romain.franc...@dbmail.com writes: Jim Ottaway wrote: Is there some sort of 'with.par' function that temporarily changes par parameters and then re-sets them so that instead of doing things such as with is generic, so you could do something like that: par - function

Re: [R] temporarily modify par values?

2009-04-04 Thread Jim Ottaway
' wrapper? ;-) Yours sincerely, -- Jim Ottaway __ 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

Re: [R] temporarily modify par values?

2009-04-04 Thread Jim Ottaway
expr invisibly so that this works: bp - with(par(mar = c(4, 1, 1, 1)), boxplot(1:10)) Thank you very much, that looks like a better way of cleaning up with an error too than my attempt. Yours sincerely, -- Jim Ottaway __ R-help@r-project.org mailing

[R] change individual label colours in a cluster plot?

2009-02-05 Thread Jim Ottaway
I am doing some bibliometric analysis of interdisciplinarity using cluster analysis of co-authorship. I'd like to be able to specify the colour of individual authors in the labels to show a prior grouping by discipline (red for sociology authors, blue for economics authors, ..., that sort of

Re: [R] change individual label colours in a cluster plot?

2009-02-05 Thread Jim Ottaway
the postscript output, but I'm keen to find an R solution, if only to improve my understanding of R graphicss. Yours sincerely, -- Jim Ottaway __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http