Displaying 20 results from an estimated 2000 matches similar to: "Problem with pdf device."
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
>>
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
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
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
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
1997 Jun 23
0
R-alpha: various graphics Q.
"contour" can't return a list of contours (it would be nice)
"arrows" has different options from S-PLUS (no "open" or "rel" options,
no "lwd" parameter or graphics parameter pass-through; "size" in S
corresponds to "length" in R). [I know we needn't follow S-PLUS syntax
slavishly, but it would be nice at least to
1999 Mar 24
0
par$csi
Dear R-help,
I'm using 63.3 on windows NT. The improved graphics device has a problem
in that the default par settings produce text that is way too small (63.2
seemed fine). I've compared the parameters between 63.3 and 63.2 and the
ones that differ are : cin, cra, csi, mai, pin, plt. In the par help file,
cin and cra have no documentation other than that they are read only, the
last
2005 Jun 01
1
panel.axis() & grid/lattice settings
Hello,
I wish to customize the tick marks and labels of axes in panels produced by
high-level lattice functions, namely xyplot. I know I can use the scales
argument to specify values for rot, cex, etc. in the top-level call.
However, I am interested in determining values for cex and rot based on the
current panel / viewport and device. More specifically, I would like to make
adjustments when
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
2005 Jun 02
0
Thanks! (was panel.axis() & grid/lattice settings)
Deepayan, Paul:
Thanks very much for the very useful leads. I just spent some time this
afternoon implementing your suggestions and my early test results are very
encouraging.
Paul, I understand the potential device re-sizing issue with the convert
family of functions in grid, and will be in touch in case it becomes
problematic for my applications. I very much look forward to your upcoming
1998 Jun 19
1
DSE status
I have my DSE library working fairly well now with 0.62.1. It required a few
changes because of the changes to R INSTALL and "xxx<-" functions. I would like
to tar up a new version soon but
1/ for testing I have been using a kludge in .First.lib to select the first
element of section - since I happen to know that is the element I need given the
way I have $RLIBS set. This argument
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
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
2006 May 22
2
Inserting data in a table with a varchar key field
Hi all,
I have some problems inserting data into a legacy table. the key field
of this table is a field named CIN which is a varchar(15).
when I try insert into this table using a form (generated by the
scaffold generator) I get this Error :
_____________________________________________________________________
undefined method `CIN_before_type_cast'' for #<Candidat:0x370d8c8> |
2013 Mar 09
2
grouping followed by finding frequent patterns in R
I have a data in the following form :
CIN TRN_TYP
9079954 1
9079954 2
9079954 3
9079954 4
9079954 5
9079954 4
9079954 5
9079954 6
9079954 7
9079954 8
9079954 9
9079954 9
. .
. .
. .
there are 100 types of CIN (9079954,12441087,15246633,...) and respective
TRN_TYP
first of all, I want this data to be
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
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