> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]>
> on Thu, 21 Dec 2006 22:07:27 -0800 writes:
DeepS> The old apropos started with: if
DeepS> (!is.character(what)) what <-
DeepS> as.character(substitute(what))
DeepS> The new one has:
DeepS>if (character.only) s
Hi Michael,
can you please
- use a simple reproducible example --
just for the convenience of your readers
- use R-help. This is really a question about R.
> "Michael" == Michael <[EMAIL PROTECTED]>
> on Thu, 21 Dec 2006 11:08:15 -0600 writes:
Michael> I stumbled upon thi
Thanks!
I took the opportunity to run aspell over all the help pages, so this
turned into a few dozen small corrections.
On Thu, 21 Dec 2006, Ben Bolker wrote:
>
> in 2.4.1:
>
> under Value,
>
> "The replacment [sic] form sets the formals of a function ..."
>
>
--
Brian D. Ripley,
The function "substitute" seems to fail to make a genuine
substitution, although the printed verision seems fine. Here is an
example.
> m <- substitute(Y <- function(x) FUN(x+1),
+ list(Y = as.name("y"), FUN = as.name("sin")))
> m
y <- function(x) sin(x + 1)
> eval(m)
> y
function(x) FUN(x+1)
H
[EMAIL PROTECTED] wrote:
> The function "substitute" seems to fail to make a genuine
> substitution, although the printed verision seems fine. Here is an
> example.
>
>
>> m <- substitute(Y <- function(x) FUN(x+1),
>>
> + list(Y = as.name("y"), FUN = as.name("sin")))
>
>> m
>>
> y
Try issuing the command:
options(keep.source = FALSE)
prior to running the code you displayed to force the actual source,
rather than the source attribute, to be displayed by print when printing
functions.
On 12/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The function "substitute" s
> Martin Maechler writes:
> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]>
> on Thu, 21 Dec 2006 22:07:27 -0800 writes:
DeepS> The old apropos started with: if
DeepS> (!is.character(what)) what <-
DeepS> as.character(substitute(what))
DeepS> The new one has:
DeepS> if (character
On Fri, 22 Dec 2006, Kurt Hornik wrote:
>> Martin Maechler writes:
>
>> "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]>
>> on Thu, 21 Dec 2006 22:07:27 -0800 writes:
>
> DeepS> The old apropos started with: if
> DeepS> (!is.character(what)) what <-
> DeepS> as.character(substitute(w
Ok, so be it:
We have seen that both apropos() and find()
have used `some' non-standard evaluation up to R 2.4.1
which gave quite incosistent behavior.
Getting rid of non-standard evaluation get's rid of all
inconsistencies but of course is not back-compatible either.
I'll do this.
Martin
I have not been followin this thread but if apropos is changed note that
the
Help | Apropos
menu item in Windows may to be changed depending on what the
change is.
On 12/22/06, Martin Maechler <[EMAIL PROTECTED]> wrote:
> Ok, so be it:
>
> We have seen that both apropos() and find()
> have used
Full_Name: Xiao Gang FAN
Version: 2.4.0
OS: Windows XP
Submission from: (NULL) (159.50.101.9)
Dear All,
This is not really a bug report, but rather a change wish to the Base R
behaviour
on some functions when applying them to character strings vectors/matrices.
Actually in R, we can do thinks l
On 12/22/2006 10:20 AM, [EMAIL PROTECTED] wrote:
> Full_Name: Xiao Gang FAN
> Version: 2.4.0
> OS: Windows XP
> Submission from: (NULL) (159.50.101.9)
>
>
> Dear All,
>
> This is not really a bug report, but rather a change wish to the Base R
> behaviour
> on some functions when applying them to
On 22 Dec 2006, Martin Maechler wrote:
> - use a simple reproducible example --
> just for the convenience of your readers
Sending email directly to r-devel doesn't seem to work for me. So I'm
resend this via gmane.
Here is an example:
> rm (list = ls())
> x <- 1:10
> mdata <- data.frame (z
On 12/22/06, Martin Maechler <[EMAIL PROTECTED]> wrote:
> > "DeepS" == Deepayan Sarkar <[EMAIL PROTECTED]>
> > on Thu, 21 Dec 2006 22:07:27 -0800 writes:
>
> DeepS> The old apropos started with: if
> DeepS> (!is.character(what)) what <-
> DeepS> as.character(substitute(what)
You haven't told us what you consider to be the bug here. Note that the
help page for update says
'update' will update and (by default) re-fit a model. It does this
by extracting the call stored in the object, updating the call and
(by default) evaluating that call. Sometimes it
On 22 Dec 2006, Brian Ripley wrote:
> 'update' will update and (by default) re-fit a model. It does this
> by extracting the call stored in the object, updating the call and
> (by default) evaluating that call. Sometimes it is useful to call
> 'update' with only one argument, for example if the da
Thanks Peter. I see the dilemma. It is serious in my view, though,
even if I can't see an elegant way round it.
I guess the only possibilities are
1. Only keep the source in printing or, much more seriously, dumping, if
the source attribute parses to an object structually identical to the
funct
17 matches
Mail list logo