search for: metafil

Displaying 20 results from an estimated 328 matches for "metafil".

Did you mean: metafile
2003 Oct 19
2
problem with win.metafile( ): traceback()
For the first error message: > win.metafile(file = "//.../plot1.wmf", + width = 8.5, height = 6.25) > lset( list( background = list(col = "white"))) Error in get(x, envir, mode, inherits) : variable "win.metafile://.../plot1.wmf" was not found > traceback() 4: get(device) 3: trellis.device(device = .De...
2006 Feb 17
3
Windows metafile problem
Hi All: I'm using win.metafile() to produce windows metafiles. When I use Word to insert the wmf picture, Word gives an error! I did my homework in posting this question, and couldn't find a fix. Any suggestions? Phil Smith CDC
2002 Mar 13
1
win.metafile and multiple plots
I'm having difficulty using the win.metafile command. I'd like to place three plots in one window and then save the window as a metafile. The commands I want to use are: win.metafile("mike.emf",width=3,height=2,pointsize=10) nf <- layout(matrix(c(1,2,3), 3, 1), heights=c(1,1,1)) layout.show(nf) plot(rnorm(10)) plot(rnorm(...
2010 Dec 22
1
Poor quality plotting symbols in Windows metafile
Hello, when I try to use the filled circle (pch = 16) in a Windows metafile, it appears highly pixelated rather than as a smooth vector. The other filled circles (pch = 19 and 20) are vector circles, filled with pixels. Results are the same whether I use windows() and save or copy as a metafile, or win.metafile() Also, some of the other symbols are misshapen, e.g. the d...
2008 Dec 08
1
Save image as metafile
Hi, how can I save an image as a metafile? I know within windows you can do a right click and then 'save image as metafile' but I use Mac OS X...I know as well that mac users have a right click as well, but it does not work. Is there a command in R for saving images as metafiles? Regards, mentor -- View this message in context:...
2000 Dec 15
1
resolution of windows metafiles
I am having trouble getting smooth-appearing curves in figures produced as windows metafiles using R (R-1.1.1 on Windows 98). When I import them into a word processor (either MS Word 97, or WordPerfect 9.0), the figures appear only slightly bumpy on screen, but when printed, there is a clear jaggedness reminiscent of aliasing. Is there a fix for this (if the answer is "upgrade to...
2010 Mar 18
2
multiple print commands in win.metafile()
Hi All, I need a file which I can import to MS Word, I'm trying win.metafile(), but it does not seem to support multiple print commands at once (please see below). Is there an alternative to get plots file which can be used in powerpoint/word? # R code: # this does not work; but same thing works with pdf() library(lattice) win.metafile("test.wmf") p1 <- xyplo...
2008 May 29
1
Help for R on Windows for non-Win-enabled!
Hi Folks, I need help with a query about R on Windows, specifically about graphics devices. I'm advising someone remotely (so it's all by email) who is running R on Windows, while I am not (Linux only). Things have reached the stage where saving graphics plots as Windows metafiles is looming. I've been told that the result of "?device" in Windows is as follows (which is different from what I get on Linux, which does not mention anything Windowsy): Description The following graphics devices are currently available: windows The graphics driver for Win...
2009 Jun 18
1
win.metafile() and family
Hi all, I recently discovered how great win.metafile is for getting high resolution graphics into word. Having problems with specifying families though... #pdf works fine pdf("test.pdf",width=14,height=9) par(family="Helvetica") plot(1:10) text(4,4,"trial") dev.off() windows 2 #metafile doesnt like helvetica...
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 wo...
1999 Jul 05
1
win.metafile use
...h happily handles repeated calls: psf<-function(filename){ dev.print(postscript,file=paste(sep="",filename,".ps"),horizontal=F) return() } To produce metafont files, I adapt this to, for example, test<-function(filename){ dev.print(device=win.metafile,file=paste(sep="",filename,".wmf")) return() } Repeated calls to this function work satisfactorily for the first few calls, (e.g 15 calls work, the next does not) but finally it fails with these messages: (in a new windows box) Impossible to create metafile (in Rg...
2003 Sep 12
1
win.metafile, devga, tkrplot in R 1.8.0
...be mixing up double-backslashes and forward slashes: [tcl] couldn't load library "C:w1080devlibrary krplot/libs/tkrplot.dll": this library or a dependent library could not be found in library path. When I loaded the dll manually with dyn.load (successfully), I then found that win.metafile (used by the tkrplot function) failed: win.metafile() Error in win.metafile() : 10 arguments passed to "devga" which requires 13. More info on devga, see: R-1.8.0/src/gnuwin32/devga.c R-1.8.0/src/gnuwin32/dodevga.c R-1.8.0/src/gnuwin32/devga.h Regards, James > version _...
2000 Mar 02
1
Graphs in Windows 95/95
Dear R-Listers, I'm a new R user and I've got some problems with copying/saving graphs in Windows Metafile Format. If I copy a graph from the R window (in Enhanced Metafile Format) and then paste it in WinWord 95, then everything is fine, apart from the fact that a) lines become a little bit thicker when the graph is printed; and b) dotted lines loose a little bit of resolution. However, if I copy a gr...
2003 Mar 15
1
plots to metafile and x/y ratio
...l, type="l", asp=1) where val is the object with the latitude/longitude data. In the screen the figure is perfect, and I can copy to the clipboard and paste it to other places. I can also saved using png() or jpeg(), althoug the quality is much lower. However when I try to save it as metafile (from the plot window or by using win.matafile), the file I obtain do not keep the x/y ratio. I'm interested in this metafile because the quality in much higher then the png, jpeg. Any suggestion? I'm working with R.1.6.1. on Windows. If somebody is interested, I could send them the fi...
2002 Jan 04
0
copy metafile from window() device fails when lattice/grid is (PR#1242)
Dear all, I'm running into a rather strange problem that hasn't happened before R-1.4.0. If I make a plot on a window() device, and use the menu to either save to a metafile or copy to clipboard as a metafile, I get an error message in the R console: Error: A metafile can store only one figure. This only happens when the lattice (and grid) package is attached, regardless of whether the plot is Trellis or non-Trellis. If I detach both lattice and grid, and make the...
2004 May 08
2
metafile copy and R 1.9.0
Dear all, I'm running into problem in R-1.9.0 that hasn't happened with R-1.8.x If I make a plot with xyplot(), and use the menu to either save to a metafile or copy to clipboard as a metafile to export to eg Powerpoint, I can just copy a blank then. This does not occur with the classical plot(). Thus, I suppose that it may come from lattice or grid (going through the R-archives I checked that a similar trouble occur when R has been updated to 1.5). H...
2003 Oct 20
1
win.metafile() problem -- possible bug?
As a followup to a previous posting regarding the win.metafile() function, I've been having some problems as well. In my case, I've been converting some scripts from S-SPLUS to R that create graphs in order to take advantage of R's plotmath capabilities. In the sample code shown below, the axis labels display the units for the data. In particul...
2002 Jan 04
0
(PR#1242) copy metafile from window() device fails when
...t to grid updates. Paul Murrell has been informed! On Fri, 4 Jan 2002 andy_liaw@merck.com wrote: > Dear all, > > I'm running into a rather strange problem that hasn't happened before > R-1.4.0. If I make a plot on a window() device, and use the menu to either > save to a metafile or copy to clipboard as a metafile, I get an error > message in the R console: > > Error: A metafile can store only one figure. > > This only happens when the lattice (and grid) package is attached, > regardless of whether the plot is Trellis or non-Trellis. If I detach both &gt...
2004 Apr 26
1
Lost graph contents using Copy as metafile
Dear colleagues: I use R 1.9.0 on Windows XP. One of my common tasks is to get R graphs into Word documents. A open windows() device, almost always trellis.device() for me, provides great convenience with the right-click shortcut menu item "Copy as metafile". I typically have the History > Recording feature turned on as well. Since upgrading to 1.9.0, I have experienced an intermittent problem that I unfortunately cannot reproduce reliably. Sometime well within a session, when I use the "Copy as metafile" technique, the resulting...
2002 Jan 09
3
lattice problems under Win2K and R-1.4.0
I'm having problems copying and saving lattice graphs using R-1.4.0 under Win2k. It seems I've see this alluded to recently in R-help. If I do the following example: > data(quakes) > xyplot(long ~ lat , data = quakes) And then try to copy or save the graph as either a metafile or bitmap or if I use any of the bitmap/metafile devices via (for example) > png(file="mygraph.png") > data(quakes) > xyplot(long ~ lat , data = quakes) > dev.off() I get the following type of error: Error in grid.newpage() : A png file can store only one figure. or for a...