Re: [Rd] locking down R

2013-05-20 Thread Barry Rowlingson
On Sun, May 19, 2013 at 7:16 PM, Ben Bolker wrote: > >The workstations have no access to external networks, > nor to external media (thumb drives etc.) [information transfer to the > outside world is via shared drives that can be accessed by > administrators with network access]. > > * I stipulate

[Rd] R CMD check: unknown option ‘--outdir==RCHECK’

2013-05-20 Thread Matthieu Stigler
Dear R devel I am experiencing a problem using R CMD check. I tried to specify the argument outdir, but get every time the error message: Warning: unknown option ‘--outdir==RCHECK’ This happens both on R 2.15.2 Linux, as well as R 3.0.1 Windows, with latest Rtools. Is it just that I am not pa

Re: [Rd] R CMD check: unknown option ‘--outdir==RCHECK’

2013-05-20 Thread Duncan Murdoch
On 13-05-20 6:05 AM, Matthieu Stigler wrote: Dear R devel I am experiencing a problem using R CMD check. I tried to specify the argument outdir, but get every time the error message: Warning: unknown option ‘--outdir==RCHECK’ This happens both on R 2.15.2 Linux, as well as R 3.0.1 Windows,

Re: [Rd] R CMD check: unknown option ‘--outdir==RCHECK’

2013-05-20 Thread Duncan Murdoch
On 13-05-20 6:34 AM, Duncan Murdoch wrote: On 13-05-20 6:05 AM, Matthieu Stigler wrote: Dear R devel I am experiencing a problem using R CMD check. I tried to specify the argument outdir, but get every time the error message: Warning: unknown option ‘--outdir==RCHECK’ This happens both on

Re: [Rd] locking down R

2013-05-20 Thread Ben Bolker
On 13-05-20 04:42 AM, Barry Rowlingson wrote: > On Sun, May 19, 2013 at 7:16 PM, Ben Bolker wrote: >> >> The workstations have no access to external networks, >> nor to external media (thumb drives etc.) [information transfer to the >> outside world is via shared drives that can be accessed by >>

Re: [Rd] locking down R

2013-05-20 Thread Ben Bolker
On 13-05-19 06:08 PM, R. Michael Weylandt wrote: > On Sun, May 19, 2013 at 7:16 PM, Ben Bolker wrote: >> >> Is anyone on this list aware of discussions about locking down/securing R? >> >> My colleagues and I are working with health statistics in an office >> that disallows many useful tools (

[Rd] Accessing element of a vector using a function (as opposed to macro)

2013-05-20 Thread Saptarshi Guha
Hello, I have a double vector, x. I can access the i'th element as REAL(x)[i] Is there a function for this? I know i can write my own, but was seeing if one already exists. I did check Rinternals.h but didn't see one. Cheers Saptarshi [[alternative HTML version deleted]] _

[Rd] Accessing i'th element of a vector without using a macro

2013-05-20 Thread Saptarshi Guha
Hello, I have a double vector, x. I can access the i'th element as REAL(x)[i] Is there a function for this? I know i can write my own, but was seeing if one already exists. I did check Rinternals.h but didn't see one. Cheers Saptarshi __ R-devel@r-pr

Re: [Rd] Accessing i'th element of a vector without using a macro

2013-05-20 Thread Gabriel Becker
Saptarshi, When I need to repeatedly access data from a an R vector in C I typically just create a pointer to the data and just use that. double *xdat = REAL(x); xdat[i]; //repeat as necessary This is also displayed in 5.9.4 of the R extensions manual. Is there a reason this wouldn't work for y

Re: [Rd] Accessing i'th element of a vector without using a macro

2013-05-20 Thread Saptarshi Guha
Exactly, that is what i use. I intend to do the operation using an FFI library(i't s just a proof of concept, and there well might be performance hits) If such a function doesn't exist in libR.so, then i can write one. Regards Saptarshi On Mon, May 20, 2013 at 10:03 AM, Gabriel Becker wrote: >

Re: [Rd] locking down R

2013-05-20 Thread Tim Triche, Jr.
short of running everything in a VM, I'd have to guess you're hosed... I don't understand how an operating system with internals as opaque as Windows (NT/2000/beyond, not just the old DOS-based garbage) could ever be considered secure for intensive computation, but that seems beside the point. Yo

[Rd] Objects created by more than one data call?

2013-05-20 Thread Spencer Graves
Hello, All: If I use LazyData with the Ecdat package on R-Forge, "R CMD check" reports "no visible binding for global variable 'nonEnglishNames'", where 'nonEnglishNames' is a dataset in Ecdat used as the default argument for a function. With LazyData, that NOTE disappears. However,

Re: [Rd] Objects created by more than one data call?

2013-05-20 Thread Prof Brian Ripley
On 21/05/2013 00:12, Spencer Graves wrote: Hello, All: If I use LazyData with the Ecdat package on R-Forge, "R CMD check" reports "no visible binding for global variable 'nonEnglishNames'", where 'nonEnglishNames' is a dataset in Ecdat used as the default argument for a function. With L