Hello,
I have quite a few programs that I have written over the last 5 years
that rely on the old R engine (2.6.2 and earlier) returning a null when
an invalid index is used, as in:
> df <- data.frame(x = 1)
> df[,'y']
NULL
Is there a way to tell R to return NULLs instead of raising e
Calling parse(text=quote(name)) or text=as.name("name")
makes parse() prompt for input from the command line
and then it returns a parse of the initial characters
of 'name' (depending on how many characters were typed
at the prompt). E.g.,
> parse(text=quote(myName))
?1/3
expression(myN
I'm resending this after a week ... I really don't want to nag, but
I also would not like to see this sink below the waves.
Is there a preferred protocol for requesting comments without nagging
too much? I would add a comment to 14219 (and was curious to see
whether it was rejected) ... I w
On Mar 12, 2010, at 1:29 PM, Ben Bolker wrote:
>
> I'm resending this after a week ... I really don't want to nag, but
> I also would not like to see this sink below the waves.
>
It has been closed as feature/FAQ with the note:
"As documented on the help page!"
> Is there a preferred proto
In R versions 2.10.1 and "2.11.0 Under development
(unstable) (2010-03-07 r51225)" on Windows I get the
following if I type the commands at the start of
the session. Note how the attribute attached to
the name "Response" by the initial call to structure()
seems to get tied to that name for the rem
Since symbols/names are reference objects this behavior in unavoidable
if we allow attributes to be added to them. On the other hand, I'm
not sure it makes sense to allow that. Attempting to set an attribute
on NULL signals an error; it would probably make sense to do the same
for any name object
> -Original Message-
> From: l...@stat.uiowa.edu [mailto:l...@stat.uiowa.edu]
> Sent: Friday, March 12, 2010 4:24 PM
> To: William Dunlap
> Cc: r-devel@r-project.org
> Subject: Re: [Rd] symbol name caching bug: attributes get
> tied to symbol names
>
> Since symbols/names are reference o
I am using R-2-10 from subversion.
In the implementation of do_listfiles() in platform.c, it appears to
allocate a vector of length count where count is calculated by
count_files(). It then proceeds to call list_files(), passing in the
vector but not the value of count. Yet list_files() doesn't se
Thanks Simon!
How irritating/wrong would it be if I opened a new bug to submit my
suggested documentation patch? As detailed below, I think the
documentation is somewhat confusing (it depends on a highly non-standard
definition of "standard deviation" ...)
cheers
Ben Bolker
Simon Urb