Message-ID: <7210a23a1b6c6.4c20fe90@johnshopkins.edu>
Date: 2010-06-22T22:18:56Z
From: Ravi Varadhan
Subject: constrOptim( ): conflict between help page and code
In-Reply-To: <19488.26410.3990.331503@stat.math.ethz.ch>
Dear R-devel,
I have re-worked the `constrOptim' function extensively to fix some bugs, and also to provide some extended functionality. Please find attached the patch (with comments on the bug fixes and improvements).
I am also attaching a "test" file that shows the difference between the "old" and "new" versions of `constrOptim'.
Best,
Ravi.
____________________________________________________________________
Ravi Varadhan, Ph.D.
Assistant Professor,
Division of Geriatric Medicine and Gerontology
School of Medicine
Johns Hopkins University
Ph. (410) 502-2619
email: rvaradhan at jhmi.edu
----- Original Message -----
From: Martin Maechler <maechler at stat.math.ethz.ch>
Date: Tuesday, June 22, 2010 3:33 am
Subject: Re: [Rd] constrOptim( ): conflict between help page and code
To: Ravi Varadhan <rvaradhan at jhmi.edu>
Cc: maechler at stat.math.ethz.ch
> Dear Ravi,
> What we (R-core) really want with such postings is a "diff" aka "patch"
> against the R-devel (!) sources,
> which you can get from
>
>
>
> You produce a patch with e.g.
>
> diff -ubBw <previousversion>constrOptim.R <myversion>constrOptim.R
>
> send that (possibly as attached file e.g. constrOptim.patch)
> to R-devel
>
> Best regards,
> Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: constrOptim_PATCH_no_comments.txt
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20100622/f86e10af/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: constrOptim_test.txt
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20100622/f86e10af/attachment-0001.txt>