Re: [Rd] inline C/C++ in R: question and suggestion

2007-05-23 Thread Oleg Sklyar
> I think the only way this would affect your package is that you need to > be able to handle embedded newlines in strings, but I can't see why you > wouldn't be able to do that automatically. That would be no problem if there were such a thing. As for now, I think the Deepayan's solution for multi

Re: [Rd] inline C/C++ in R: question and suggestion

2007-05-23 Thread Oleg Sklyar
> That is actually a (rare) case that can be completely vectorized: Thanks for the vectorization solution. > I really like the idea! Except for the fact that it's forcing the use of > C++ which adds unnecessary overhead :P I can make it optional. I was just thinking that C++ would be more general

Re: [Rd] inline C/C++ in R: question and suggestion

2007-05-22 Thread Vladimir Dergachev
On Tuesday 22 May 2007 3:52 pm, Duncan Murdoch wrote: > On 5/22/2007 1:59 PM, Oleg Sklyar wrote: > > One suggestion that probably doesn't affect your package: It would be > even nicer if R incorporated something that Duncan Temple Lang suggested > last year, namely a new kind of quoting that didn'

Re: [Rd] inline C/C++ in R: question and suggestion

2007-05-22 Thread Duncan Murdoch
On 5/22/2007 1:59 PM, Oleg Sklyar wrote: > This is a question and maybe an announcement. > > We've been discussing in the group that it would be nice to have a > mechanism for something like "inline" C/C++ function calls in R. I do > not want to reinvent the wheel, therefore, if something like tha

Re: [Rd] inline C/C++ in R: question and suggestion

2007-05-22 Thread Simon Urbanek
Oleg, On May 22, 2007, at 1:59 PM, Oleg Sklyar wrote: > We've been discussing in the group that it would be nice to have a > mechanism for something like "inline" C/C++ function calls in R. I > do not want to reinvent the wheel, therefore, if something like > that already exists, please giv

[Rd] inline C/C++ in R: question and suggestion

2007-05-22 Thread Oleg Sklyar
This is a question and maybe an announcement. We've been discussing in the group that it would be nice to have a mechanism for something like "inline" C/C++ function calls in R. I do not want to reinvent the wheel, therefore, if something like that already exists, please give me a hint -- I could