[Rd] Is R threadsafe?

2006-03-09 Thread Kannan Ramaswamy
Hi, I am planning to embed R in a Windows application. I would like to know if the R.dll dynamic library is threadsafe? Is it possible to have more than one thread calling R functions concurrently? Note that I am using Windows XP SP2 with R 2.2.1 on a dual processor SMP machine. The last inform

Re: [Rd] Expanding partial names

2006-03-09 Thread Charles Dupont
Duncan Murdoch wrote: > Okay, here's my effort based on Deepayan's and Charles' ideas. The > newArgs function is not what I'd call transparent, but I like the way > the wrapper looks. > > > newArgs <- function(..., Params) { > + f <- function(...) list(...) > + formals(f) <- c(Params, form

Re: [Rd] Wishlist: Creating horizontal PDFs

2006-03-09 Thread Prof Brian Ripley
On Wed, 8 Mar 2006, Kevin Wright wrote: > It would be nice to easily create horizontal PDF files for standard paper > sizes. For example: > pdf(file, paper="default", horizontal=TRUE) > > Currently (R 2.2.1) there is no 'horizontal' argument for the PDF driver. > It looks like the only way to cre