Re: [Rd] prod(0, 1:1000) ; 0 * Inf etc

2008-04-21 Thread Berwin A Turlach
G'day Martin, On Mon, 21 Apr 2008 18:40:43 +0200 Martin Maechler <[EMAIL PROTECTED]> wrote: > I think most of us would expect prod(0:1000) to return 0, and ... > ... it does. > > However, many of us also expect > prod(x1, x2)to be equivalent to > prod(c(x1,x2)) > the same as we can e

Re: [Rd] prod(0, 1:1000) ; 0 * Inf etc

2008-04-21 Thread Bill Dunlap
On Mon, 21 Apr 2008, Mathieu Ribatet wrote: > I definitely do agree with you. > Basically, I see two different ways to proceed: > >1. one could first check if there are any 0 in the vector and then > return 0 without computing the product That would fail for prod(0,Inf), which should re

Re: [Rd] configure can't find dgemm in MKL10

2008-04-21 Thread Christopher Paciorek
Just to follow up on my previous email with some results about this that may be helpful as a guide for others... this was on a Linux box, Intel processor, R 2.6.2. Following Prof. Ripley's suggestion, we went the shared BLAS route and were able to get this working using Goto BLAS. The combinati

Re: [Rd] AddComment (gram.y)

2008-04-21 Thread Duncan Murdoch
Peter Danenberg wrote: >> They aren't "cannibalized", they are still there, where the source >> ref says they are. >> > > I was thinking along the lines of using parse() to unambiguously > associate a comment block with a code object; sure, srcref() retains > them: but that's no different than

Re: [Rd] R-2.7.0 RC (2008-04-20 r45403) fails fullcheck

2008-04-21 Thread apjaworski
Sorry. I should have looked at the sas.Rout. Indeed, the network file cannot be read. This seems to be the same problem that was happening a couple of versions ago and had to do with our firewall not allowing certain connections. The solution then was to use the --internet2 switch. The same th

Re: [Rd] R-2.7.0 RC (2008-04-20 r45403) fails fullcheck

2008-04-21 Thread Prof Brian Ripley
That check needs a (large) file from the internet. Your symptoms would be consistent with it being temporarily unavailable. I would have expected you to look at sas.Rout to see what happened. On Mon, 21 Apr 2008, [EMAIL PROTECTED] wrote: > > A strange thing happened. After installing the mos

[Rd] R-2.7.0 RC (2008-04-20 r45403) fails fullcheck

2008-04-21 Thread apjaworski
A strange thing happened. After installing the most recent RC version of 2.7 (2008-04-20 r45403) I compiled it as usual with no errors. After installing it I ran "make fullcheck". I got as far as testing recommended packages and I got the following: ... Testing package foreign ---

[Rd] "sub-optimal" message from R CMD INSTALL

2008-04-21 Thread Joerg van den Hoff
I received the following message when installing a private package: ** preparing package for lazy loading Loading required package: roiutils Loading required package: fzrutils Loading required package: pkc ** help >>> Building/Updating help pages for package 'psflib' Formats: text html latex examp

Re: [Rd] prod(0, 1:1000) ; 0 * Inf etc

2008-04-21 Thread Mathieu Ribatet
I definitely do agree with you. Basically, I see two different ways to proceed: 1. one could first check if there are any 0 in the vector and then return 0 without computing the product 2. or convert prod(x1, x2, x3) in prod(c(x1, x2, x3)) Both approaches are similar except for the pa

[Rd] prod(0, 1:1000) ; 0 * Inf etc

2008-04-21 Thread Martin Maechler
I think most of us would expect prod(0:1000) to return 0, and ... ... it does. However, many of us also expect prod(x1, x2)to be equivalent to prod(c(x1,x2)) the same as we can expect that for min(), max(), sum() and such members of the "Summary" group. Consequently, prod(0, 1:1000

[Rd] Creation of Dialog boxes

2008-04-21 Thread Ingrida
Dear, Forum members, My student are creating some functions to implement the median polish kriging (one of prediction method in geostatistic). She want to create some dialog box (to input some data) and menu. For this she is using winMenuAddItem and winDialogString commands in function. But WinDi