Displaying 20 results from an estimated 10000 matches similar to: "Default par() options"
2007 Jan 17
2
R_ParseVector API change
Dear R developers,
just a quick question: I noted that R_ParseVector () has gained an additional
parameter (since SVN rev. 39999). Since R_ParseVector () is part of the
public API, I'm wondering, whether this API change was intentional or not.
Either way is fine with me, but in order to make sure the next release of
RKWard will be compilable with R 2.5.0, I'd like to make sure,
2006 Nov 07
2
Crash when embedding R X11 windows
Dear R developers,
I've been experimenting with embedding R X11 windows into another application
using KDE's QXEmbed on linux. Attempting to do so will crash R (with R 2.4.0,
trunk, and I know the bug has been around in prior versions). I used to think
this was related to bug #848, but I'm not sure, if / how the solution
suggested there still applies to current versions of R.
2005 Oct 17
1
RFC: API to allow identification of warnings and errors in the output stream
Dear R developers,
this mail is basically a summary / clarification of some previous mails I sent
to this list last week (subject "Catching warning and error output"). Duncan
Murdoch pointed out that these were badly organized, and suggested I repost,
collecting the main points previously spread out between several mails.
Problem statement:
In an application embedding R, I would
2020 May 24
1
Surpising behavior when using an active binding as loop index in R 4.0.0
A shorter reproducible example:
example(makeActiveBinding)
for (fred in 1:3) { 0 }
ls()
Both problems go away if you first do
compiler::enableJIT(2)
So looks like a bug in compiling the for loop.
-Deepayan
On Sat, May 23, 2020 at 5:45 PM Thomas Friedrichsmeier via R-devel
<r-devel at r-project.org> wrote:
>
> Possibly just a symptom of the earlier behavior, but I'll amend my
2007 Aug 02
1
Q: calling par() in .First()
As a result of another thread here, I need to be sure that the
function par(bg='white') has executed before I create a plot. The
simplest thing seemed to put it in .Rprofile:
.First <- function() {
options(width=150)
par(bg='white')
}
But now R complains at startup:
Error in .First() : couldn't find function "par"
I have confirmed that once R has started,
2020 May 24
0
Fwd: RKWard and R 4.0.0 - Important bug and workaround
Dear all,
as I am providing rkward backports for Debian testing and stable on CRAN, I am
forwarding this notice by the main developer.
Meanwhile, it has been communicated that R 4.0.1 will be released on June 6.
Cheers,
Johannes
---------- Weitergeleitete Nachricht ----------
Betreff: RKWard and R 4.0.0 - Important bug and workaround
Datum: Sonntag, 24. Mai 2020, 10:14:17 CEST
Von:
2004 Apr 13
1
par() in .Rprofile
Dear all
I installed new version (from binaries) and I noticed that
par(bg="white")
which I have in my .Rprofile causes error message on startup
But if I issued this command immediately after startup everything worked as
expected. I did not see any note in changes file or elsewhere.
Should I specify white background in .Rprofile differently?
Or is there some other recommended way
2002 Aug 20
4
plot and bg
Hi all,
I would like to plot some points and define the bg color of my graphics.
But the bg parameter set is defined for the. whole graphic.
In fact, i would like to use something like :
box(bg=gray(0.9)).
So, the background concerns only the plot region and not the main
title, the x title and the y title.
The option col for the function box() concerns the contour and there is
no option
2007 Mar 29
1
small bug in ansari.test
The help page for ansari.test() says (emphasis added):
By default (if exact is not specified), an exact p-value is computed if both
samples contain less than 50 finite values **and there are no ties**.
Otherwise, a normal approximation is used.
However, this does not appear to be the case in R 2.4.1 or R 2.5.0. In fact,
even
example(ansari.test)
produces a warning
Warning message:
2003 Mar 10
2
graphics backgrounds from gray to white in png()
Hi,
I'm trying to make a png file of a histogram. I would like a white
background in the final product but end up producing a gray one, despite
setting what I think are the correct parameters. Suggestions for how to
properly set a white background would be welcome.
Thanks in advance,
Scot
# for non-lattice
> par("bg"="white")
> par("bg")
[1]
2006 Apr 10
2
install.packages on unix / su (PR#8760)
Full_Name: Thomas Friedrichsmeier
Version: R 2.2.1
OS: Debian / Linux
Submission from: (NULL) (84.60.123.243)
Wishlist item:
There is a small problem using intall.packages() (and update.packages()):
Typically I want to install packages for system-wide use, not in a user
directory. Obviously this does not work without superuser rights.
What I would like to be able to do is to specify a
2004 Apr 01
4
gray background on jpegs using dev.print()
When I try writing the current device to a jpeg file I keep getting a gray background
for the jpeg images using dev.print.
I have tried using the option bg="white" and bg="#FFFFFF"
but neither seem to have any effect.
If instead of writing to a screen device I open a jpeg device I can get any background color
I want. This works, but I prefer to write to the screen and then
2006 Jul 21
2
png() and image()
Hi,
I try to create PNG images of a certain size where each pixel
intensity corresponds to exactly one probe signal in an Affymetrix
array. I try to use png() and image() with zero margins to do this.
Example:
z <- matrix(1:15, nrow=45, ncol=30)
png("large.png", height=nrow(z), width=ncol(z), bg="red")
par(mar=c(0,0,0,0))
image(z, col=gray.colors(16), axes=FALSE)
2006 Oct 06
1
operator :: and symbols not in the namespace of a package with a namespace (PR#9279)
Full_Name: Thomas Friedrichsmeier
Version: 2.4.0
OS: GNU/Linux
Submission from: (NULL) (84.61.116.51)
Since R 2.4.0, operator "::" also returns objects in the package environment, if
the package does not have a namespace. This is a very welcome addition.
Additional wish:
If a package has a namespace, but does not place all symbols in that namespace,
lookup will still fail. For example
2016 Jul 28
2
plot(1:3) malfunctions with par(bg='transparent')
Hello, All:
Try the following:
par(bg='transparent')
plot(1:3)
I get two plots superimposed, one over twice the size it should
be, much of it outside the device region.
Thanks for all you do to make R such a useful tool. People all
over the world live better today, because R helps improve the
effectiveness of data analysts.
Spencer Graves
>
2008 Oct 03
2
Mirror Image on Biplot Graphic
He everybody,
Well I have a biplot CCA-like origined from plot.cca (vegan package). I need to rotate on y axis the lines and symbols of constrained and sites representation. If I do that on an image editor, I rotate everything, including titles, axes labels and positions. I just need to rotate the inner par and keep the variables names (constrained) and symbols in the new positions but with the
2007 Feb 01
2
read.spss and encodings
Hi!
I'm having trouble with importing spss files containing non-ascii characters
(R 2.4.1, debian linux, i386). To reproduce:
Download the following file:
http://statmath.wu-wien.ac.at/data/spss/de/comphomeneu.sav
require (foreign)
Sys.setlocale (locale="C")
read.spss("comphomeneu.sav")$ARBEIT[1]
# prints:
# [1] im B\374ro
# Levels: im B\374ro zuhause
\374 of course
2008 Oct 23
2
Avoiding Biplot Labels Overllaping
Hi everybody,
I'm trying, without success, to avoid some variables labels to overlap on a capscale (vegan package) object graph.
I was able to move the labels with the coding below, but it moves the entire vector...
CAPobj<-CAPpotiFT
for(i in c(2:8))CAPobj$CCA[[i]][,1]<-CAPpotiFTI$CCA[[i]][,1]
CAPpotiFTI$CCA[[i]][,1][2]<-0.85
And here the graphic script
2011 Nov 24
1
Legend
Hi everyone.
I have a linear regression where I retrieve the R2 like this:
r2 = sprintf('%4.2f %s',(summary(reg1)$r.squared))
In my figure I have a legend where I would like to add that R2 value to the
legend text.
Something like: My text R^2 = r2
legend('topright', inset = .05, title='light ratios', pch = c(21),
c(paste('Green/Red', R^2, '=', r2)),
2009 Mar 24
1
segfault when running heatmap()
Hi, I was wondering if someone in the mailing list has any insight into this
segfault error that I consistently find when running a script containing
heatmap() in R 2.8.1 and 2.8.0 on a Linux 64-bit machine.
Some points:
1. This occurs when running heatmap().
2. Interestingly, if I source() the script or copy and paste the script in
its entirety, this error occurs. However, if I run the