Re: [R] how to get code of a .Internal() function?

From: Roger Bivand <Roger.Bivand_at_nhh.no>
Date: Wed 20 Apr 2005 - 21:05:58 EST


On Wed, 20 Apr 2005, Alban wrote:

> Hello,
>
> I'm working with the function optim() from stats
> package,
> and inside this function is called the function
> .Internal(optim(....)) and I want to get the code of
> this function which would help me to understand why
> the Nelder-Mead algorithm doesn't converge with my
> data.

If you don't want to download the source tarball, consider reading the codebase online, for example:

https://svn.r-project.org/R/trunk/src/main/optim.c

for the C code for optim, and look for nmmin.

> I'm working under Windows XP.
> Could you reply to this adress because I don't belong
> to the mailing list
> Thank you very much!!!
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand@nhh.no

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Apr 20 21:10:49 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:17 EST