I think it a problem that is local to you.

In particular the optim.c code appears available.
<https://svn.r-project.org/R/trunk/src/main/optim.c>

Perhaps you should determine how to force your browser to refresh a page.

--
David Winsemius

On Dec 7, 2008, at 1:13 PM, megh wrote:


https://svn.r-project.org/R/trunk/src/main is not opening for last few days. Is there any problem with this or the materials were moved to different
address?


Duncan Murdoch-2 wrote:

On 11/19/2008 10:13 AM, megh wrote:
In the optim() function there is a syntax :

res <- .Internal(optim(par, fn1, gr1, method, con, lower,

Here how can I see the inside-codes of ".Internal" function ?


You need the R source code.  Then find src/main/names.c, and look up
"optim".  It will tell you the C name of the function being called.

In this case, for the R-devel version, you'll find this on names.c line
853:

{"optim",     do_optim,       0,      11,     7,      {PP_FUNCALL, PREC_FN,   
0}},

So you need to find the do_optim function.  It's in src/main/optim.c.

You can browse these source files on

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

Duncan Murdoch

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



--
View this message in context: 
http://www.nabble.com/How-to-look-within-.Internal---tp20581897p20883880.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to