From rvaradhan at jhmi.edu  Wed Jun 23 00:18:56 2010
From: rvaradhan at jhmi.edu (Ravi Varadhan)
Date: Tue, 22 Jun 2010 18:18:56 -0400
Subject: [Rd] constrOptim( ): conflict between help page and code
In-Reply-To: <19488.26410.3990.331503@stat.math.ethz.ch>
References: <OF083E2493.C6D8101F-ON85257745.000F613F-85257745.000F6140@american.edu>
	<4C19DECD.1000706@gmail.com> <001101cb0e24$54e50da0$feaf28e0$@edu>
	<005f01cb0e41$b9463400$2bd29c00$@edu>
	<19488.26410.3990.331503@stat.math.ethz.ch>
Message-ID: <7210a23a1b6c6.4c20fe90@johnshopkins.edu>

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>


[Rd] constrOptim( ): conflict between help page and code
Ravi Varadhan