Dear seniors: I am a student in Nanjing Agricultural University of China. I want to use the function "optim" of package stats in my C++ project. I have got the R.dll , R.def and R.lib, but I can't find the function prototypes of "optim" in R.def. How can I do ? Is the Method I call R function in C++ with R.dll feasible ? I hope to get your help ! Thanks for reading my question. Yours sincerely, Bo Huang [[alternative HTML version deleted]]
On 21/10/2014 8:14 AM, ?? wrote:> Dear seniors: > I am a student in Nanjing Agricultural University of China. > > > I want to use the function "optim" of package stats in my C++ project. I have got the R.dll , R.def and R.lib, > > > but I can't find the function prototypes of "optim" in R.def. > > How can I do ? Is the Method I call R function in C++ with R.dll feasible ? I hope to get your help ! Thanks > >See section 6.8, "Optimization", in the Writing R Extensions manual. I believe these functions require all of R, not just the Rmath library documented in the previous section. If you want your C++ project to be in control, it will need to act as a "front-end", documented in Chapter 8. Duncan Murdoch
Maybe Matching Threads
- How can I use R-function in My C++ project ? (using optim)
- deploy ruby on rails application by mongrel
- How to extract sum of particular months in a monthly data series
- Converting daily data series to monthly series
- [cfe-dev] LLVM Social in China - Hangzhou: July 28, 2018