Re: [Rd] standard errors for glm

2008-08-28 Thread christophe dutang
Hi, Thanks for answering so quickly. Actually, I do not have the John Fox's book. On this webpage, there is a handout for logistic regression (GLM I'm interested in) (cf. http://socserv.socsci.mcmaster.ca/jfox/Courses/SPIDA/logistic-regression-handout.pdf). The summary function return standard e

[Rd] Second X11 call with invalid display crashes R after first X11 call. (PR#12628)

2008-08-28 Thread b . rowlingson
I get this with R 2.7.2 (and 2.7.1, and 2.6.2, but NOT 2.4.0): > X11() # this one opens up okay > X11("foo") Error: Couldn't find per display information $ and R crashes out back to my shell prompt. If I do X11("foo") as a first command I get a meaningful error and my R prompt back: > X11("

[Rd] Defining environments within functions

2008-08-28 Thread Giles Hooker
How can I define environments within a function so that they are visible to calls to a sub-function? I have defined an objective function, ProfileErr = function(params,...) which I would like to optimize using standard routines (optim, nlminb,) but which contains auxiliary variables

Re: [Rd] (PR#12628) Second X11 call with invalid display crashes R after first X11 call.

2008-08-28 Thread Prof Brian Ripley
This is an Xt error, whereas the first one is an Xlib error. It is easy to trap it. You do realize that this will never work? In the current setup all open X11 devices must be on the same display, and 'display' is ignored if a device is already open. (I don't know if that is documented: I d

Re: [Rd] Defining environments within functions

2008-08-28 Thread Duncan Murdoch
Giles Hooker wrote: How can I define environments within a function so that they are visible to calls to a sub-function? I think you need to give a simplified, runnable example. (Or at least runnable until it hits the scoping problem you've got.) "Sub-function" isn't R terminology, and i

[Rd] "error using packet 1"

2008-08-28 Thread origano
Hello, I'm Giovanni from ROMA.. I can't find a solution for the error: "error using packet 1 the y field is not specified and it has not a default value" (this is my traslation from italian language) The code is: pc<-qqmath(~valori, distribution=function(p) qweibull(p,beta,alpha),

Re: [Rd] "error using packet 1"

2008-08-28 Thread Prof Brian Ripley
Please don't post to multiple lists. You have ignored the posting quide -- this is about some version of lattice (not mentioned), and we do not have a reproducible example (no valori, alpha, beta, for a start). I suggest you study the posting guide and re-post to R-help with all the details y

[Rd] Can the file locking in filehash be reused? (Was: Re: [R] [R-pkgs] filehash 2.0)

2008-08-28 Thread Henrik Bengtsson
Hi (Roger), I saw the announcement of filehash v2.0 and the sentence "This development has lead to better file locking for concurrent access and faster reading and writing of data in general" caught my attention. What kind of file locking do you refer to here? I am looking for a mechanism that ca

[Rd] locale2charset CPU overhead (PR#12633)

2008-08-28 Thread fox_jgigtp
Full_Name: R User Version: 2.7.2 (default binary) OS: Windows XP SP2 Submission from: (NULL) (83.25.29.163) Hello! I have conducted following experiment running simple R script: for (i in 1:1) { a<-0 for (j in 1:1000) a<-c(a,j) } profiled R.dll using Intel Vtune and obtained fo

Re: [Rd] (PR#12628) Second X11 call with invalid display crashes R after first X11 call.

2008-08-28 Thread Bill Dunlap
On Thu, 28 Aug 2008, Prof Brian Ripley wrote: > This is an Xt error, whereas the first one is an Xlib error. It is easy > to trap it. > > You do realize that this will never work? In the current setup all open > X11 devices must be on the same display, and 'display' is ignored if a > device is a