Displaying 1 result from an estimated 1 matches for "grdir".
Did you mean:
rdir
2000 Dec 15
1
Bug in bitmap producing pdf???
...s graphs from R, sometmes .pdf.
To rationalize this I wrote the following function to let me
easily choos what I want wihtou changing the code in my
R-programs too much (here embedded in a small test program):
plt <-
function( file,
type = "pdf",
dir = options()$grdir,
height = 7,
width = 7,
paper = "special",
... )
{
if ( type=="pdf" )
{
print ( paste( dir, file, ".pdf", sep="" ) ) #just cheking...
bitmap( file = paste( dir, file, ".pdf", sep="" ),
ty...