This function sources a .r driver file and sends its product to a newly opened 8.5in x 11in screen or a pdf file with 8.5in x 11in dimensions.
run.specific(
source.code = "g_AErr2.r",
outfile = "",
toPDF = FALSE,
toWMF = FALSE,
toJPEG = FALSE,
toPNG = FALSE,
toBMP = FALSE,
toEPS = FALSE,
dpires = 600,
use.log = FALSE
)
This function passes output to a device, be it the computer screen or to file.
This is intended to be a darapladib graphics driver file returning a graphic possibly with complete headers and footers.
If (toPDF== TRUE & outfile == "") a .pdf file with root name taken from outputplan$outfile[which(outputplan$rcode ==source.code)]. Otherwise a .pdf will be created the value of outfile. The pdf is stored in mypath/od defined in setpaths.r.
Logical. If TRUE a .pdf file will be created. If FALSE graphic is sent to screen. (run.specific)
Logical. If TRUE a .wmf file will be created. (run.specific)
Logical. If TRUE a .jpeg file will be created. (run.specific)
Logical. If TRUE a .png file will be created. (run.specific)
Logical. If TRUE a .bmp file will be created. (run.specific)
Logical. If TRUE a .eps file will be created. (run.specific)
passed to devices
logical to write a log file
David wade