similar to: png() and pdf() alignment problems

Displaying 20 results from an estimated 600 matches similar to: "png() and pdf() alignment problems"

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
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
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
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=
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
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
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.
1998 Sep 22
1
"Segmentation Fault - core dumped" in R 0.62.3
I am occasional getting "Segmentation Fault - core dumped" in R 0.62.3 (I think more often then I did in 0.62.2). I have not been able to do this in any reliably reproducible way yet, but thought I would mention the problem in case some else can isolate it. Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
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 Sep 23
2
Trouble with Windows 2000 sp3
Hello, I work in a development shop where we write code for both Linux and Windows, and develop on both OS's on a codebase stored on a Linux drive with Samba shares. Ever since I 'upgraded' my Windows 2000 system to service pack 3, I have been having trouble compiling my code with Visual Studio over this Samba connection. Basically what happens is that Visual Studio reports
1999 Dec 01
1
Plot Character Sizes in rw-0.90.0
I have two supposedly identical installations, one under Windows 95, and the other (at home) under Windows 98. The puzzle is that under my Windows 98 installation, symbols plotted by default or with pch come out huge, at about 2.2 times the height of the axis labels. Setting cex=0.5 seems about what is needed to fix the heights. On the Windows 95 installation, the symbols come out just a little
1999 Dec 01
1
Plot Character Sizes in rw-0.90.0
I have two supposedly identical installations, one under Windows 95, and the other (at home) under Windows 98. The puzzle is that under my Windows 98 installation, symbols plotted by default or with pch come out huge, at about 2.2 times the height of the axis labels. Setting cex=0.5 seems about what is needed to fix the heights. On the Windows 95 installation, the symbols come out just a little
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
2010 Mar 17
9
[Bug 27136] New: blank screen with G98 [Quadro NVS 420] (NV98) dual GPU, 4-head
http://bugs.freedesktop.org/show_bug.cgi?id=27136 Summary: blank screen with G98 [Quadro NVS 420] (NV98) dual GPU, 4-head Product: xorg Version: 7.5 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
2009 Mar 19
1
Difference in client vs. server graphics defaults
Hello, I am having trouble with the difference between default graphic settings on my client machine and the instance of R on our company's server. I created a script locally that output graphs, but when I run it on the server the output graphs have titles running past the margins, legends improperly placed, etc. I checked the default par() settings and found differences between my machine
2009 Jan 22
1
Defining Solid Line using Line Type Specification
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=
1999 Dec 17
1
R 0.90.1 for Windows
A binary distribution of R 0.90.1 is available at http://www.r-project.org/bin/windows/windows-NT/base/ Installation instruction are given in the README file at the same location. guido masarotto Windows changes since 0.90.0 ---------------------------- It is possible to install packages from any directory (set PKGDIR on the make command) and to any directory (set RLIB on the make
1999 Dec 17
1
R 0.90.1 for Windows
A binary distribution of R 0.90.1 is available at http://www.r-project.org/bin/windows/windows-NT/base/ Installation instruction are given in the README file at the same location. guido masarotto Windows changes since 0.90.0 ---------------------------- It is possible to install packages from any directory (set PKGDIR on the make command) and to any directory (set RLIB on the make
2005 Apr 02
2
Building new graphic device drivers with g++
Dear Group, I'm trying to build a set of new graphic device drivers. I use the devNull example a a beginning point: $ R CMD SHLIB devNull.c gcc -shared -L/usr/local/lib -o devNull.so devNull.o (everything works OK) $ R CMD SHLIB devNull.cpp g++ -shared -L/usr/local/lib -o devNull.so devNull.o (everything works OK) The difficulties start when trying to compile manually. I compile the
2003 Jun 30
1
symbol size on a plot
Hi, I would like to get from a plot the size of the symbols plotted. Imagine I have the following plot function : plot(1:2,1:2, pch=15, cex=4) I would like the get the values SIZE1 and SIZE2 so that if I plot the following rectangle : rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is exactely the same as the one of the symbols that have been plotted. Thanks for any idea. --