Re: [Rd] R in sandbox/jail (long question)

2010-05-18 Thread Duncan Murdoch
On 18/05/2010 10:38 PM, Assaf Gordon wrote: Hello, I have a setup similar to Rweb ( http://www.math.montana.edu/Rweb/ ): I get R scripts from users and need to execute them in in a safe manner (they are executed automatically, without human inspection). I would like to limit the user's script

[Rd] pretty.Date(): new "halfmonth" time step

2010-05-18 Thread Felix Andrews
Hi R-devel / R-core In the new pretty() methods for Date and POSIXct https://svn.r-project.org/R/trunk/src/library/grDevices/R/prettyDate.R there is currently a "pretty" time step listed as "15 DSTdays"... but this actually doesn't line up well with months. Much better to implement directly what

[Rd] R in sandbox/jail (long question)

2010-05-18 Thread Assaf Gordon
Hello, I have a setup similar to Rweb ( http://www.math.montana.edu/Rweb/ ): I get R scripts from users and need to execute them in in a safe manner (they are executed automatically, without human inspection). I would like to limit the user's script to reading from STDIN and writing to STDOUT

Re: [Rd] [R] avoiding reinstall already installed *package*

2010-05-18 Thread Martin Maechler
On Tue, May 18, 2010 at 22:38, William Dunlap wrote: > > -Original Message- > > From: r-help-boun...@r-project.org > > [mailto:r-help-boun...@r-project.org] On Behalf Of Martin Maechler > > Sent: Tuesday, May 18, 2010 1:25 PM > > To: milton ruser > > Cc: r-h...@r-project.org > > Subject:

Re: [Rd] difficulties with setMethod("[" and ...

2010-05-18 Thread Jim Bullard
On Tue, 18 May 2010 10:22:03 +0200, Martin Maechler wrote: >> Tony Plate >> on Mon, 17 May 2010 20:51:12 -0600 writes: > > > Jim, yes, I have dealt with that particular challenge that list(...) > > throws an error for a call like f(x,,,) where the empty args match > > to

Re: [Rd] BIC() in "stats" {was [R-sig-ME] how to extract the BIC value}

2010-05-18 Thread Martin Maechler
Adding to my own statements (below) : > "MM" == Martin Maechler > on Tue, 18 May 2010 13:05:27 +0200 writes: > "MM" == Martin Maechler > on Tue, 18 May 2010 12:37:21 +0200 writes: > "GaGr" == Gabor Grothendieck > on Mon, 17 May 2010 09:45:00 -0400 writes:

Re: [Rd] 00LOCK and nfs

2010-05-18 Thread Kasper Daniel Hansen
This is a follow-up to an old thread with kind of solution to the 00LOCK problem on NFS. I have made a patch to install.packages to accept a new argument locktype = c("lock", "no-lock", "pkglock") which is passed to R CMD INSTALL. This addition might have independent interest aside from the NFS

[Rd] BIC() in "stats" {was [R-sig-ME] how to extract the BIC value}

2010-05-18 Thread Martin Maechler
> "MM" == Martin Maechler > on Tue, 18 May 2010 12:37:21 +0200 writes: > "GaGr" == Gabor Grothendieck > on Mon, 17 May 2010 09:45:00 -0400 writes: GaGr> BIC seems like something that would logically go into stats in the GaGr> core of R, as AIC is already, and the

Re: [Rd] difficulties with setMethod("[" and ...

2010-05-18 Thread Martin Maechler
> Tony Plate > on Mon, 17 May 2010 20:51:12 -0600 writes: > Jim, yes, I have dealt with that particular challenge that list(...) > throws an error for a call like f(x,,,) where the empty args match to a > ... formal argument. Here's some fragments of code that I used t