[R] iostream (was: is R multi-threaded?)

Annie Bibble flyfish72 at fastmail.fm
Wed Nov 26 15:57:37 CET 2003


In the "Writing extensions for R" document, there is a part that reads:

"Using C++ iostreams, as in this example, is best avoided.  There is no 
guarantee that the output will appear in the R console..."

Does R do anything that would potentially cause a stream:: method in a 
dynamically-loaded library to get stuck waiting for a mutex?  Or is this 
just a warning about potential formatting issues?

(on linux)

Thank you!
Annie




More information about the R-help mailing list