On Nov 18, 2005, at 4:35 PM, Thomas Lumley wrote:
> On Fri, 18 Nov 2005, Byron Ellis wrote:
>
>> So, consider the following:
>>
>>> example(glm)
>>> g = function(model) { w = runif(9);glm(model,weights=w); }
>>> g(counts ~ outcome + treatment)
>> Error in eval(expr, envir, enclos) : object "w" no
On Fri, 18 Nov 2005, Byron Ellis wrote:
> So, consider the following:
>
> > example(glm)
> > g = function(model) { w = runif(9);glm(model,weights=w); }
> > g(counts ~ outcome + treatment)
> Error in eval(expr, envir, enclos) : object "w" not found
>
> Huh?! I suspect that somebody is lazily evalua
> Duncan Murdoch writes:
> On 11/18/2005 12:40 PM, Hin-Tak Leung wrote:
>> Martin Maechler wrote:
>>
"Hin-Tak" == Hin-Tak Leung <[EMAIL PROTECTED]>
on Fri, 18 Nov 2005 16:38:28 + writes:
>>>
>>>
Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
So, consider the following:
> example(glm)
> g = function(model) { w = runif(9);glm(model,weights=w); }
> g(counts ~ outcome + treatment)
Error in eval(expr, envir, enclos) : object "w" not found
Huh?! I suspect that somebody is lazily evaluating arguments in the
wrong environment (probably
I've been asked by someone else whom I originally taught
`` to just work with substitute() and then all will be fine'' ...
But it looks to me that I've been caught here.
Is it possible to make this work along the way we thought it should?
1) Inside a function, say tst() with the 'formula' and
Hin-Tak Leung wrote:
> Martin Maechler wrote:
>
>>>"Hin-Tak" == Hin-Tak Leung <[EMAIL PROTECTED]>
>>> on Fri, 18 Nov 2005 16:38:28 + writes:
>>
>>
>>Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
>>Hin-Tak> can tell you the answer...(most probably
consider adding the following clause to the optim documentation
describing SANN? I had to go look this up in the
optim.c code for a student who is not proficient
in C, and it may be simple enough to include it
in the documentation. (This replaces the existing
sentence that ends where the semi
On 11/18/2005 12:40 PM, Hin-Tak Leung wrote:
> Martin Maechler wrote:
>
>>>"Hin-Tak" == Hin-Tak Leung <[EMAIL PROTECTED]>
>>> on Fri, 18 Nov 2005 16:38:28 + writes:
>>
>>
>>Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
>>Hin-Tak> can tell you the
Martin Maechler wrote:
>>"Hin-Tak" == Hin-Tak Leung <[EMAIL PROTECTED]>
>>on Fri, 18 Nov 2005 16:38:28 + writes:
>
>
> Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
> Hin-Tak> can tell you the answer...(most probably haven't bothered...)
>
> N
Martin Maechler wrote:
>>"Hin-Tak" == Hin-Tak Leung <[EMAIL PROTECTED]>
>>on Fri, 18 Nov 2005 16:38:28 + writes:
>
>
> Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
> Hin-Tak> can tell you the answer...(most probably haven't bothered...)
>
> N
I put a response into the bug tracker, but I don't think it took. So
I'm sending this; apologies if it's a duplicate.
On Fri, Nov 18, 2005 at 04:38:28PM +, Hin-Tak Leung wrote:
> Your own fault.
Not on the evidence you presented. line 1.7 below is in error, but
that's not my input. My inp
> "Hin-Tak" == Hin-Tak Leung <[EMAIL PROTECTED]>
> on Fri, 18 Nov 2005 16:38:28 + writes:
Hin-Tak> Your own fault. See below. It is basic LaTeX and any LaTeX person
Hin-Tak> can tell you the answer...(most probably haven't bothered...)
No. Whereas I partly agree that it's
On Fri, 18 Nov 2005, Christoph Buser wrote:
> Dear R core team
and R-devel-listers.
> Using the following code produces an empty plot (similar
> to col = NA):
>
>> plot(1:9, col = factor(rep(1:3,3), labels = c("red", "blue", "black")))
>
>
> My question: Shouldn't one get at least a warning (or
Dear R core team
Using the following code produces an empty plot (similar
to col = NA):
> plot(1:9, col = factor(rep(1:3,3), labels = c("red", "blue", "black")))
My question: Shouldn't one get at least a warning (or an error)
if one tries to use a factor as col argument?
Thanks
Your own fault. See below. It is basic LaTeX and any LaTeX person
can tell you the answer...(most probably haven't bothered...)
[EMAIL PROTECTED] wrote:
> Full_Name: Ross Boylan
> Version: 2.2.0
> OS: Linux
> Submission from: (NULL) (65.175.48.58)
>
>
> \eqn{{\bf\beta}_j}{b(j)} in my .Rd file
On 11/18/2005 10:22 AM, Vasundhara Akkineni wrote:
> Hi all,
> I am trying to display a matrix of plots(images), for example a 3*3 matrix
> of 9 image plots, such that when a user clicks on a image i can show the
> enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and
> mfg), b
Hi all,
I am trying to display a matrix of plots(images), for example a 3*3 matrix
of 9 image plots, such that when a user clicks on a image i can show the
enlarged plot. I tried the multiple graphic device(using mfcol=c(3,3) and
mfg), but it creates multiple plots in a single image file. So, i wo
On 11/18/2005 7:04 AM, [EMAIL PROTECTED] wrote:
> To my knowledge, this has not been reported previously, and doesn't
> seem to have been changed in R-devel or R-patched.
>
> If M is a matrix with coloumn names, and
>
> mod <- prcomp(M) # or princomp
>
> then predicting a single observation (ro
On 11/18/2005 7:04 AM, [EMAIL PROTECTED] wrote:
> To my knowledge, this has not been reported previously, and doesn't
> seem to have been changed in R-devel or R-patched.
>
> If M is a matrix with coloumn names, and
>
> mod <- prcomp(M) # or princomp
>
> then predicting a single observation (ro
To my knowledge, this has not been reported previously, and doesn't
seem to have been changed in R-devel or R-patched.
If M is a matrix with coloumn names, and
mod <- prcomp(M) # or princomp
then predicting a single observation (row) with predict() gives the
error
Error in scale.default(newdat
P Ehlers wrote:
> Actually, my guess about PACKAGES was wrong. I just removed Matrix
> and re-installed Matrix_0.99-2 (Rgui: Packages menu) from CRAN and
> had no problems.
The outdated Matrix version will disappear from CRAN master within 24
hours. Two versions in the repository do not cause a
21 matches
Mail list logo