Displaying 20 results from an estimated 5000 matches similar to: "%s in filename when opening device causes crash (PR#10571)"
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:
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 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 ~
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]]
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
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:
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
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]]
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
2004 May 24
2
Metafiiles into Word R 1.9.0
Dear R-helpers,
I recently upgraded to R 1.9.0 in my computer at work and at home:
1.-The computer at home has Windows XP and Office XP and it seems to work
perfectly and I copy-paste graphics perfectly.
2.-The computer at work has Microsoft Windows 2000 (5.00.2195 Service Pack
2) and Word 2000 (9.0.4402 SR-1) I cannot copy-paste windows metafiles into
Office applications in my computer at
2008 Apr 28
5
Combine Values into a Vector or List
Hi all,
I have the following
x1<-paste("A", 1:6, sep = "")
x2<- round(rgamma(6,2,1))
x3<-paste("B", 1:6, sep = "")
x4<- round(rgamma(6,2,1))
data1 <- data.frame(x1,x2,x3,x4)
I would like to get
data2 <- c(A1=4, A2=1, A3=0,...)
Is there any standard for such a case?
Thank you very much in advance,
Diego
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
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
2004 May 25
2
Saving/exporting graphs
HI:
I have tried to find a way in which to export/save graphs via the command
line. I know i can right click on it and save it as wmf etc.
But I was wandering if there is a function such as Splus'
export.graph
Thanks
>From Alberto Nettel's Desk
University of Calgary
Math & Stats Department.
Room 346, ext 7199
E-mail: nettel at math.ucalgary.ca
2006 Feb 14
4
R and Power Point
Dear R People:
I'm using R in a time series class. This class is being
broadcast live to 2 remote sites via closed circuit TV.
My people at the remote sites are having a terrible time
seeing the computer screen as it is broadcast(resolution issues). I have
decided to put together Power Point slides for the teaching.
I am currently saving the R screen as WMF files and inserting them
into
2007 Apr 16
2
Histograms of lots of variables
Hi R-helpers,
I wish to produce frequency histograms of all of the variables in my
dataframe (except some identifying variables).
I have tried
>hist(dataframe[,3:20])
to produce histograms of the 3rd through 20th variables in my dataframe, but
R doesn't like that.
Could anyone provide a suggestion?
Also, once I produce the histograms, I'd like to save them as graphic files
on my
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",
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
2004 Jan 17
3
Multiple groupedData plots in a postscript file using a loop
Hallo!
I want to plot multiple grouped data in a postscript
file using a loop. As I use a loop no plot (or just
one empty plot) is generated. Here an example:
library(nlme)
data(Loblolly) # example data from nlme
postscript("PSFile.ps")
for (i in 1:1) # just as example
{
plot(Loblolly)
}
dev.off()
Result: Just an empty PSFile.ps.
(Withoput the loop it works.
May anybody help?
Karl
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,