Hi List,
Is it possible to define how 'in' works for an object of a specific class
(to achieve a similar result to implementing the iterator protocol in a
class Python)?
Cheers,
Simon Knapp
[[alternative HTML version deleted]]
__
R-devel@r-pro
Martin Maechler wrote:
> diag(x) preserves the storage mode of x for 'complex' and
> 'double' precision, but converts integer and logicals to double :
Duncan Murdoch wrote:
> I think the change to preserve integer makes sense, but preserving
> logical does not. A diagonal matrix has zeros off
Would you allow a list argument to diag() as well? I see that
Matrix::Diagonal does not accept it. Perhaps nothing in Matrix deals
with matrices of lists, but they are handy and for diag() it may be
simpler to allow lists than to check for and reject them.
Bill Dunlap
TIBCO Software
wdunlap tibco
On Aug 10, 2014, at 10:07 PM, Winston Chang wrote:
> Another oddity - even though there's an error thrown in assignment to
> x$y$z, the assignment succeeds.
>
> x <- new.env()
> x$y <- new.env()
> lockEnvironment(x, bindings = TRUE)
> x$y$z <- 1
> # Error in x$y$z <- 1 : cannot change value of
On 11 Aug 2014, at 15:46 , André Z. D. A. wrote:
> No, Peter, I have the "(2014-07-10, Sock it to Me) R-3.1.1.tar.gz" source.
> Thanks for pointing it. So (I hope) it should be ok. Right?
Not unlikely. (I goofed and thought that it only affected the development
version.)
Check
kpsewhich in
No, Peter, I have the "(2014-07-10, Sock it to Me) R-3.1.1.tar.gz" source.
Thanks for pointing it. So (I hope) it should be ok. Right?
Peter Dalgaard, Professor wrote:
> If you are playing with the R-devel branch (or rather, trunk), then just hold
> your horses for a little while. There
> Duncan Murdoch
> on Fri, 8 Aug 2014 10:51:10 -0400 writes:
Thank you, Duncan (read inline)
> On 07/08/2014, 4:51 AM, Martin Maechler wrote:
>> This is not at all something new(*). As maintainer of the
>> Matrix package, I don't like this inconsistency of base
>> R'
On 09 Aug 2014, at 16:50 , André Z. D. A. wrote:
>> Worst case is that you'll have to install TeX in your local user directory.
>
> I'll try to find it again. The search I tried didn't look as easy, very few
> results, none helpful. And if I could install *just the fonts* on my local
> dir, i