Displaying 20 results from an estimated 3000 matches similar to: "multiple print commands in win.metafile()"
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",
2010 May 24
1
lattice 'scales' option help
Hi All,
I'm trying to draw boxplots. I'm having a hard time to get "ticks labels" on
multiple panels using 'alternating' option.
# R Code:
# May not be the best example, please just look into 'scales' option
library(lattice)
data(OrchardSprays)
dta <- subset(OrchardSprays, OrchardSprays$rowpos %in% c(1,2,3))
# Original
# This works fine, as you can see
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:
2005 Feb 02
4
(no subject)
can you recommend a good manual for R that starts with a data set and gives
demonstrations on what can be done using R? I downloadedR Langauage
definition and An introduction to R but haven't found them overly useful.
I'd really like to be able to follow some tutorials using a dataset or many
datasets. The datasets I have available on R are
Data sets in package 'datasets':
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
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
2011 Sep 13
1
stupid lm() question
I feel bad even asking, but:
Rgames> data(OrchardSprays)
Rgames> model<-lm(decrease~.,data=OrchardSprays)
Rgames> model
Call:
lm(formula = decrease ~ ., data = OrchardSprays)
Coefficients:
(Intercept) rowpos colpos treatmentB treatmentC
22.705 -2.784 -1.234 3.000 20.625
treatmentD treatmentE treatmentF treatmentG treatmentH
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
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,
2012 Oct 10
2
se's and CI's for fitted lines in multivariate regression analysis
I?m entirely stumped on this particular issue and really hoping someone has
some advice for me.
I am running a covariant model in lm I would like to give the standard
errors or the confidence intervals for the fitted lines. I?ve been using the
dataset OrangeSprays where I want lines for each level of treatment over the
covariant ?colpos?. I?ve been able to calculate intercepts and slopes for
2002 Aug 13
1
interaction.plot() legend too narrow when mfcol > 2 (PR#1899)
Here is an example:
The legends (mainly the factor level names) are cut off on the
right. Somehow the internal calculation which computes
horizontal space for the legend is not flexible enough.
## Call a new graphics window {with default par()s !}:
get(getOption("device"))()
par(mfrow = c(2,2))
## part of example(interaction.plot) _improved_ using with() :
data(OrchardSprays)
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 =
2013 May 03
1
print multiple plots to jpeg, one lattice and one ggplot2
hello everybody,
I want to print two plots in one png file, I tried several options but i
didn't succeed
the first plot (bwplot) print to the defined position, but the second
(ggplot) doesn't
Any idea?
Thanks a lot
Christophe
# Example:
#-------------------------------------
library(ggplot2)
library(lattice)
library(grid)
one <- bwplot(decrease ~ treatment, OrchardSprays, groups
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 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
2004 Sep 01
1
sunspot data in R 2.0.0
I noticed this in the NEWS:
o Datasets 'sunspot.month' and 'sunspot.year' are available
separately but not via data(sunspot) (which is used by package
lattice to retrieve a dataset 'sunspot').
Now, the 'sunspot' dataset included in lattice was actually a mistake, I
realized later that I instead wanted the 'sunspots' data from
2009 Apr 24
1
How to custom the tick and type in bwplot
Dear R users
I use bwplot to plot some figures. There are two troubles:
1. How to change the dot of the mean to a line, like the style in boxplot
2. How to hide some tick marks. For example, I have seven tick: A, B, C, D,
E, F, G,
but I want show four marks: A, C, E, G on the x-axis.
Thanks!
--
Kind Regards,
Guanghong
[[alternative HTML version deleted]]
2005 Aug 12
1
Problem with lme4
Hi,
I cannot seem to get lme4 to work. I have installed the lme4 and Matrix
package with apt-get. and both can be found in /usr/lib/R/site-library.
When I tried an example for lmer, R could not find the function lmer(),
> library(lme4)
Attaching package: 'lme4'
The following object(s) are masked from package:nlme :
getCovariateFormula getResponseFormula