Re: [Rd] model.response() as a generic function?

2005-10-28 Thread Prof Brian Ripley
There is a considerable difference: model.response is documented to work on a model frame. Why does model.response(model.frame(object))) not work in the generality you need? Please give us some examples of why you are trying to do, and how you would envisage a generic model.response being docu

[Rd] model.response() as a generic function?

2005-10-28 Thread Kosuke Imai
Dear R contributors, Gary King, Olivia Lau (both at Harvard) and I are working on an R package where we are trying to write functions equivalent to model.frame(), model.matrix(), and model.response() for multiple equations models (i.e., models that require the specification of multiple formulae)

Re: [Rd] [R] unvectorized option for outer()

2005-10-28 Thread Gabor Grothendieck
If the default were changed to VECTORIZED=FALSE then it would still be functionally compatible with what we have now so all existing software would continue to run correctly yet would not cause problems for the unwary. Existing software would not have to be changed to add VECTORIZED=TRUE except fo

[Rd] unvectorized option for outer()

2005-10-28 Thread Tony Plate
[following on from a thread on R-help, but my post here seems more appropriate to R-devel] Would a patch to make outer() work with non-vectorized functions be considered? It seems to come up moderately often on the list, which probably indicates that many many people get bitten by the same incor

Re: [Rd] Error in ?strsplit

2005-10-28 Thread Prof Brian Ripley
Thanks, easy to correct. We will explicitly say that a factor 'x' is erroneous. On Fri, 28 Oct 2005, Marc Schwartz (via MN) wrote: > Hi all, > > Came across an error in ?strsplit in the details section: > > Details: > > Arguments 'x' and 'split' will be coerced to character, so you > wi

[Rd] Error in ?strsplit

2005-10-28 Thread Marc Schwartz (via MN)
Hi all, Came across an error in ?strsplit in the details section: Details: Arguments 'x' and 'split' will be coerced to character, so you will see uses with 'split = NULL' to mean 'split = character(0)', including in the examples below. I caught myself trying to use strsplit() o

[Rd] optim possible bug "L-BFGS-B" (PR#8261)

2005-10-28 Thread aimcleod
Full_Name: Ian McLeod Version: 2.10 OS: windows Submission from: (NULL) (129.100.76.136) Subject: Apparent bug in optim with "L-BFGS-B". I found that optim works most of the time but sometimes produced an incorrect answer. In order to document what is happening, I tried to simplify by re-wr