Hi,

as mentioned in my previous posting, I run R on a linux machine. So a
possible function for printing (in linux) could look like this:

copy2lpr<-function(..., PRINTER="lpr") {
  LPR<-pipe(PRINTER,"w")
  capture.output(..., file=LPR)
  close(LPR)
}

This seems to work... An allows the user to choose another destination,
options for printing etc.

Thanks for helping!

Kind regards,
Kimmo

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to