Re: [Rd] Best practices for writing R functions

2011-07-26 Thread Brian G. Peterson
On Tue, 2011-07-26 at 15:19 -0700, Davor Cubranic wrote: > On 2011-07-23, at 5:57 AM, Alireza Mahani wrote: > > > Another trick to reduce verbosity of code (and focus on algorithm logic > > rather than boilerplate code) is to maintain a global copy of variables (in > > the global environment) whic

Re: [Rd] Best practices for writing R functions

2011-07-26 Thread Davor Cubranic
On 2011-07-23, at 5:57 AM, Alireza Mahani wrote: > Another trick to reduce verbosity of code (and focus on algorithm logic > rather than boilerplate code) is to maintain a global copy of variables (in > the global environment) which makes them visible to all functions (where > appropriate, of cour

Re: [Rd] CRAN mirror size mushrooming; consider archiving some?

2011-07-26 Thread Jeffrey Ryan
Or one could buy an iPod and host it from there ;-) 160 GB for US$250. Uwe's plan is probably better though... Jeff On Tue, Jul 26, 2011 at 5:08 PM, Hadley Wickham wrote: > >> I'm setting up a new CRAN mirror and filled up the disk space the > >> server allotted me. I asked for more, then fi

Re: [Rd] CRAN mirror size mushrooming; consider archiving some?

2011-07-26 Thread Hadley Wickham
>> I'm setting up a new CRAN mirror and filled up the disk space the >> server allotted me.  I asked for more, then filled that up.  Now the >> system administrators want me to buy an $800 fiber channel card and a >> storage device.  I'm going to do that, but it does make want to >> suggest to you

Re: [Rd] default par

2011-07-26 Thread Greg Snow
For number 1, one option is to use the setHook function with the hook in plot.new. Using this you can create a function that will be called before every new plot is created, your function could then call par with the options that you want, this will set the parameters on all devices. However i

Re: [Rd] R result objects as lists

2011-07-26 Thread Duncan Murdoch
On 26/07/2011 11:26 AM, Thorsten wrote: Hello List, I want to communicate between a minimalistc lisp that has only numbers, symbols (also used as strings) and lists as datatypes, and R. It should be no problem to send command strings from the lisp process to the R childprocess. I know, R is mos

Re: [Rd] plot.function documentation/export?

2011-07-26 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, I see that BDR did this on 2011-06-08 -- I was getting confused by looking at the code of the development version but running the release version. Thanks. Ben On 07/26/2011 02:33 PM, Uwe Ligges wrote: > Now I see the difference: I was us

Re: [Rd] plot.function documentation/export?

2011-07-26 Thread Uwe Ligges
Now I see the difference: I was using R-devel and that worked as you expected. Best, Uwe Ligges On 25.07.2011 19:01, Ben Bolker wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/25/2011 12:55 PM, Uwe Ligges wrote: On 25.07.2011 17:45, Ben Bolker wrote: I recently suggested to

Re: [Rd] CRAN mirror size mushrooming; consider archiving some?

2011-07-26 Thread Uwe Ligges
On 25.07.2011 19:47, Paul Johnson wrote: Hi, everybody I'm setting up a new CRAN mirror and filled up the disk space the server allotted me. I asked for more, then filled that up. Now the system administrators want me to buy an $800 fiber channel card and a storage device. I'm going to do t

[Rd] R result objects as lists

2011-07-26 Thread Thorsten
Hello List, I want to communicate between a minimalistc lisp that has only numbers, symbols (also used as strings) and lists as datatypes, and R. It should be no problem to send command strings from the lisp process to the R childprocess. I know, R is mostly implemented in Scheme, and I read re

Re: [Rd] --max-vsize

2011-07-26 Thread Christophe Rhodes
Prof Brian Ripley writes: > Point 1 is as documented: you have exceeded the maximum integer and it > does say that it gives NA. So the only 'odd' is reporting that you > did not read the documentation. I'm sorry; I thought that my message made it clear that I was aware that the NA came from exc

Re: [Rd] --max-vsize

2011-07-26 Thread Prof Brian Ripley
Point 1 is as documented: you have exceeded the maximum integer and it does say that it gives NA. So the only 'odd' is reporting that you did not read the documentation. Point 2 is R not using the correct units for --max-vsize (it used the number of Vcells, as was once documented), and I have