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

From: Jason Miller <millerj_at_truman.edu>
Date: Sat 26 Mar 2005 - 00:26:26 EST

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@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@truman.edu
http://pyrite.truman.edu/~millerj/
660.785.7430



R-help@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 Received on Sat Mar 26 00:35:13 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:56 EST