Hello,

I am interfacing R and C code using the function .Call.
Is there any way to print to file form C?
I.e. is there something analogous to:

  fopen(file1, "w");
  fprintf(file1, "%f", ... );
  fclose(file1);

which would not cause an error in the excution?

The Writing R Extension manual does not seem
to provide a lot of insights other than a vague reference
to an Rprintf() function.

Thanks for your help,

Donatello Telesca
UW Statistics

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to