Re: [Rd] how to manipulate dput output format

2012-06-20 Thread Simon Urbanek
On Jun 19, 2012, at 11:04 AM, andre zege wrote: > I am reading into Java dput output for a matrix, more specifically for a > file backed big-matrix. I basically need to lift dimnames for a matrix from > dput output. It's no big deal, but the code is very 'hackish' due to the > need to get rid of

Re: [Rd] how to manipulate dput output format

2012-06-20 Thread Dirk Eddelbuettel
On 20 June 2012 at 10:33, Simon Urbanek wrote: | | On Jun 19, 2012, at 11:04 AM, andre zege wrote: | | > I am reading into Java dput output for a matrix, more specifically for a | > file backed big-matrix. I basically need to lift dimnames for a matrix from | > dput output. It's no big deal, but

Re: [Rd] "Incompatible methods" for overloaded operator

2012-06-20 Thread Hadley Wickham
Hi all, Any ideas about this? As far as I can tell it should work - and I don't understand why it's ok when run outside of a package. Hadley On Wed, Jun 13, 2012 at 7:41 PM, Winston Chang wrote: > I'm trying to overload an operator, and I'm running into a strange problem. > It happens when I i

Re: [Rd] "Incompatible methods" for overloaded operator

2012-06-20 Thread Martin Morgan
On 06/20/2012 07:25 PM, Hadley Wickham wrote: Hi all, Any ideas about this? As far as I can tell it should work - and I don't understand why it's ok when run outside of a package. from ?groupGeneric under 'Ops' (of which "+" is one) used. If different methods are found, there is a

Re: [Rd] "Incompatible methods" for overloaded operator

2012-06-20 Thread Hadley Wickham
> from ?groupGeneric under 'Ops' (of which "+" is one) > >          used.  If different methods are found, there is a warning >          about 'incompatible methods': in that case or if no method is >          found for either argument the internal method is used. > > which doesn't really explain w

Re: [Rd] S4 Reference Classes: declaring public and private methods

2012-06-20 Thread Martin Morgan
On 06/18/2012 01:01 AM, Janko Thyson wrote: Dear list, is there a way to declare public and private methods in S4 Reference Classes? If not, are there plans to add such a feature? Hi Janko -- your question is a little ambiguous; if it's about a built-in facility to create public vs. private m

Re: [Rd] "Incompatible methods" for overloaded operator

2012-06-20 Thread Martin Morgan
On 06/20/2012 08:06 PM, Hadley Wickham wrote: from ?groupGeneric under 'Ops' (of which "+" is one) used. If different methods are found, there is a warning about 'incompatible methods': in that case or if no method is found for either argument the internal method i

Re: [Rd] "Incompatible methods" for overloaded operator

2012-06-20 Thread Winston Chang
On Wed, Jun 20, 2012 at 10:49 PM, Martin Morgan wrote: > On 06/20/2012 08:06 PM, Hadley Wickham wrote: > >> But aren't the methods compatible? If equality doesn't make a method >> compatible what does? >> > > Actually I guess that turns out to be the key (to why they work at the > command line b