Re: [R] Finding optim.R function

2017-06-29 Thread ProfJCNash
The codes were taken from the 2nd edition of my book Compact Numerical Methods for Computers, where they are in Pascal. They were converted by p2c to c, so are pretty opaque and likely difficult to modify. Moreover, they are based on 1970s codes I wrote for the first edition. Why not look at optimr

Re: [R] Finding optim.R function

2017-06-28 Thread Jeff Newmiller
Much of R is implemented using C or Fortran. You are on a wild goose chase. There are contributed packages that you probably ought to investigate before modifying optim, though. https://cran.r-project.org/web/views/Optimization.html -- Sent from my phone. Please excuse my brevity. On June 27,

[R] Finding optim.R function

2017-06-27 Thread Tauras Vilgalys
Hello, could anybody direct me where to find code for optim.R? I was able to find the C code at http://docs.rexamine.com/R-devel/optim_8c.html, but the R version would be easier for me to work with and modify. Thank you! [[alternative HTML version deleted]] __