similar to: output a sequence of plots

Displaying 20 results from an estimated 700 matches similar to: "output a sequence of plots"

2001 Nov 02
3
Testing for the existence of a file.
Is there any way to do this (test for the existence of a file) in R? In Splus (3.4) I can do unix(paste("test -r", fnm), output = F) where ``fnm'' is a character string giving the pathname of the file. This returns 0 if the file exists and 256 if it doesn't. I thought in R to do something like system(paste("test -r", fnm), intern =T) but this
2015 Nov 05
1
Improving Support for Xapian::DB_RETRY_LOCK in Windows(#65)
Hi Olly, I tried to reach you through Github notifications(email) about this issue but with no reply, so I thought we could discuss this issue here, I saw three critical problems in the last patch. 1. Adding code to wrong '#if', i added it to else branch 2. Figuring out 'fd', holding the lock and 'fnm' as in windows 'fnm' differs Help me out here, and Mention
2011 Mar 23
3
Sweave: multiple graphic formats, e.g. win.metafile
Dear R devel, being constrained to a windows environment at work and having colleagues being accustomed to the Microsoft Office Suite, I was looking for a way to have the RweaveLatex driver for Sweave automatically generating 'win.metafile's in addition to the pdf graphics. Without this functionalilty, the generation of emf-graphics is quite laborious, I think: <<>>= plotit
2010 Oct 29
2
plot pdf
I want to plot the unstadardized version of a normal plot.  Can you explain why that is not working? Dev.set(1) xcrit=-1.645 cord.x <- c(-3,seq(-3,xcrit,0.01),xcrit) cord.y <- c(0,dnorm(seq(-3,xcrit,0.01)),0)            # what does final 0 do here? curve(dnorm(x,0,1),xlim=c(-3,3),main='Normal PDF') polygon(cord.x,cord.y,col='orange')
2003 Jul 03
2
Bug in plotting groupedData-objects
Dear Experts, May be the problem is still solved, however I tried to find the answer in the archives: I use: > R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 7.1 year 2003 month 06 day 16
2009 Mar 09
1
Adding text to both grid and base graphs
Dear all, I'm stuck with the following problem: I generate graphs using both the grid system (with lattice) and the base system. I'd like to be able to identify these graphs later on with a bit of identifying text (e.g. a date and some comments). Adding text to these graphs cannot be done using a common system if you want to save them as emf files. I now use: mtext("labelling
2016 Apr 25
2
ylim in barplot()
Dear useRs, I'm having troubles with using ylim in barplot(): even though I reduce the y-scale using ylim, the bars still extend down to 0into the x-labels. The sample data is below, and here is the code. #This works fine but I would like to plot only from 50 to 70: barplot(t(mydata), beside=TRUE, col=c("orange", "green", "yellow", "purple"),
2009 Sep 08
1
Changing font to times for EMF graphics
Hi, sorry for the simple question. I am usually able to change the font for PDF graphics with pdf.options(family="Times") However, I have found no way yet to get an emf file with a times font. I also tried a detour by using pstoedit to convert a pdf with the desired font to an emf but even there the font does not appear as times. Is there a way to get a times font in an emf file or is
1999 Jul 23
2
Getting R graphics into MS Word (more)
Further to my earlier question. Thank you to: John Maindonald, Ramon Diaz-Uriarte, Brian Ripley, Alvaro Novo, Simon Bond and David Scott for your helpful replies. I have looked at the problem in some more detail. I am using Rgui.exe Version 0.64.2 (July 3, 1999) running under Windows NT To demonstrate the problem, I run the program: > win.graph(width=5, height=3) > data(women) >
2011 Feb 04
1
Can an xyplot() plus legend be saved as an Enhanced Windows Metafile (EMF)?
I am trying to save some graphical output including a legend in the Windows Enhanced Metafile (EMF) format. This fails when xyplot() is used rather than plot(). Here is a simple example: require(lattice) a <- c(1:10) b <- c(2,4,5,2,3,5,7,8,9,5) # Output can be saved (or copied to the clipboard) as a Windows EMF image file # from the Graphics Device output window. plot(a , b)
2016 Apr 25
0
ylim in barplot()
If you are using a Windows system, you can Export the plot from RStudio and save it as a metafile without using package devEMF and it will crop the bars with xpd=FALSE. When I used devEMF on a Windows machine, the bars were not cropped with barplot() as you indicated, but when I switched to plotrix::barp() they were cropped. The arguments are a bit different, but I did not need xpd=FALSE:
2006 Jun 01
1
Help with evaluation of expressions
Hello all: I have searched through the help files and I have been unsuccessful in solving this problem. I am trying to create a small wrapper function that will go around a call to a plot function and create a windows metafile in the directory and also write the name of the file to a text file. The purpose is to efficiently bring a large number of plots into powerpoint. I am using
2016 Apr 26
1
ylim in barplot()
Thank you David, That's a nice workaround using plotrix::barp(), but that doesn't explain why ylim doesn't work as intended (or at least, as I expect it to work), or why xpd has no influence when using devEMF::emf()... The problem with saving directly in RStudio is that it requires to manually save the plot, and this becomes troublesome when there are a lot of plot commands in a
2011 Jun 17
1
graphsheet and export.graph equivalents in R?
R Experts I'm currently using an S+ script of the following format and would like to convert it to R. The script opens a graphsheet with an associated name, plots something (in this case a boxplot) and then exports the contents of the graphsheet of the assigned name to an EMF file. I've been looking for something in R that would work the same way but to no avail. Could someone
2007 Jun 29
1
Print grid/ggplot to a metafile
Dear UseRs called Hadley, or Paul, I am trying to print an edited ggplot2/grid graphics to a metafile. With the commented line below it works, but when I edit the plot by uncommenting the line, it fails, because it's illegal to have 2 graphics in a metafile. It works with pdf, but even then I get two plots, which is a nuisance. I found a workaround by using windows(); savePlot, but it only
2012 Apr 20
1
How to make nice tiny sized figures on graphic devices producing scalable vector output?
Hello! Usually whenever I want a tiny plot, I just create it as is (or even large) and then downscale it in the end application like LaTeX of MS Word. However, all these graphic devices like postscript, pdf, win.metafile retain physical sizes, so it would be natural if I can just insert graphics as is provided those have proper physical sizes embedded. The question is what is the best
2009 Feb 16
2
Printing out a graph using different graphics devices
Hello, everyone! The code below allows me to produce the graph I want (I know - the colors are strange, but it's just for the sake of an example). After you run the plot<- part and then do print(plot) - that's what I want. However, when I run the bits of code below (with graphics devices) - what they print is different from the original plot. In .png, .emf, and .tiff - my dots change
2007 Dec 02
1
odfWeave error
hello all, I trying to use the package 'odfWeave' and I get the follow error: ### error message ############################################################# ... Removing content.xml Post-processing the contents Error in .Call("RS_XML_Parse", file, handlers, as.logical(addContext), : Error in the XML event driven parser for content_1.xml: error parsing attribute name
2001 Aug 08
3
"Transparent" background in graphics exported as metafiles
Hi, Under Windows, I am exporting graphs from R (in metafile -emf- format), and want to combine them using a graphic package. It happens that the background of the graph is represented by a filled rectangle (with the color given by bg=...). This is to be expected. However, I find no options to disable this and produce a graph with transparent background. Does such an option exist? If not, then
2006 Aug 08
1
oodraw command line usage
I use R to create .eps graphics and then use oodraw to convert them to .emf versions. (One reason I do this is that OOo tends to re-size .eps files and I haven't found a way to stop it or change it once the graph is resized. .emf files are not distorted by OOo - fortunately.) I use a command like: > oodraw filename.eps & The gui opens and then I select .emf and do an export. I