Re: [Rd] protect/unprotect howto in C code

2006-05-17 Thread Michael Dondrup
On Wednesday 17 May 2006 16:55 Thomas Lumley wrote: > On Wed, 17 May 2006, Michael Dondrup wrote: > > Hi, > > > > Im currently trying to debug a 'error in unprotect: stack imbalance' > > problem and I am curious about two basic questions on the use o

[Rd] protect/unprotect howto in C code

2006-05-17 Thread Michael Dondrup
Hi, Im currently trying to debug a 'error in unprotect: stack imbalance' problem and I am curious about two basic questions on the use of PROTECT and UNPROTECT, which I could not figure out: - which objects have to be protected, namely, if the code is something like: SEXP fun, e; /* get the ex

Re: [Rd] R and sun gridengine

2006-03-30 Thread Michael Dondrup
Michael Dondrup wrote: > Kim Carter wrote: > >>Hi >> >>I am looking for assistance with setting up R under Sun grid engine 6 >>(6.0-update7). I would like to set up transparent interactive access >>to R using either a qlogin or qrsh solution. While it basi

Re: [Rd] Operator masks in R, restrict set of applicable functions

2006-03-27 Thread Michael Dondrup
Thank you again Michael Prof Brian Ripley wrote: > On Mon, 27 Mar 2006, Michael Dondrup wrote: > > >>Hi, >>is there a way to restrict the set of admissible functions for an eval() >>statement to a possibly 'safe' set, excluding all potentially dangero

[Rd] Operator masks in R, restrict set of applicable functions

2006-03-27 Thread Michael Dondrup
vil things > eval(expr) I know I could do something like > system <- function(...) stop ('This is not allowed!') but it's rather likely to miss one of the 'bad' functions. Any ideas would be appreciated. Regards Michael Dondrup __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R and sun gridengine

2006-03-24 Thread Michael Dondrup
Kim Carter wrote: > Hi > > I am looking for assistance with setting up R under Sun grid engine 6 > (6.0-update7). I would like to set up transparent interactive access > to R using either a qlogin or qrsh solution. While it basically works > using either method, I reach the same sticking point. T