On May 8, 2013, at 2:24 PM, Matwey V. Kornilov wrote: > Hi, > > I am writing C code for R, but in middle of the routine I want to call > solve(A,b) function. What is the right way to solve linear set inside C code? > Is it ok to just invoke La_solve()? >
There is no such thing as La_solve(). You can use dgesv from LAPACK, though. However, the subject poses a different question -- you can call R function from C code by using eval(). Cheers, Simon ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel