[RQt-devel] "[[" method

Michael Lawrence lawrence.michael at gene.com
Fri Sep 17 13:12:50 CEST 2010


On Fri, Sep 17, 2010 at 1:06 AM, Deepayan Sarkar
<deepayan.sarkar at gmail.com>wrote:

> Currently:
>
> > Qt$QPrinter$Letter
> Enum value: Letter (2)
> > Qt$QPrinter[["Letter"]]
> Error in Qt$QPrinter[["Letter"]] :
>  object of type 'closure' is not subsettable
>
> Any reason not to define
>
> `[[.RQtClass` <- function(x, name)
> {
>    attr(x, "env")[[name]]
> }
>
>
Just an oversight. Please go right ahead and add it.

Thanks,
Michael


> ?
>
> -Deepayan
> _______________________________________________
> 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/20100917/f166e974/attachment.htm>


More information about the Qtinterfaces-devel mailing list