Thank you.
On Sep 6, 2011 4:45 PM, "Sarah Goslee" <sarah.goslee@gmail.com> wrote:
> Eran,
>
>> On Tue, Sep 6, 2011 at 8:53 AM, Eran Eidinger <eran@taykey.com> wrote:
>>>
>>> Thank you Sarah and David,
>>> I only used a simple plot, and remembered to dev.off().
>>> attached is the session:
>>>
>>> > plot(c(1,2,3),c(3,2,4))
>>> > jpeg("test.jpg")
>>> > dev.off()
>
> So you plotted something to your default device, THEN opened a JPG
> device, and closed with without plotting anything to it.
>
> How about instead you try:
>
> jpeg("test.jpg")
> plot(c(1,2,3),c(3,2,4))
> dev.off()
>
> Open the device, plot something close it. Reading ?Devices might also be
of use.
>
> Sarah
>
>
> --
> Sarah Goslee
> http://www.functionaldiversity.org

	[[alternative HTML version deleted]]

