[R] OS X, exporting graphics, postscript()

Jason Miller millerj at truman.edu
Fri Mar 25 14:26:26 CET 2005


R users,

OK, so I feel dumb.  I didn't understand that dev.off() turns off the 
process of writing a file, and that I can't open a file until dev.off() 
is called to complete the file.

Thanks to everyone who responded to my call for help.

I'm really liking what I'm learning about R.  I hope to learn enough to 
teach my colleagues and students about it.

Jason

On Mar 24, 2005, at 5:07 PM, Don MacQueen wrote:

> Since it was only yesterday, perhaps you can think over what you did 
> between then and now that might have affected things.
>
> R is very stable; it is very unlikely that R has changed. Hence, 
> either something outside R changed that affects R's postscript output 
> -- also unlikely -- or you are doing something different in what you 
> are telling R to do. Since you didn't provide examples that fail, we 
> can only guess...
>
> Are you giving exactly the same commands today on exactly the same 
> data?
> Are you remembering to use dev.off() after the graphics commands are 
> complete?
>
> -Don
>
> At 2:48 PM -0600 3/24/05, Jason Miller wrote:
>> Hello everyone,
>>
>> I am new to R, using version 2.0.1 on a Macintosh running OS X 10.3. 
>> I am learning how to export graphics to postscript format using the 
>> postscript() function, but R is only writing empty files.
>>
>> Yesterday, postscript() was working for me.  Today, I don't know 
>> what's wrong.  Can somebody suggest some things that might fix this 
>> problem?
>>
>> Thanks in advance for you help.
>>
>> Jason
>>
>>
>> ================================================================
>> Jason E. Miller, Ph.D.
>> Associate Professor of Mathematics
>> Truman State University
>> Kirksville, MO
>> http://pyrite.truman.edu/~millerj/
>> 660.785.7430
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide! 
>> http://www.R-project.org/posting-guide.html
>
>
> -- 
> --------------------------------------
> Don MacQueen
> Environmental Protection Department
> Lawrence Livermore National Laboratory
> Livermore, CA, USA
> --------------------------------------
>
>
Jason E. Miller, Ph.D.
Associate Professor
Division of Mathematics & Computer Science
Truman State University
Kirksville, MO
millerj at truman.edu
http://pyrite.truman.edu/~millerj/
660.785.7430




More information about the R-help mailing list