[R] Combine R2HTML and Rcmd BATCH?

Dieter Vanderelst d.vanderelst at tue.nl
Tue Jul 17 13:05:53 CEST 2007


Hi All,

I have an R script that spawns output in the form of an HTML page. This 
is done by the R2HTML package.

Now I want to run the same script using Rcmd BATCH. However, it seems 
that it is not possible to use R2HTML in this case.

My script ends with this error message:
#########################
Error in dev.print(png, file = AbsGraphFileName, width = Width, height = 
Height,  :

can only print from screen device

Execution halted
#########################

I can not find how to work around this problem in the R2HTML manual or 
the help archives.

Has anybody done a similar thing before? Any suggestions?

Greetings,
Dieter

-- 
Dieter Vanderelst
d.vanderelst at tue.nl
Department of Industrial Design
Designed Intelligence



More information about the R-help mailing list