Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-30 Thread Martin Maechler
SU == Simon Urbanek [EMAIL PROTECTED] on Thu, 29 May 2008 20:06:21 -0400 writes: SU On May 29, 2008, at 6:11 PM, Mark Kimpel wrote: Esmail and Simon, I would direct you to the very first sentence of my original post, I would like to build R and packages with the Intel

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-30 Thread Prof Brian Ripley
On Fri, 30 May 2008, Martin Maechler wrote: [Adding Mark Kimpel back to the recipients] SU == Simon Urbanek [EMAIL PROTECTED] on Thu, 29 May 2008 20:06:21 -0400 writes: SU On May 29, 2008, at 6:11 PM, Mark Kimpel wrote: Esmail and Simon, I would direct you to the very first

Re: [Rd] problem building R packages on RHEL 4 Linux with Intel compilers

2008-05-30 Thread Bjørn-Helge Mevik
Mark Kimpel [EMAIL PROTECTED] writes: I would like to build R and packages with the Intel 10.1 compilers in RHEL4. We are successfully building R and packages with the Intel 10.1 compilers on RHEL4 (except a few packages, which will not compile with 10.1, but with 9.1). We also use the Intel

Re: [Rd] Listing all possible samples of Size two form Large Population

2008-05-30 Thread Ben Bolker
Nadeem Shafique nadeemshafique at gmail.com writes: Respected All, I need some efficient program or package to draw all possible samples of size two without replacement. I am using combinat package to list all possible samples but it hangs my computer for larger populations say 10,000

[Rd] Quartile summary generated by density() is misleading (PR#11541)

2008-05-30 Thread ierickson
Full_Name: Ian Erickson Version: 2.5.1 (2007-06-27) OS: x86_64-redhat-linux-gnu Submission from: (NULL) (204.16.153.138) The quartile breaks reported by the density() function should intuitively be cumulative density quartiles for the distribution being estimated. However, what is calculated is

[Rd] help (using ?) does not handle trailing whitespace (PR#11537)

2008-05-30 Thread rocket
?agrep Results in: No documentation for 'agrep ' in specified packages and libraries: you could try 'help.search(agrep )' There is white space after agrep, that ? doesn't ignore. --please do not edit the information below-- Version: platform = i486-pc-linux-gnu arch = i486 os =

[Rd] Reading an unsigned long long using R readBin()

2008-05-30 Thread Sean Davis
Sorry for the simple question, but I am trying to read an unsigned long long using the R readBin() function. Can someone point me in the right direction, or am I better off using C for such things? The file that I am reading will have been produced on the same machine that is doing the reading.

[Rd] scoping problem when calling lm(precomputed formula, weights) from function (PR#11540)

2008-05-30 Thread rocket
I've run into a scoping problem in R. I'm calling a function that * creates a formula * calculates a weight vector * calls lm with that formula and weights This fails. Here's a simplified reproduce example: # f works, g doesn't, h is a workaround rm(w) data - data.frame(y=runif(20),

Re: [Rd] Reading an unsigned long long using R readBin()

2008-05-30 Thread Simon Urbanek
On May 29, 2008, at 2:41 PM, Sean Davis wrote: Sorry for the simple question, but I am trying to read an unsigned long long using the R readBin() function. Can someone point me in the right direction, or am I better off using C for such things? The file that I am reading will have been

Re: [Rd] Reading an unsigned long long using R readBin()

2008-05-30 Thread Prof Brian Ripley
Well, R has no unsigned quantities, so ultimately you can't actually do this. But using what=int and an appropriate 'size' (likely to be 8) shold read the numbers, wrapping around very large ones to be negative. (The usual trick of storing integers in numeric will lose accuracy, but might be

Re: [Rd] scoping problem when calling lm(precomputed formula, weights) from function (PR#11540)

2008-05-30 Thread Gabor Grothendieck
Try replacing the last line in g with: lmout - do.call(lm, list(Formula, data = data, weights = w)) coef(lmout) or replace w with environment()$w thereby explicitly telling it where to look. On Fri, May 30, 2008 at 11:40 AM, [EMAIL PROTECTED] wrote: I've run into a scoping problem in R. I'm

Re: [Rd] Reading an unsigned long long using R readBin()

2008-05-30 Thread Duncan Murdoch
On 5/30/2008 1:55 PM, Prof Brian Ripley wrote: Well, R has no unsigned quantities, so ultimately you can't actually do this. But using what=int and an appropriate 'size' (likely to be 8) shold read the numbers, wrapping around very large ones to be negative. (The usual trick of storing

Re: [Rd] scoping problem when calling lm(precomputed formula, weights) (PR#11543)

2008-05-30 Thread murdoch
On 5/30/2008 11:40 AM, [EMAIL PROTECTED] wrote: I've run into a scoping problem in R. No, in your use of it. I'm calling a function that * creates a formula ... incorrectly. * calculates a weight vector * calls lm with that formula and weights This fails. Here's a simplified

Re: [Rd] (PR#11537) help (using ?) does not handle trailing whitespace

2008-05-30 Thread Prof Brian Ripley
We don't know how to reproduce this: 'whitespace' is not specific enough. R's tokenizer breaks input at spaces, so a space would never be part of that expression. And tabs don't even get to the parser in interactive use, and you cannot mean a newline. So exactly what do you mean by

[Rd] NAMESPACE methods guidance, please

2008-05-30 Thread Martin Morgan
My conception of how NAMESPACE and methods in R-2.7.0 resolved a generic 'func' to a func-method was to search as follows: In 2.7.0: func -- NAMESPACE, including Imports: (and other details) -- .GlobalEnv, and eventually Depends: since these are on search() In R-devel it seems like

Re: [Rd] Reading an unsigned long long using R readBin()

2008-05-30 Thread Bill Dunlap
On Fri, 30 May 2008, Prof Brian Ripley wrote: On Fri, 30 May 2008, Duncan Murdoch wrote: On 5/30/2008 1:55 PM, Prof Brian Ripley wrote: Well, R has no unsigned quantities, so ultimately you can't actually do this. But using what=int and an appropriate 'size' (likely to be 8) shold read

[Rd] Request: Documentation of formulae

2008-05-30 Thread Mike Prager
In working through material on p.272 of MASS (4th ed.), I came across the following model formula: pet1.lm - lm(Y ~ No/EP - 1, Petrol) I was at a loss to understand the use of / until I looked in An Introduction [!] to R, where I found the explanation. My request is that more complete material

Re: [Rd] Request: Documentation of formulae

2008-05-30 Thread markleeds
This isn't particularly helpful because the book is quite old but formula notation/functionality is covered in depth in Statistical Models in S by Chambers and Hastie. My guess is that there is strong consistency between what is said in there and how things work in R. On Fri, May 30,

Re: [Rd] (PR#11537) help (using ?) does not handle trailing whitespace

2008-05-30 Thread Prof Brian Ripley
I think it is ESS that is parsing this as a help request (so it can divert it to an ESS buffer). Looks like this is an ESS issue, not an R one. Using ?agrep will fail in R, but that seems correct as there is no topic agrep . On Fri, 30 May 2008, Tim Hesterberg wrote: By whitespace, I