[R] dev.print() in R for windows

Martin Maechler maechler at stat.math.ethz.ch
Thu Oct 18 10:32:38 CEST 2001


Both help(dev.print) and the "R for windows FAQ"
suggest that dev.print() with no arguments
should work also on Windows 
[Our students have to use Windows, I don't fortunately ...]


 > dev.print()
 Error in PS(file, old$paper, old$family, old$encoding, old$bg, old$fg,  : 
	 unable to start device PostScript
 In addition: Warning message: 
 printing via file = "" is not implemented in this version 
 >

One explanation of the problem is that  
    getOption("printcmd")
is NULL and frankly I wouldn't know what to put there (Win NT 4, or Win 2k).

Of course all this not a big problem, since at least in RGui, there's the
print button that probably everyone uses.
OTOH, it would be nice if  dev.print()  was portable and would work on all
platforms (as advertized).

Confirmations, suggestions, opinions ?

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list