[RQt-devel] qdataFrameModel questions comments

Michael Lawrence lawrence.michael at gene.com
Fri Sep 10 00:45:13 CEST 2010


On Thu, Sep 9, 2010 at 3:07 PM, John Verzani <verzani at math.csi.cuny.edu>wrote:

> I've been playing around with qdataFrameModel and have the following
> comments:
>
> * NA for integer values prints a crazy string "-21474...". For numeric it
> prints "inf".
> * factors print out as their integer representation
>
> For this, and other reasons,  it might be nice to be able to set the
> display role (rather than it be the default) via .name.display
>
>
The display can be fixed up. I've recently done that for RGtkDataFrame.


> * names can't have a "." in them
>
>
Would a different symbol work? Only other option really is '_'. Could take a
completely different approach of specifying role - column mappings as extra
parameters to the function. I was not a big fan of that, because it is not
as self-contained.


> And a question:
>
> How can I subclass this class? I want to add a flags() method and setData()
> method to edit the values.
>
>
Perhaps it would have been a better idea to implement this in R. As it
stands, there's no interface for subclassing it.


> Thanks for any help. --John
>
>
> --
> John Verzani
> Chair, Department of Mathematics
> College of Staten Island, CUNY
> verzani at math.csi.cuny.edu
>
> _______________________________________________
> Qtinterfaces-devel mailing list
> Qtinterfaces-devel at lists.r-forge.r-project.org
>
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20100909/6e8aa5bd/attachment.htm>


More information about the Qtinterfaces-devel mailing list