Displaying 20 results from an estimated 6000 matches similar to: "save wmf with a batch file"
2008 Jun 04
2
Lattice + Word: Changing .wmf files to .pdf files
My apriori apologies if this is felt to be the wrong list for this issue -
although it starts with R, it's a combination of programs that creates the
problem.
Currently we are using windows metafile format for in-text tables for
reports created in Word. However, we've discovered some artifactual lines
being created in our final output once the Word document is changed to PDF.
The process
2003 Mar 19
3
The best way to end up with WMF files
Hi all
I am doing some stats work for a group of biologists
who require windows metafiles (*.wmf) for their publications.
To create these, I appear to have two choices:
1. Restart my machine in Windows and use savePlot
2. Keep my machine in linux, save as another format,
then convert.
I'd rather stay in linux; but how do I get wmf files? I looked
at using ImageMagick's convert,
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
2002 Mar 29
2
wmf on Unix?
libEMF (http://sourceforge.net/projects/libemf/) looks like it may be
the solution to generating WMF/EMF files on Unix. It's a general-purpose
(LGPL) library that implements the EMF API ...
(I was originally going to write to the list to ask why small circles
appear to be filled (in src/gnuwin32/graphapp/gdraw.c) by generating a
series of rectangles rather than using some kind of
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
1999 Aug 19
2
OT: PSTOWMF
Hallo,
I've produced via R-0.62 several Life-tables 50*6 (mfrow=c(2,3))
as postscriptgraphs. The phd student, who asked for this, use word for
windows--therefore i converted the whole stuff with pstoimg to gifs.
Unlikly the result is not sufficient (I was told)...
Is there a tool to convert ps to wmf/emf ? I looked for it but haven't
found anything...
Thanks for an answer
Peter
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 = .Device, new = FALSE)
2: trellis.par.get(item)
1:
2001 Jan 15
2
WMF on Unix
A few of you have helpfully sent me references to WMF formats.
There is also some code to _read_ it at
http://www.csn.ul.ie/~caolan/docs/libwmf.html
However, the issue is to _write_ WMF on R under Unix. I am told (by
someone who has tried) that the problem is the if you write a WMF
file according to the published specs (which were once issued
by Microsoft) you find that e.g. Word does not read
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
2009 Oct 05
2
Loop function/comparison operator problem
Hi There,
I have created the following function
format<- function(){
repeat {
form<-readline(paste("\nIn what format do you want to save these
plots?\nChoose from: wmf, emf, png, jpg, jpeg, bmp, tif, tiff, ps, eps, or
pdf.\nNote: eps is the suggested format for publication quality plots.\nPlot
format --> "));
cat("\nI'm sorry, I don't know what that format
2003 Aug 25
2
Save graph as .wmf
Hi,
Is there no function in R similar to jpeg(...) or postscript(...) for windows meta files?
The function savePlot(...) is not really what I need.
I'd like to save the plot on my disk without open a new plot window.
And I don't want to save it on my disk and convert it from a *.* to .wmf (there are too many).
Thanks for any help
Thomas
2004 Feb 23
2
Error in multiple xyplots
Dear R-listers,
I got an error when I try to plot two grouped data into a single
win.metafile device:
library(lattice)
trellis.device(device="win.metafile",color=F,filename="Profiles-Var1.wmf")
par(mfrow=c(1,2))
# First plot
xyplot(log(v)~t|id,data=Con.20,
main="Group A: Control, Var-1",
xlab="ocasion",ylab="var1",
panel=function(x,y) {
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')
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
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)
>
2005 Oct 05
2
output a sequence of plots
I can output two histograms of variables
AXFILTERED and AZPTOP as follows:
win.metafile(filename="C:/AXFILTERED.emf",pointsize=12)
hist(AXFILTERED,breaks=40)
dev.off()
win.metafile(filename="C:/AZPTOP.emf",pointsize=12)
hist(AZPTOP,breaks=40)
dev.off()
But, I actually have a dataframe of 120 variables that I
would like histograms of. Any solutions that would
save me from
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
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 1.2",
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 <- xyplot(decrease ~