Martin Morgan <[EMAIL PROTECTED]> writes:
> bindingIsLocked applied to a locked binding returns a 'logical' that
> is niether true nor false.
Is this a philosophical question? :-)
Here's what I think is going on:
BINDING_IS_LOCKED does not return 0/1, but the result of a bit op that
will be eit
[Seth Falcon]
>[François Pinard]
>> [Seth Falcon]
>>>Here's a function you could try.
>> Thanks, Seth. Your code could be useful, I'm saving it. :-)
>You make it sound like that code is going to mature like a wine.
>I'd say, if it isn't useful now, it will be less useful later, but hey,
>disk s
François Pinard <[EMAIL PROTECTED]> writes:
> [Seth Falcon]
>>Here's a function you could try. It names the result as you
>>suggested. It also can be nested, which system.time cannot, because
>>it uses on.exit without specifying add=TRUE.
>
> Thanks, Seth. Your code could be useful, I'm saving
[Seth Falcon]
>[François Pinard]
>> Hi, people. A tiny suggestion for the system.time function.
>> Could the returned vector have names? These could be like:
>>c("User", "System", "Elapsed", "Sub.User", "Sub.System")
>> That would then produce self-documenting output.
>Here's a function you
François Pinard <[EMAIL PROTECTED]> writes:
> Hi, people. A tiny suggestion for the system.time function.
>
> Could the returned vector have names? These could be like:
>
>c("User", "System", "Elapsed", "Sub.User", "Sub.System")
>
> That would then produce self-documenting output.
Here's a
bindingIsLocked applied to a locked binding returns a 'logical' that
is niether true nor false.
Martin
> e <- new.env()
> e$x <- 1
> e$y <- 2
> lockBinding("x", e)
NULL
> bindingIsLocked("x", e)
[1] TRUE
> bindingIsLocked("x", e)==TRUE
[1] FALSE
> bindingIsLocked("x", e)==FALSE
[1] FALSE
> bindin
Hi, people. A tiny suggestion for the system.time function.
Could the returned vector have names? These could be like:
c("User", "System", "Elapsed", "Sub.User", "Sub.System")
That would then produce self-documenting output.
--
François Pinard http://pinard.progiciels-bpi.ca
__
> "MartinM" == Martin Maechler maechler at stat.math.ethz.ch
>Sat, May 13 2006 15:16:19 +0200 writes:
MartinM> But have you looked at R 2.3.0-patched at all?
MartinM>
MartinM> I did acknowledge that str() had become
MartinM> unacceptably slow, and had implemented a simple pa