On Mon, Feb 14, 2011 at 12:59:13PM +0530, km wrote:
> Hi all,
>
> Is there a way to save the currently displayed plot to an image format just
> after we view it?
> I think this would be more intuitive as a user if I wish to save it just
> after I visualize the plot.
>
> I am aware that we need t
Thanks!
thats just what I was looking for!
regards,
KM
On Mon, Feb 14, 2011 at 1:16 PM, Joel wrote:
>
> look at
>
> ?savePlot
>
> It will save the current plot you are viewing.
> --
> View this message in context:
> http://r.789695.n4.nabble.com/saving-plots-tp3304540p3304548.html
> Sent from th
look at
?savePlot
It will save the current plot you are viewing.
--
View this message in context:
http://r.789695.n4.nabble.com/saving-plots-tp3304540p3304548.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mail
Hi all,
Is there a way to save the currently displayed plot to an image format just
after we view it?
I think this would be more intuitive as a user if I wish to save it just
after I visualize the plot.
I am aware that we need to do some thing like this
jpeg('somefilename.jpg')
... plot... comma
?postscript
?pdf
On Mon, Aug 10, 2009 at 9:25 AM, Sean MacEachern wrote:
> Appologies if this has been addressed before, but I can't seem to find it in
> the help archives.
>
> I'm looking to do something like the following but it looks like save.plot
> is deprecated.
>
> save.plot(plot(glm1$resid
On Windows versions of R there is savePlot. Don't know if
that exists on Mac too.
On Mon, Aug 10, 2009 at 12:25 PM, Sean MacEachern wrote:
> Appologies if this has been addressed before, but I can't seem to find it in
> the help archives.
>
> I'm looking to do something like the following but it l
Thank you Cedric.
That was a nice straight forward example that works great.
Cheers,
Sean
On 8/10/09 11:45 AM, "Cedrick Johnson" wrote:
> Try this:
>
> png(file="Desktop/hist1.png")
> plot(glm1$residuals,gain,main = "Hist of residuals and gain")
> dev.off()
>
> -c
>
> Sean MacEachern wro
Try this:
png(file="Desktop/hist1.png")
plot(glm1$residuals,gain,main = "Hist of residuals and gain")
dev.off()
-c
Sean MacEachern wrote:
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it look
Appologies if this has been addressed before, but I can't seem to find it in
the help archives.
I'm looking to do something like the following but it looks like save.plot
is deprecated.
save.plot(plot(glm1$residuals,gain,main = "Hist of residuals and
gain"),file="Desktop/hist1.png")
Thanks in a
On Fri, 9 Jan 2009, richard.cot...@hsl.gov.uk wrote:
Is it possible to save plots as byte streams?
You mean bitmap plots? E.g. PDF plots are not even written
sequentially.
For example, if I want the
bytes for a PNG plot, I could use
#Write the plot to a PNG file
png("test.png")
plot(1:10
Is it possible to save plots as byte streams? For example, if I want the
bytes for a PNG plot, I could use
#Write the plot to a PNG file
png("test.png")
plot(1:10)
dev.off()
#Read the bytes back in from the file
plotbytes <- readBin("test.png", "raw", n=2000)
Ideally, I'd like to avoid having
11 matches
Mail list logo