On Fri, Nov 16, 2007 at 03:49:09PM -0500, Charles Danko wrote:
> Hello,
>
> Quick question.
>
> I have written a C function - I would like to make it return two vectors to
> the R environment - one STRSXP vector, and one INTSXP vector. Is this
> possible/ easy to do using the API?
>
> I looked,
On Thu, Nov 15, 2007 at 11:53:53PM +, Oleg Sklyar wrote:
> You assume that when you call any of those functions its arguments are
> protected (as it is the case when the function is called from within R).
> However, I do not see why they would be if you do not do it explicitly.
> Therefore, it
Hey All,
I was wondering if I could solicit a little advice. I have been
experiencing some quirkiness in my C code through .Call.
Unfortunately, my program is rather large, so I'm trying to create a
brief example. Yet before I do, I thought maybe a conceptual question
would be sufficient.
Basic
I'm sorry to bother this list with such trivial questions, but I'm
trying to take Prof. Ripley's advice in porting some Lapack wrappers
into my own code, because they are not public. I'm specifically
choosing programs from R-2.5.0/src/modules/lapack/Lapack.c.
I can't seem to understand the cont
Prof. Ripley,
I had a feeling I was going a little too deep into the R source code
in order to pull out these functions. I particularly like these La_*
functions calling the LAPACK routines, because they have so much of
the error checking already built-in. I can just copy the code over,
and hope
On Thu, Jun 14, 2007 at 11:27:44PM +0100, Hin-Tak Leung wrote:
> Try this? (this is on 2.5.0, I don't use 2.4.x anymore)
>
> #include
>
I tried this, but I still get the warning of implicit declaration of
function. It does compile though.
> Have you actually tried grep dgesv $R_HOME/include/*
Hey Everyone,
I'm running R 2.4.0 on Debian etch 4.0, and I'm trying to call some
LAPACK functions from the C code in my package. Actually, to be
honest I'm not really having trouble using commands such as La_dgesv
from within my C code, but I do get warning when compiling the package
saying:
**