Re: [Rd] Nested SEXP functions

2007-11-15 Thread statmobile
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

Re: [Rd] Nested SEXP functions

2007-11-15 Thread Oleg Sklyar
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 is very likely that a result of one function, used in turn in a call

[Rd] Nested SEXP functions

2007-11-15 Thread statmobile
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