[Rd] on the optim function

2010-08-06 Thread Christophe Dutang
Dear useRs, I have just discovered that the R optim function does not return the number of iterations. I still wonder why line 632-634 of optim C, the iter variable is not returned (for the BFGS method for example) ? Is there any trick to compute the iteration number with function call

Re: [Rd] [R-SIG-Mac] Question about line type in contour() function (R 2.11.1)

2010-08-06 Thread Duncan Murdoch
On 05/08/2010 8:46 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote: On Aug 5, 2010, at 5:20 PM, Duncan Murdoch wrote: On 05/08/2010 7:18 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote: I'm running R 2.11.1 (MacBook Pro and OS X 10.6.4) and am trying to set a line type in the

Re: [Rd] [R-SIG-Mac] Question about line type in contour() function (R 2.11.1)

2010-08-06 Thread Duncan Murdoch
On 06/08/2010 7:52 AM, Duncan Murdoch wrote: On 05/08/2010 8:46 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote: On Aug 5, 2010, at 5:20 PM, Duncan Murdoch wrote: On 05/08/2010 7:18 PM, David B. Thompson, Ph.D., P.E., D.WRE, CFM wrote: I'm running R 2.11.1 (MacBook Pro and OS X 10.6.4)

Re: [Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-06 Thread William Dunlap
-Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Nicholas L Crookston Sent: Friday, August 06, 2010 8:35 AM To: Michael Lachmann Cc: r-devel-boun...@r-project.org; r-devel@r-project.org Subject: Re: [Rd] rbind on

Re: [Rd] iteration count in optim()

2010-08-06 Thread Prof. John C Nash
Date: Fri, 6 Aug 2010 11:14:37 +0200 From: Christophe Dutang duta...@gmail.com To: r-devel@r-project.org Subject: [Rd] on the optim function Message-ID: 7e004a07-03e1-4ded-a506-6c564edb6...@gmail.com Content-Type: text/plain; charset=us-ascii Dear useRs, I have just discovered that the R

Re: [Rd] rbind on data.frame that contains a column that is also a data.frame

2010-08-06 Thread Heinz Tuechler
Also Surv objects are matrices and they share the same problem when rbind-ing data.frames. If contained in a data.frame, Surv objects loose their class after rbind and therefore do not more represent Surv objects afterwards. Using rbind with Surv objects outside of data.frames shows a similar