Re: [Rd] how to manipulate dput output format

2012-06-25 Thread andre zege
On Mon, Jun 25, 2012 at 1:08 PM, Simon Urbanek wrote: > > On Jun 25, 2012, at 11:57 AM, andre zege wrote: > > > > > > > On Mon, Jun 25, 2012 at 11:17 AM, Simon Urbanek < > simon.urba...@r-project.org> wrote: > > > > On Jun 25, 2012, at 10:20 AM, andre zege wrote: > > > > > dput() is intended to be

Re: [Rd] how to manipulate dput output format

2012-06-25 Thread Simon Urbanek
On Jun 25, 2012, at 11:57 AM, andre zege wrote: > > > On Mon, Jun 25, 2012 at 11:17 AM, Simon Urbanek > wrote: > > On Jun 25, 2012, at 10:20 AM, andre zege wrote: > > > dput() is intended to be parsed by R so the above is not possible without > > massaging the output. But why in the would

Re: [Rd] how to manipulate dput output format

2012-06-25 Thread andre zege
On Mon, Jun 25, 2012 at 11:17 AM, Simon Urbanek wrote: > > On Jun 25, 2012, at 10:20 AM, andre zege wrote: > > > dput() is intended to be parsed by R so the above is not possible > without massaging the output. But why in the would would you use dput() for > something that you want to read in Jav

Re: [Rd] how to manipulate dput output format

2012-06-25 Thread Simon Urbanek
On Jun 25, 2012, at 10:20 AM, andre zege wrote: > dput() is intended to be parsed by R so the above is not possible without > massaging the output. But why in the would would you use dput() for something > that you want to read in Java? Why don't you use a format that Java can read > easily -

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

2012-06-25 Thread Winston Chang
This solution works - thanks for the feedback, everyone! On Thu, Jun 21, 2012 at 1:26 AM, Kohske Takahashi < takahashi.koh...@gmail.com> wrote: > In my view the class a and b should inherit same parent, like class c. > And S3methods should be defined for the class c. > > Actually, this is not a w

Re: [Rd] how to manipulate dput output format

2012-06-25 Thread andre zege
> > dput() is intended to be parsed by R so the above is not possible without > massaging the output. But why in the would would you use dput() for > something that you want to read in Java? Why don't you use a format that > Java can read easily - such as JSON? > > Cheers, > Simon > > > > > Yeap, e