similar to: Difference in client vs. server graphics defaults

Displaying 20 results from an estimated 6000 matches similar to: "Difference in client vs. server graphics defaults"

2003 May 12
2
on.exit(par(old.par)) warnings
I often use something like old.par <- par(set someting) on.exit(par(old.par)) but in R 1.7.0. I now get warnings: > old.par <- par() > par(old.par) Warning messages: 1: parameter "cin" can't be set in: par(args) 2: parameter "cra" can't be set in: par(args) 3: parameter "csi" can't be set in: par(args) 4:
2002 Nov 13
2
Wandering usr values in par(no.readonly=TRUE) (PR#2283)
>>>>> "Marc" == Marc Schwartz <mschwartz@medanalytics.com> >>>>> on Wed, 13 Nov 2002 11:01:49 -0600 writes: Marc> Marc Schwartz wrote: >> SNIP >> >> I am guessing that this may be the result of par("ylog") >> and par("xlog") being read only and perhaps impacting the >>
2000 Jan 04
1
Alternative to cxy in R
good morning to the R-help list!, I would like to ask if there is an alternative to the S ploting parameter "cxy" in R. I am trying to port some S code to R that makes use of this "cxy" parameter to scale the graphics, and I don't find this parameter in help(par). thank you, IOsu ------------------------------------------------------------------------------- Jes?s
2007 Jan 26
1
Inferring dimensions on bitmap device from par()
Hi, I am trying to infer the dimension of an opened bitmap (png, jpeg, bitmap device...) from par() parmeters. From the help on par(), I found that: > dim <- c(400, 200) > png("foo.png", width=dim[1], height=dim[2]) > dim2 <- par("din") * par("cra") / par("cin") > dev.off() > dim2 [1] 399.9999 199.9999 I've tried the above on
1998 Jun 17
1
Warning in par(args)
I'm getting a lot of warning having to do with setting graphic parameters. I don't recall actually setting any of these, so I would guess they are being set by something I am calling. Has anyone already figured out where this is happening? Paul Gilbert _____ All dse3 tests ... ok All dse4 tests ...Warning: skipping test 4 (requires stepwise). ok dse2 graphics tests ...completed dse3
2003 Mar 17
0
Problem with pdf device.
Hi, I seem to have broken the pdf device on my installation. I'm running R 1.6.1 under Apple's X11 on darwin 6.3. Running the following commands straight after starting R (and without touching 'par') gives different results - the png file looks fine but I'm missing axes and labels on the pdf. If I try and print the pdf, axes and labels appear but with text characters as
2009 Nov 03
3
Weird operator behaviour
Hi, I have a dataset called 'fish'. fish$Species returns extract 1. When I use fish$Species != c("CRA","PHC"), i.e. I want all species except "CRA" and "PHC", I get extract 2 which is blatantly wrong. Can anyone see what I'm doing wrong? Regards, James EXTRACT 1 > fish$Species [1] ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB ALB
2007 Mar 31
0
X11 and linux and plotting and the vertical axis
I use R on linux and I go through exceed from a windows machine. Depending on the amount of plots I do on a screen, sometimes the numbers on the vertical axis of the plots don't show up. I tried infinite of combinations of mar and cex but nothing helps. Yet, if instead of shooting the graphic upto the screen, I send it to a pdf file or a postscript file, the numbers on the vertical axis of
2001 Jun 11
1
Additional output in cancor
Hi everyone, Can I suggest an additional output component in cancor, from package mva? It would be useful to have the number of canonical correlation vectors, equivalently the rank of the covariance between x and y (label "rank"). This would usually be min(dx, dy), where dx and dy have already been computed for the svd function, but there might be situations where it was less than
2002 Nov 12
2
Wandering usr values in par(no.readonly=TRUW) (PR#2283)
--==_Exmh_1801894504P Content-Type: text/plain; charset=us-ascii Dear R folks, Initially I had a plotting routine using logarithmic y-axes that failed after repeated calls if I tried to restore the graphical parameters (which I wanted to do because I used `layout' within the routine. I tried to isolate the problem and found out that the following code with logarithmic axis is sufficient for
2000 Apr 25
1
loops
Hi R friends, I havent asked a silly question in a long time so here it is: Reading the last issue of Stat Can J. there is an article in a single degree of freedom test for non aditivity of interactions in anova tables with 1 obs per cell. The authors claim it is more powerfull than Tukey but for the case of multiplicative interaction, which is the alternative studied by Tukey. I tried to
2008 Sep 15
4
How to draw a plot like this?
Hi there, I hope to draw a plot like this: http://www.sg-chem.net/swizard/Ru-bqdi-spectra.gif is it possible to draw it using R? thanks for any suggestions. regards, Jinsong
2004 Sep 14
1
documentation error par("cin") and par("cra") (PR#7227)
Dear all, the help of par() claims that cin and cra are c(width, height) but it appears to be rather c(height, width) Best regards Jens Oehlschl?gel > plot.new() > strheight("W", unit="inches") [1] 0.1354167 > par("cin") [1] 0.1354167 0.1875000 > version _ platform i386-pc-mingw32 arch i386 os mingw32
1999 Dec 02
1
Large plot symbols (with pch = 1 etc)
On my home (Windows 98) machine I find: > par()$cra [1] 42 16 > par()$csi [1] 0.1666667 > On my work machine I believe I had par()$cra [1] 17 16 So it looks as though R is reading the width wrongly, and that it is the width that is somehow used to determine the plot character size. Incidentally I noted Brian's comment that R had misread his character dimension information wrongly.
2005 Mar 30
1
Finding the "height of a line of text" for axis
I would like to draw only the ticks of an axis, but not the axis itself. I don't think this can be done using axis(), so I am trying to write a cut-down version in R, which only draws ticks. The point at which I am stuck is that the length of a tick is set by par("tcl") as a fraction of the "height of a line of text". So I would like to draw a line whose length is also
1999 May 17
1
Character height & width in user co-ordinates
Is there an equivalent to the S-PLUS par()$cxy in R? Also, is it possible to get notice taken of some equivalent of \n in R when using text()? For what it is worth I am using RW-0.64.1. John Maindonald email : john.maindonald at anu.edu.au Statistical Consulting Unit, phone : (6249)3998 c/o CMA, SMS, fax : (6249)5549 John Dedman Mathematical
2009 Aug 11
2
Slicing cra**y csv files
Hello, For not too regular users of R, preparing the data is somehow a burden. Comming from iMacro in FireFox I get a badly designed csv, which I need to put into a daily R script. The data looks like that (e.g.): 22 Results,"35 Results","39 Results","2 Results","7 Results","23 Results","42 Results","36 Results","22
2007 Sep 07
3
Plotting lines to sets of points
I am using R to plot baseball spray charts from play-by-play data. I have used the following command to plot the diamond: plot (0:250, -250:0, type="n", bg="white") lines(c(125,150,125,100,125),c(-210,-180,-150,-180,-210), col=c("black")) I have also plotted different hit locations using commands such as the following: points(subset(framename$hit_x,
2009 Jan 22
5
Combining Custom and Preset Linetypes
Dear R-Users, I created the xyplot below using 10 groups (9 groups + 'Total' of all groups) with lty=1:10. I need the 'Total' to be a bold solid line (lty=1) where as the 9 groups just need to be distinguishable from each other. As you can probably see, when the group reaches CRA6 the lty starts from 1 again. I have tried to specify ten unique lines using lty=
2003 Jun 19
3
Background color(s) for groupedData plot
I've been using par() to check the graphics parameters associated with both plot(<fitted linear model>) and plot(<grouped data object>). AFAIK the only differences are in the $cxy, $usr, $xaxp, and $yaxp parameters but the background color for the grouped data plot is grey while the linear model plot has a white background. When I've tried par(bg = "white") prior to