Hi,
I am using a function which accepts the string from R and prints it.
But when I am calling .C("main","hello");
it is printing any random thing.
My C function is
void main(char *str)
{
Rprintf("%s",str);
}

Can you help how to achieve this using .C interface?

Thanks
Jaimin

	[[alternative HTML version deleted]]

