Displaying 20 results from an estimated 3000 matches similar to: "Lattice + Word: Changing .wmf files to .pdf files"
2009 Oct 06
2
save wmf with a batch file
Hi R users,
I'm working on a autoreporting with the batch mode of R: I would like to
save the graphs produced in wmf or emf. the problem is, it's working well
with the R gui because we print on the screen the graph devices but not with
the batch. I have used the function dev.print after encounter problem with
win.metafile.
Thanks
Guillaume
[[alternative HTML version deleted]]
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,
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 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
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
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
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
2006 Jun 29
4
Extracting R plots from MS Word
Hi,
I am revising a paper that I am a co-author of. The figures are plots
generated from R but at the moment I do not have the R code that generates
them.
As this is time critical I would like to slightly abuse the list by asking
whether anyone knows how to extract from MS Word into a stand-alone
graphics file a plot that was pasted into Word from R (probably as a
Windows Metafile, but possibly
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:
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
2005 Apr 29
0
(PR#7821) Rgui crash when >1 figure plotted to single wmf
On Thu, 28 Apr 2005 rich.fitzjohn@gmail.com wrote:
> R for Windows crashes where more than one plot is plotted to a windows
> metafile where an integer format is not included in the character
> string (i.e. when attempting to write more than one plot to the same
> file).
That is a user error, but the C code is missing a test for a non-NULL
pointer.
What is unclear is why the
2007 Sep 13
6
help with unit indication when plotting
Dear all:
Is there any one could tell me how I can represent Micro-molar as an
unit of concentration when I plot with R(S-plus), I don't want write
'uM' from keyboard, I am thinking to write it like in word, in word,
people insert symbol for 'u' for uM. Am I clear? Thank you very much
for your consideration and help.
Lu
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
2010 Feb 10
5
WMF conversion...
Hello R-Help,
I've got a bit of an issue with WMF's. I am working on WindowsXP and outputting WMF format images. I then take the WMF format images and insert them in PowerPoint. I take the PowerPoint and convert it to PDF.
The WMFs are nothing special. Just the typical x-y plot with a gray dotted grid added and a few matlines. The WMFs, when produced look great! They show
2004 Feb 20
9
R: Including R plots in a Microsoft Word document
Greetings List,
I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a Microsoft Word document. Can any one tell me the easiest method of having copies of the R-graphs in the Word documents?
Best regards
Mahmoud
[[alternative HTML version deleted]]
2010 Sep 15
3
Creating publication-quality plots for use in Microsoft Word
Hi everyone,
I am trying to make some publication-quality plots for use in Microsoft
Word, but I am having trouble creating high-quality plots that are supported
by Microsoft Word.
If I use the R plot function to create the figure, the lines are jagged, and
the picture is not of high quality (same with JPEG(), TIFF(), and PNG()
functions). I have tried using the Cairo package, but it distorts
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) {
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)
>