On 20 Jun 2005 17:41:13 +0200, Peter Dalgaard <[EMAIL PROTECTED]> wrote:
> Joshua Gilbert <[EMAIL PROTECTED]> writes:
>
> > > > As I understand it, Lapack __can__ computer them
> > > > (http://www.netlib.org/lapack/lawn41/node111.html) and R can use
> > > > Lapack. If there is no function already, can I access Lapack from R
> > > > and use those routines directly?
> > >
> > > Yes, you can: for real matrices the requisite routines are already
> > > compiled into R. See DGGES or DGGEV.
> > >
> >
> > help.search('dggev') doesn't return anything. How do I access these
> > routines?
>
> It's not *that* easy! You need to roll your own interface; take a look
> at the implementation in solve.default. You likely also need to
> construct the counterpart to La_dgesv.
Generally it is easier to put the interface code into a package and include
PKG_LIBS = ${LAPACK_LIBS} ${BLAS_LIBS}
in src/Makevars
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html