Thank you very much! Just what I needed.
Too bad I never got to understand what was wrong with my original code...
Thanks again!
George Vega Yon
+56 9 7 647 2552
http://ggvega.cl
2013/11/7 Romain Francois :
> Le 07/11/2013 14:43, Romain Francois a écrit :
>
>> Le 07/11/2013 14:30,
reating a data.frame "D" and increasing its the number of rows of it
- Storing the data.frame "D" in the first element of "L1"
I would be very gratefull if you can do that.
Thanks again!
George Vega Yon
+56 9 7 647 2552
http://ggvega.cl
2013/11/7 Romain Franco
duplicate(VECTOR_ELT(VECTOR_ELT(L0,i),1)));
}
// Unprotecting elements
UNPROTECT(4);
}
Rprintf("Exito\n") ;
UNPROTECT(4);
return L1;
}
Thanks again in advanced.
George Vega Yon
+56 9 7 647 2552
http://ggvega.cl
2013/11/5 George Vega Yon :
> Either way,
Hi! You are right, what I actually use is SET_LENGTH... Is that ok?
El 06/11/2013 14:00, "Radford Neal" escribió:
> "changing its size using SETLENGTH (Rf_lengthgets)"
>
> NO! NO! NO! SETLENGTH does not do the same thing as Rf_lengthgets.
> You should never use SETLENGTH, which is not part of th
I'll use it and share the output with you. Thanks!
George Vega Yon
+56 9 7 647 2552
http://ggvega.cl
2013/11/5 Prof Brian Ripley :
> On 05/11/2013 21:12, Gabriel Becker wrote:
>>
>> George,
>>
>> I don't see the relevance of the stackoverflow post you linked.
Either way, understanding that it may not be the best way of do it, is
there anything wrong in what I'm doing??
George Vega Yon
+56 9 7 647 2552
http://ggvega.cl
2013/11/5 Gabriel Becker :
> George,
>
> My point is you don't need to create them and then grow them.
I imagine it means that a SEXP thinks
> that it has a type other than ones defined in Rinternals. I can't speak to
> how that could have happened from what you posted though.
>
> Sorry I can't be of more help,
> ~G
>
>
>
> On Mon, Nov 4, 2013 at 8:00 PM, Ge
ppens right after I try to use the returned list from my
routine (trying to print it or building a data-frame).
Does anyone have an idea of what am I doing wrong?
Best regards,
PS: I didn't wanted to copy the entire function... but if you need it
I can do it.
George Vega Yon
+56 9 7 647 2552
http://ggvega.cl
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel