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
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, 20
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 mate
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)
>
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
fu
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
'whitespa
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 simp
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 rep
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 the numbers, wrapping around very large ones to be
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 intege
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.
>
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
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
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), x=ru
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.
> ?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 = lin
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 i
Nadeem Shafique 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 (i.e. 4999
"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 Int
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
> "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 wit
21 matches
Mail list logo