Re: [Rd] ftable.formula

2012-01-26 Thread William Dunlap
Put the formula first in the argument list or label the data argument data= and put the formula after it if you want to use the formula method for ftable. > ftable(data=UCBAdmissions, Gender + Admit ~ Dept) Gender MaleFemale Admit Admitted Rejected Admitted Rejecte

Re: [Rd] ftable.formula

2012-01-26 Thread Timothy Bates
At least this is correct :-) ftable(UCBAdmissions, Dept ~ Gender + Admit) But yes: the formula ftable(UCBAdmissions, Gender + Admit ~ Dept) should see "The left and right hand side of formula specify the column and row variables, respectively" # demo of right-hand side bug ftable(UCBAdmissio

[Rd] ftable.formula

2012-01-26 Thread Brett Presnell
I apologize in advance if this is the wrong forum for this report/request, and for the fact that I have not read the code for ftable.formula in any detail. >From reading the documentation for ftable.formula, I expected that the following two calls to ftable would produce the same results: data(U

[Rd] Conflicts between 'parallel' and 'Rprof', and between two parallel R sessions

2012-01-26 Thread Zepu Zhang
Dear list, I observed two problems that I suppose are generic. First, using 'Rprof' to profile a parallel (based on the package 'parallel') code caused Error in unserialize(node$con) : error reading from connection Second, on a multicore desktop, I concurrently opened two terminals and

Re: [Rd] Ignore user interrupts

2012-01-26 Thread Sharpie
Sharpie wrote > > evalWithoutInterrupts <- function(expr, envir = parent.frame()) > { > .Call(do_evalWithoutInterrupts, expr, envir) > } > > > With a C-level implemention: > > SEXPR do_evalWithoutInterrupts(SEXP expr, SEXP envir) > { > SEXP result; > > BEGIN_SUSPEND_INTERRUPTS{ > re

Re: [Rd] [R] x11() graphic device, displaying raster

2012-01-26 Thread Duncan Murdoch
On 12-01-25 10:51 AM, Uwe Ligges wrote: On 25.01.2012 16:44, Johannes Radinger wrote: Hello, I am wondering about the X11() graphic device on Windows. I try to plot a raster image but nothing gets displayed. I found some pages where it is mentioned that x11() not always supports raster render