similar to: R: Including R plots in a Microsoft Word document

Displaying 20 results from an estimated 2000 matches similar to: "R: Including R plots in a Microsoft Word document"

2004 Mar 20
9
Operating on windows of data
I have a data set that is comprised of, for simplicity, a vector of numbers that I want to march across in overlapping windows of say 10 values each, computing a couple of values for each window. Is there a vectorized way to do this, or do I truly need to resort to looping--I think so? Any other clever thoughts? Thanks, Sean [[alternative HTML version deleted]]
2004 Feb 17
2
Generating 2x2 contingency tables
Hello R-users, I would like to generate two-way contingency tables with zero in one cell. I tried to use the function r2dtable but I could not force one cell to have zero value. Any Idea? Best regards.. Mahmoud [[alternative HTML version deleted]]
2004 Feb 07
1
Subset function of lm() does not seem to work
Folks, I have an elementary question about the lm() function, where I'm trying to exploit the "subset" feature, to make it use only a subset of the observations. My code is: ---------------------------------------------------------------------- A <- read.table(file="datafile.2",
2004 Feb 19
6
R for economists (was: Almost Ideal Demand System)
Hi, I did not find any web page about using R in economics and econometrics so far. However, this does not mean that there is none (searching with google for "R" and "economics" gives many pages about economics and a name like Firstname R. Lastname on it ;-)). Does anybody in the list does know such a web page? If not, I will be happy if you, Ajay, could build and
2000 Oct 04
5
postscript preview
gday R friends, I was wondering if anyone could help me with some graphics issues please. I'm processing R in batch on redhat6.2 with some graphics to be imported into msword on NT. For scaling within my doco I want some vector type graphics. win.metafile doesn't seem to be supported on redhat which gives me postscript. postscript is ideal but doesn't contain a preview so I
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 ~
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
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
2005 Sep 21
2
win.metafile on linux?
Dear R-help, Is it possible to use win.metafile() on *nix versions of R? I tried R 2.1.1 on FreeBSD and R 1.9.0 on redhat with no success. I need to give some graphs generated in R to my boss so that he can modify them in Powerpoint to fit he style of his presentation. Recommendations on other methods are appreciated as well. Hao -- : Hao Chen, Ph.D. : Instructor : Department of
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 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