[R] sink() & windows printing

Simpson, William William.Simpson at drdc-rddc.gc.ca
Mon Jan 13 19:00:03 CET 2003

I used sink() a lot under linux with no problems.

Under windows 2000 & using R 1.5.1, I do the following:
- use sink() to direct ouput to a file
- use sink() again to direct output to screen
- print the file (to a network printer)

PROBLEM: the file stays spooled infinitely at the printer. Sometimes the
spooling gets translated into a printer error. The only way to get any
printing working again is to shutdown and restart (not even a reboot helps!)

Am I misusing sink() under windows?

I checked the R bugs archive and did not see this one listed.

Thanks for any help

Bill Simpson

More information about the R-help mailing list