Displaying 20 results from an estimated 4000 matches similar to: "Saving Graphics"
2005 Sep 28
1
dumping plots
i've heard that you can dump a plot file, and in doing so set a pixel parameter (cbx?). is anyone familar with this procedure?
i would appreciate any insight.
thanks,
kevin
2006 Sep 12
4
variables in object names
Is there any way to put an argument into an object name. For example,
say I have 5 objects, model1, model2, model3, model4 and model5.
I would like to make a vector of the r.squares from each model by code
such as this:
rsq <- summary(model1)$r.squared
for(i in 2:5){
rsq <- c(rsq, summary(model%i%)$r.squared)
}
So I assign the first value to rsq then cycle through models 2 through
2006 Oct 18
2
Nested source() errors
Does anyone know of any issues with nesting source() calls within
multiple scripts? I have at least one script which always finds errors
when I source it but runs fine when run on its own. It containd source()
calls to other scripts and it seems to fail during the first nested
source() command.
Ken
Kenneth B. Pierce Jr.
Research Ecologist
Landscape Ecology, Modeling, Mapping and Analysis
2007 Sep 07
2
Running a PERL script from R
Is there a way to run a simple perl script from R?
Kenneth B. Pierce Jr.
Research Ecologist
Landscape Ecology, Modeling, Mapping and Analysis Team
PNW Research Station - USDA-FS
3200 SW Jefferson Way, Corvallis, OR 97331
ken.pierce@oregonstate.edu
541 750-7393
http://www.fsl.orst.edu/lemma/gnnfire
http://www.fsl.orst.edu/R_users/index.php
[[alternative HTML version deleted]]
2006 Sep 20
1
problem coercing truncated character vector to levels
Dear R wizes,
I have a data.frame of species abundances with column names consisting
of 4 letter codes then an underscore and a number like this:
abco_1, abco_2, abco_3, psm_1, psme_2, psme_3, etc.
I would like to get an identifier for all the abco, and psme and other
species etc.
I used
spec.fact<-substring(names(spec.count),1,4)
To make a vector of the first 4 letters of
2007 May 30
3
sizing and saving graphics in R
Dear R wizards,
I am seeking advice on graphics in R. Specifically, how to manipulate
the size and save a plot I have produced using the LDheatmap library.
I confess I am relatively new to graphics in R, but I would greatly
appreciate any suggestions you may have.
LDheatmap produces a coloured triangular matrix of pairwise
associations between 600 genetic markers in my dataset.
2008 Aug 26
3
savePlot() does not save plot with format set
R-help,
Whenever I try to save a plot with "savePlot"
the file is not stored in my hard disk with the selected
format. Several formats are set and none of them
works. I just get the file name with missing extension
and it can't be open with programs like Paint and Microsoft Photo
Editor
Th only one able to open it is "Windows Picture and Fax Viewer"
plot(rnorm(10))
2007 Aug 20
5
byte-range requests
Hello everyone,
I did some initial tests and it seems that mongrel does not support
byte-range requests. Is this correct?
The reason I ask is that the iPhone requires byte-range requests to
work in order to stream audio or video from a web server.
Thanks in advance,
alan
2009 Feb 25
4
Strange behavior of savePlot
Hi all,
I am using savePlot in a loop for saving several graph but I get some
graph in 553x552, some other in 1920x1119. How comes ?
My data are almost all the same (same label, same xlim / ylim, almost
same data. Only the color changes). I save them in bmp.
Thanks for your help.
Christophe
2009 Mar 01
1
probleme with savePlot (to eps)
Hi the list,
I used savePlot to export some eps graph but it seems that the graph
file hold a bug. I include the graph.eps in a LaTeX file. Running latex
is ok. But the dvi file contain some mistake, the graph overprint on
some text and hide it. Then, when I try to convert it to another format,
I get :
Ignoring remaining special text following unkown PS operator: "SDict"
Remainder
2005 May 11
3
Graphics file to disk
Dear All,
I have some code that works in S-Plus for writing saving a graphics file to disk :-
graphsheet(type = "auto", format = "WMF", file = "G:\\north0l.wmf",
pages = "auto", print.background = F,
orientation="landscape",
color.style="color")
plot(x,y)
dev.off()
This works fine in S-Plus.
I have tried playing
2005 Sep 15
5
Copying from graphics window in OS X
I'm running R from an Xterm window is OSX-Tiger. Graphical windows
appear as they should, but I'm having trouble copying from them--using
cmd+c or the Copy option in the Edit menu won't place the graph in the
clipboard (when I paste into a running OS X app, I get whatever was the
last copied thing from a non-x11 window). Any ideas on how to copy from
a xterm-launched graphical
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main="test")
image = read.X("myimage.jpg")
add.image(image, x.left=2, y.bottom=4,
2008 Jun 03
5
savePlot() no longer automatically adds an extension to the filename.
Plaintive squeak: Why the change?
Some OS's and desktops use the extension, so forgetting it causes
trouble. The new default filename keeps a filetype (as before) but the
user now has to type a filetype twice (once as the type, once as
extension) to get the same effect fo rtheir own filenames. And the
extension isn't then checked for consistency with valid file types, so
it can be
1999 Dec 11
1
Graphics ?
Hi,
In the Windows version of R 0.65.1 I'd like to copy the results of a plot to
the clipboard either as a bitmap or as a metafile. The same thing in fact as
does the menu "Copy to the clipboard" provides but from the command line. I
intend to use the DCOM server version of R to do plots, among other things
and copy the results to the clipboard and show these on a picture box in my
2013 Jul 09
1
[off topic] [research] Interviews for contributors over 50 for Oregon State University research
Hello,
Researchers at Oregon State University are striving to conduct
research to learn more about the free/open source software community
landscape as it relates to older adults. We have identified you as a
leader for a free/open source software community. If you?re
interested, we will either do an in-person interview (if you are local
to the Corvallis or Portland area), or an interview over the
2007 Apr 17
5
Session problem mongrel behind Apache proxy
Hi,
I''ve configured mongrel_clusters behind an Apache 2.2 proxy using
named virtual host. Session are saved as ActiveRecordSession. But the
cookies created on client side doesn''t correspond to session data
saved in database (keys are different). The RoR app react just like
it doesn''t have a session at all.
If I don''t use Apache as a proxy/load balancer
2010 Oct 07
2
How do I set the dispersion parameter in poisson glm?
Dear R users,
I would like to fit a glm with Poisson distribution and log link with a known dispersion parameter. I do not want to estimate the dispersion parameter. I know what it is, so I simply want to fix it at a constant for this and other models to follow. My simple, no covariate model is:
Tall.glm<-glm(Seedling~1,
family=poisson,
offset(log(area)),
data=tallPSME.df)
I want to
2009 Apr 15
1
savePlot error when type = "eps" or "wmf"
Hello,
When I use savePlot(filename="xy",type="eps") or
savePlot(filename="xy",type="wmf") , I get the following error:
Error in grid.Call("L_textBounds", as.graphicsAnnot(x$label), x$x, x$y, :
Polygon edge not found (zero-width or zero-height?)
This doesn't occur when I change the type to "jpeg" or "bmp". Can
2000 Jul 18
5
X11 & dev2bitmap
Hi,
I am trying to put some graphics I have generated from R on a
webpage using dev2bitmap to create a bitmap, .BMP, file.
When I look at my notes from 2 or 3 months ago I was successfully able to
put the ACTIVE device plot result into a bitmap file using a command such
as:
dev2bitmap("InsectSpray.BMP")
Job done!
Now when I try the same command, I get the following:
>