This is a very simple change at C level: the !R_FINITE(p) test is
incorrect for log_p != 0.
Changed now.
On Wed, 23 Nov 2005, Spencer Graves wrote:
> Hi, All:
>
> For most but not all cases, qbinom is the inverse of pbinom.
> Consider the following example, which generates an exception
On Thu, 24 Nov 2005, Rich FitzJohn wrote:
> Hi,
>
> Infinite recursion in S3 methods seem to crash R on Windows 2000 (R
> terminating with the ("Rgui.exe has generated errors...") message,
> rather than throwing an error. This happens with both Rgui and Rterm.
>
> The following toy example trigge
Henrik Bengtsson wrote:
> Hi, thanks everyone.
>
> Some comments below:
>
> Peter Dalgaard wrote:
>
>>Henrik Bengtsson <[EMAIL PROTECTED]> writes:
>>
>>
>>
>>>Hi,
>>>
>>>is there a function in R already doing what I try to do below:
>>>
>>># Let 'x' be an array with *any* number of dimensions (>
Hi, thanks everyone.
Some comments below:
Peter Dalgaard wrote:
> Henrik Bengtsson <[EMAIL PROTECTED]> writes:
>
>
>>Hi,
>>
>>is there a function in R already doing what I try to do below:
>>
>># Let 'x' be an array with *any* number of dimensions (>=1).
>>x <- array(1:24, dim=c(2,2,3,2))
>>...
Hi, trying the same on WinXP I get
:R 2.1.1 Patched (2005-09-19)
> myf(1)
Error: protect(): protection stack overflow
R 2.2.0 Patched (2005-11-21 r36410):
> myf(1)
Error: evaluation nested too deeply: infinite recursion /
options(expressions=)?
> options(expressions=5)
> myf(1)
Error: pr
On Wed, 2005-11-23 at 15:47 -0800, Kasper Daniel Hansen wrote:
> Well you can have a look at etc/Makeconf. I have had some troubles
> understanding the make process myself (which probably reveals I am
> not a make guru), but it really depends on what you want to
> accomplish - and from a cert
Well you can have a look at etc/Makeconf. I have had some troubles
understanding the make process myself (which probably reveals I am
not a make guru), but it really depends on what you want to
accomplish - and from a certain perspective it is all documented in
the sources.
I think you nee
Writing R Extensions mentions that a package developer can provide a
Makefile, but gives very little information about what should be in it.
It says there must be a clean target, and later on there's mention of
$(SHLIB): $(OBJECTS)
$(SHLIB_LINK) -o $@ $(OBJECTS) $(ALL_LIBS)
(in t
Hi, All:
For most but not all cases, qbinom is the inverse of pbinom.
Consider the following example, which generates an exception:
> (pb01 <- pbinom(0:1, 1, .5, log=T, lower.tail=FALSE))
[1] -0.6931472 -Inf
Since "lower.tail=FALSE", Pr{X>1} = 0 in this context, and l
Hi,
Infinite recursion in S3 methods seem to crash R on Windows 2000 (R
terminating with the ("Rgui.exe has generated errors...") message,
rather than throwing an error. This happens with both Rgui and Rterm.
The following toy example triggers this:
myf <- function(x, ...)
UseMethod("myf")
my
> Prof Brian Ripley writes:
> I've some playing with the Intel compilers, currently only on ia32. As
> far as I can see Intel provides compilers for only two OSes and on 50% of
> those -fPIC is wrong so I do think this is really Linux-specific.
> I have put in a Linux-specific change to set
I was somewhat more successful testing the Intel EM64T compilers (on an
Opteron). The masquerading as gcc means the default for CFLAGS is "-g
-O2" which again is problematic: I had to include -mp in all the compiler
flags to ensure that IEC60059 arithmetic was used.
After all that, the Intel c
On 23 Nov 2005, [EMAIL PROTECTED] wrote:
> I can see no change in the relevant code since 2.2.0 and the release
> version of 2.2.0 does this for me.
>
> It seems to be a long-standard error in rui.c that only 10 menus are
> allocated but 16 are tested for.
Would it be possible for the allocation
I've some playing with the Intel compilers, currently only on ia32. As
far as I can see Intel provides compilers for only two OSes and on 50% of
those -fPIC is wrong so I do think this is really Linux-specific.
I have put in a Linux-specific change to set FPICFLAGS, but that is the
least of the
I suppose one can make use of slice.index():
> array(x[slice.index(x, 1) == 1], dim(x)[-1])
[,1] [,2]
[1,]1 13
[2,]5 17
[3,]9 21
Andy
> From: Henrik Bengtsson
>
> Hi,
>
> is there a function in R already doing what I try to do below:
>
> # Let 'x' be an array with *any
Henrik Bengtsson <[EMAIL PROTECTED]> writes:
> Hi,
>
> is there a function in R already doing what I try to do below:
>
> # Let 'x' be an array with *any* number of dimensions (>=1).
> x <- array(1:24, dim=c(2,2,3,2))
> ...
> x <- array(1:24, dim=c(4,3,2))
>
> i <- 2:3
>
> ndim <- length(dim(x
I can see no change in the relevant code since 2.2.0 and the release
version of 2.2.0 does this for me.
It seems to be a long-standard error in rui.c that only 10 menus are
allocated but 16 are tested for.
On Wed, 23 Nov 2005, Uwe Ligges wrote:
> Martin Morgan wrote:
>
>> The following
>>
>> w
You can look at the definition of 'corner' in the public
domain area of the Burns Statistics website. It uses
'do.call' on '[' to achieve (sort of) what you want.
Patrick Burns
[EMAIL PROTECTED]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User"
hi everybody,
which each release I hope that the section
"weights: an optional numeric vector of (fixed) weights. When present,
the objective function is weighted least squares. _not yet
implemented_"
in the help page of 'nls' is missing the last sentence.
are their any p
Hi,
is there a function in R already doing what I try to do below:
# Let 'x' be an array with *any* number of dimensions (>=1).
x <- array(1:24, dim=c(2,2,3,2))
...
x <- array(1:24, dim=c(4,3,2))
i <- 2:3
ndim <- length(dim(x))
if (ndim == 1)
y <- x[i]
else if (ndim == 2)
y <- x[i,]
else
On Mon, 2005-11-21 at 10:27 +, Hin-Tak Leung wrote:
> Kurt Hornik wrote:
>
> > Definitely a problem in Rdconv.
> >
> > E.g.,
> >
> > $ cat foo.Rd
> > \description{
> > \eqn{{A}}{B}
> > }
> > [EMAIL PROTECTED]:~/tmp$ R-d CMD Rdconv -t latex foo.Rd | grep eqn
> > \eqn{{A}}{A}{{B}
> >
> > s
Ross Boylan wrote:
> On Mon, 2005-11-21 at 10:27 +, Hin-Tak Leung wrote:
>
>>Kurt Hornik wrote:
>>
>>
>>>Definitely a problem in Rdconv.
>>>
>>>E.g.,
>>>
>>>$ cat foo.Rd
>>>\description{
>>> \eqn{{A}}{B}
>>>}
>>>[EMAIL PROTECTED]:~/tmp$ R-d CMD Rdconv -t latex foo.Rd | grep eqn
>>>\eqn{{A}}{
Martin Morgan wrote:
> The following
>
> winMenuAdd("X")
> for (i in 1:20) winMenuAdd(paste("X",i, sep="/"))
>
> generates an (incorrect) error after adding 12 menu items:
>
> Error in winMenuAdd(menuname, NULL, NULL) :
> unable to add menu (base menu does not exist)
>
> More elaborat
On Tue, 22 Nov 2005, Liaw, Andy wrote:
> From: [EMAIL PROTECTED]
>>
>> On Tuesday 22 November 2005 12:55, [EMAIL PROTECTED] wrote:
> [snip]
>>> Since it is unstable and=20
>>> unreleased, such things are by definition not bugs in R.
>>
>> Sorry, I did not know this. I thought that my report could
24 matches
Mail list logo