On Nov 15, 2007 10:51 AM, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> On Nov 15, 2007 9:57 AM, Simon Urbanek <[EMAIL PROTECTED]> wrote:
> >
> > On Nov 14, 2007, at 11:55 PM, Gabor Grothendieck wrote:
> >
> > > inst/NEWS would have the advantage of consistency with R itself
> > > which also has
SEXP x,y,res;
PROTECT(res = allocVector(VECSXP, 2));
SET_VECTOR_ELT(res, 0, x = allocVector(REALSXP, 20));
SET_VECTOR_ELT(res, 1, y = allocVector(INTSXP, 10));
// code with x,y goes here
UNPROTECT(1);
return res;
On Fri, 2007-11-16 at 15:49 -0500, Charles Danko wrote:
> Hello,
>
> Quick questi
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 Nov 10, 2007 1:27 PM, Simon Urbanek <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 10, 2007, at 1:05 PM, Duncan Murdoch wrote:
>
> > On 10/11/2007 1:00 PM, Duncan Temple Lang wrote:
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >>
> >>
> >> Duncan Murdoch wrote:
> >>> Prof Brian Ripley
On Wednesday 14 November 2007, Duncan Murdoch wrote:
> On 11/14/2007 8:49 AM, Adrian Dusa wrote:
> > [...]
> >
> > Is there a method to create links to functions from the base package, for
> > example (which is installed by default in the normal library folder)?
>
> I believe this is normally autom
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, but could not find the answer to this qu
On Fri, 16 Nov 2007, 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, but could not find the
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, but could not find the answer to this question in the "Writing R
Extensions" gu
I'm probably going to get in trouble for this, but ...
What is the best way to get 'important' issues resolved
by R-core? There is a category of 'issues' (I won't call
them bugs or problems, although arguably they are so)
that appear on R-devel and sink without ever receiving an
explicit a
> On Fri, 16 Nov 2007 10:20:36 + (GMT),
> Prof Brian Ripley (PBR) wrote:
> On Thu, 15 Nov 2007, Simon Urbanek wrote:
>>
>> On Nov 15, 2007, at 10:53 AM, Duncan Murdoch wrote:
>>
>>> On 11/15/2007 9:57 AM, Simon Urbanek wrote:
On Nov 14, 2007, at 11:55 PM, Gabor Groth
On Thu, 15 Nov 2007, Simon Urbanek wrote:
>
> On Nov 15, 2007, at 10:53 AM, Duncan Murdoch wrote:
>
>> On 11/15/2007 9:57 AM, Simon Urbanek wrote:
>>> On Nov 14, 2007, at 11:55 PM, Gabor Grothendieck wrote:
inst/NEWS would have the advantage of consistency with R itself
which also has a
11 matches
Mail list logo