Displaying 5 results from an estimated 5 matches for "mypng".
Did you mean:
mypkg
2010 May 31
1
Can not save plot to png file correctly
You can save as png like this too:
library(ggplot2)
data=data.frame(
? X=sample(10,1000,replace=T)
? , Y=letters[1:10])
png("mypng.png")
qplot(X, data=data, geom='histogram') + facet_wrap( ~ Y)
dev.off()
?
Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish & Wildlife Service
California, USA
----- Original Message ----
> From: Peng Yu <pengyu.ut at gmail.com>
> To...
2010 Jul 16
2
Can I set default parameters for the default graphics device?
I'm completely new to R, and I'd like to do something like this:
> x=c(1,2,3)
> plot(x,x)
At this point, R creates a file "Rplots.pdf", since the default device is
PDF and the default filename is "Rplots.pdf". I know I can set the default
device like this:
> options(device="png")
But is there a way to set the default device's
2009 Feb 23
1
Build Error on Solaris
...FC="f95 -xarch=v9"
FCFLAGS="-xO5 -xlibmil -dalign"
LIBnn="lib"
./configure --prefix=/where/R/installed--enable-R-shlib --with-x --with-readline=no
it throws below error message
cc -xarch=v9 -I/R/src/R-2.8.1/include -I/myiconv/include -I/mypng/SunOS/include -I/myjpeg/SunOS/include -I/myzlib/SunOS/include -Wno-long-long -KPIC -xO5 -xlibmil -dalign -c R_systat.c -o R_systat.o
cc: illegal option -Wno-long-long
*** Error code 1
make: Fatal error: Command failed for target `R_systat.o'
Current working directory /tmp/R.INSTALL.293-022...
2010 Mar 13
4
Creating images without X11
Dear Colleagues,
We are attempting to create trees using R with our Ruby on Rails
application. However, we are running into a problem involving the
creation of the graphic. We would like them to be in either jpg or png
format so that users can save, but due to a lack of control over our
sever we are unable to start X11 server. Is there a way to create
these images without using X11 server?
2007 Jul 31
2
Q: obtaining non-transparent background in png
I am not understanding something about generating PNG plots.
I have tried several ways to obtain something other than a transparent
background, but nothing I've done seems to change the background.
For example:
dev.print(png, width=800, height=600, bg='red', filename='example.png')
which I thought would give a red background, simply gives the same
transparent background I