Skip to content
Prev 19087 / 63424 Next

hello World problem

On 1/12/2006 10:46 AM, Romain Francois wrote:
Yes, because that is the return value from .C.  If you don't want to 
print it, you could call

invisible(.C( ... ))

or, more likely, you'd embed this call in a function that produced its 
own return value after calling .C().

By the way, you should call Rprintf() rather than printf(), if you want 
your function to work in environments like Windows Rgui.  See the 
Writing R Extensions manual for the details.

Duncan Murdoch