Displaying 20 results from an estimated 5000 matches similar to: "problem with win.metafile( ): traceback()"
2003 Oct 24
2
possible win.metafile( ) problem?
R1.8.0, Win2k:
When I run the code
lset( list( background = list(col = "white")))
xyplot
(
y ~ TIME , data = foo.frame,
scales = list(alternating = FALSE),
ylim = c(.75,y.max),
panel = function(x, y, panel.number, ... )
{
panel.superpose(x = foo.frame$TIME[foo.frame$group == 1],
y = foo.frame$y[foo.frame$group == 1],
subscripts = TRUE,
groups =
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 ~
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 Jul 05
1
win.metafile use
Platform: Windows 95
Version : R0641
Problem : I wish to plot and save a large number of graphics files in
windows metafont format. I have a very crude postscript printing
function, which happily handles repeated calls:
psf<-function(filename){
dev.print(postscript,file=paste(sep="",filename,".ps"),horizontal=F)
return()
}
To produce metafont files, I
2012 Feb 04
1
problem with windows metafile
Hi there!
I have following problem: I created some graphics with "win.metafile", which
I wanted to use in a Powerpoint presentation, but when I paste them into
Powerpoint the graphics are missing the axes. It looks like the axes are cut
off and I was wondering, if somebody know this problem and how to solve
this??
Thanks for your help! :)
win.metafile("example.wmf", width=7,
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 family
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 1.2",
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
2003 Oct 20
2
win.metafile and Linux
Hi Folks,
I see that people have been discussing the win.metafile device
on the list since before 2000.
Yet I have never seen this on a Linux distribution of R.
Is this because the device works by making calls (GPL calls of
course!) to a proprietary Windows library?
In that case I can understand that it would be far from kosher to
implement it on Linux. But I'd like confirmation.
I must
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 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 particular, the units for the y axis are
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]]
2004 Jul 18
2
gray background in png
Hi all,
I'm having a problem creating png images with trellis.device. I would
like to create many plots with a white background using a sequence
number in the file argument (i.e. "%02d"). The first plot is as expected
with a white background. However, the second and all subsequent plots
have a gray background. I would like all plots to have a white (or
transparent)
2003 Nov 15
2
Rescaling character widthof the title
When I export a graphic into a windows metafile, import that file into a
Word document, the width of the character of my title isn’t uniform anymore.
The only way I found for solving this problem is to use the courier font,
but I would like to use a font like (font.main=1). Does anybody know about
that problem?
obs<-matrix(scan("D:\\.....)
win.metafile(filename =
2010 Mar 19
1
One main title and One legend for multiple lattice plots
Hi All,
Can anyone please help me with getting a "single title" and "legend" for
both the plots in the following R code. I'll eventually be using .wmf file.
# R code:
library(lattice)
p1 <- xyplot(decrease ~ treatment, OrchardSprays, groups = rowpos,
type = "a", main="Same title / legend",
auto.key = list(space = "right",
2008 Jan 14
3
%s in filename when opening device causes crash (PR#10571)
Full_Name: Richard Cotton
Version: 2.6.1
OS: Windows XP (32bit)
Submission from: (NULL) (193.119.236.82)
Using %s in a filename when opening a device causes R to crash, e.g.,
pdf("foo%s.pdf")
win.metafile("foo%s.wmf")
postscript("foo%s.ps")
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 Jul 21
2
Problems with character spacing in windows metafiles...
This problem was posted a couple years ago here:
http://tolstoy.newcastle.edu.au/R/help/04/01/0231.html
Using Windows XP with R 2.3.1, I am now experiencing the same problem again:
when a plot is saved and/or copied as a WMF, the labels do not have the
correct character spacing. I am trying to insert the WMF into a MS Word
2003 document (my first mistake, I know), but even when the WMF is