Re: [Rd] setting global options for a package

2012-05-10 Thread Duncan Murdoch
On 10/05/2012 1:53 PM, Duncan Temple Lang wrote: Or slightly more conveniently, use the default value of getOption() to return the vector of color names if the option is not set, e.g. foo<- function(x, heplot.colors = getOption("heplot.colors",

Re: [Rd] setting global options for a package

2012-05-10 Thread Duncan Temple Lang
Or slightly more conveniently, use the default value of getOption() to return the vector of color names if the option is not set, e.g. foo <- function(x, heplot.colors = getOption("heplot.colors", c("red", "blue", "black", "darkgreen", "brown", "d

Re: [Rd] setting global options for a package

2012-05-10 Thread Simon Urbanek
On May 10, 2012, at 9:59 AM, Michael Friendly wrote: > This may be elementary, but I can't find an answer: How can I set up global > options for > some specific arguments to functions in a package which can be easily changed > by the user? > > This question relates to the selection of colors u

Re: [Rd] setting global options for a package

2012-05-10 Thread Kevin Wright
Have you considered the lattice package? The defaults can be accessed/changed via trellis.par.get(), but also passed as arguments into the functions. Kevin On Thu, May 10, 2012 at 8:59 AM, Michael Friendly wrote: > This may be elementary, but I can't find an answer: How can I set up global > o

[Rd] setting global options for a package

2012-05-10 Thread Michael Friendly
This may be elementary, but I can't find an answer: How can I set up global options for some specific arguments to functions in a package which can be easily changed by the user? This question relates to the selection of colors used in functions in several packages (heplots, genridge), where I

Re: [Rd] file 2 is not in sorted order error building unsuffered consequences

2012-05-10 Thread Joshua Wiley
On Tue, May 8, 2012 at 9:35 AM, Duncan Murdoch wrote: > This time it was a similar error on a different file.  Now fixed. Works wonderfully now, thank you so much, Duncan! > > Duncan Murdoch > > > On 08/05/2012 11:20 AM, Joshua Wiley wrote: >> >> On Tue, May 8, 2012 at 3:48 AM, Duncan Murdoch >>

[Rd] Can two RConnection's interact with one another ?

2012-05-10 Thread sanre6
Hi , Can two R connections(may be instantiated on the same Rserve Server or on different servers) communicate with each other ? is something like JAVA RMI is possible between two R sessions thanks sanre6 -- View this message in context: http://r.789695.n4.nabble.com/Can-two-RConnectio

[Rd] Compiling R on Windows XP - Rgui crashes yet Rterm works

2012-05-10 Thread Adler, Avraham
Hello. I am trying to build R on Windows. It appears that my build passes the various "make checks" (unless I missed some error) and running Rterm seems to work fine whereas Rgui has an immediate error stating " AppName: rgui.exe AppVer: 2.150.58871.0 ModName: rzlib.dll ModVer:

Re: [Rd] url, readLines, source behind a proxy

2012-05-10 Thread Renaud Gaujoux
Thanks Henrik for the work around. It worked perfectly and save me lots of check time. Renaud -- Renaud Gaujoux Computational Biology - University of Cape Town South Africa On 24/04/2012 17:57, Henrik Bengtsson wrote: Looking at the source code (src/library/tools/R/check.R and src/library/too