Warning: I am a complete newbie to R. I have read ISwR, but I am still
finding myself completely stuck on some simple concepts.
I have tried everything I can think of to solve this one, and finally
decided that enough was enough and I need a pointer to a solution.
I have the following summary
On 27/07/07, Chuck Cleland [EMAIL PROTECTED] wrote:
coef(summary(lm(nu1 ~ nu2)))[,2]
Also, try the following which is often useful:
str(summary(lm(nu1 ~ nu2)))
Oh, wow! Thank you.
Incidentally, just in case anyone got the wrong end of the stick, I'm
not at all complaining about R. It's
I am not understanding something about generating PNG plots.
I have tried several ways to obtain something other than a transparent
background, but nothing I've done seems to change the background.
For example:
dev.print(png, width=800, height=600, bg='red', filename='example.png')
which I
On 31/07/07, Gavin Simpson [EMAIL PROTECTED] wrote:
On Tue, 2007-07-31 at 10:22 -0600, D. R. Evans wrote:
I am not understanding something about generating PNG plots.
I have tried several ways to obtain something other than a transparent
background, but nothing I've done seems to change
Prof Brian Ripley said the following at 07/31/2007 12:20 PM :
You are *copying* the plot, and that means copying the background too (it
*is* part of the plot). Almost certainly the plot you are copying had a
transparent background: that is the default for X11.
All the confusion seems to be
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() :
Thomas Lumley said the following at 08/02/2007 05:25 PM :
par() is in the 'graphics' package, which is not loaded by the time
.Rprofile runs. You want graphics::par(bg='white')
Thank you, but when I tried that, I got:
Error in graphics::par(bg = white) : couldn't find function X11
The subject says it all really: I've tried hitting control-C (multiple
times), but that doesn't seem to be a reliable way to interrupt a long
calculation. What is the right way to interrupt a calculation that has
been proceeding for several minutes and shows no sign of finishing
soon?
On 29/08/2007, D. R. Evans [EMAIL PROTECTED] wrote:
The subject says it all really: I've tried hitting control-C (multiple
times), but that doesn't seem to be a reliable way to interrupt a long
calculation. What is the right way to interrupt a calculation that has
been proceeding for several
Paul Smith said the following at 08/29/2007 04:32 PM :
The instance of R running will be immediately killed and then you can
start R again.
But then I would lose all the work. There must be some way to merely
interrupt the current calculation. Mustn't there?
Prof Brian Ripley said the following at 08/30/2007 11:00 AM :
On Thu, 30 Aug 2007, D. R. Evans wrote:
Paul Smith said the following at 08/29/2007 04:32 PM :
The instance of R running will be immediately killed and then you can
start R again.
But then I would lose all the work. There must
I am 100% certain that there is an easy way to do this, but after
experimenting off and on for a couple of days, and searching everywhere I
could think of, I haven't been able to find the trick.
I have this piece of code:
...
attach(d)
if (ORDINATE == 'ds')
{ lo - loess(percent ~ ncms *
D. R. Evans said the following at 09/04/2007 04:14 PM :
I am 100% certain that there is an easy way to do this, but after
I have reconsidered this and now believe it to be essentially impossible
(or at the very least remarkably difficult) although I don't understand why
it is so :-(
At least, I
I have a feeling that this may be a stupid question, but here goes anyway:
is there a function that I can use to replace loess but which allows a
larger number of predictors?
(I have a situation in which it would be very convenient to use 5
predictors, which violates the constraint in loess that
14 matches
Mail list logo