[RQt-devel] qtgui obsolete forever?
Michael Lawrence
lawrence.michael at gene.com
Wed Aug 4 15:38:38 CEST 2010
The vignette probably needs to be fixed. The addressBook.R demo does use a
grid layout, but the syntax will need to be adjusted for QGraphicsView
framework.
It would be helpful if you could paste the code that does not work, along
with the error (or screenshot).
Btw, Deepayan, I'm giving the talk on qtpaint/qtbase stuff at JSM today.
Wish you could have made it.
Thanks,
Michael
On Wed, Aug 4, 2010 at 5:24 AM, Marie Vendettuoli <mariecv26 at gmail.com>wrote:
>
> >BTW, how can we specify the layout in the latest version of qtpaint?
> >The code in section 2.3 of the vignette does not work. Thanks!
>
> Try looking at addressBook.R under qtbase demos
>
>
> Marie
>
>
> On Wed, Aug 4, 2010 at 3:00 AM, <
> qtinterfaces-devel-request at lists.r-forge.r-project.org> wrote:
>
>> Send Qtinterfaces-devel mailing list submissions to
>>
>> qtinterfaces-devel at lists.r-forge.r-project.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>
>>
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/qtinterfaces-devel
>>
>> or, via email, send a message with subject or body 'help' to
>> qtinterfaces-devel-request at lists.r-forge.r-project.org
>>
>> You can reach the person managing the list at
>> qtinterfaces-devel-owner at lists.r-forge.r-project.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Qtinterfaces-devel digest..."
>>
>>
>> Today's Topics:
>>
>> 1. qtgui obsolete forever? (Yihui Xie)
>> 2. speed up parallel coordinates plot? (Yihui Xie)
>> 3. Re: qtgui obsolete forever? (Deepayan Sarkar)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 4 Aug 2010 01:52:59 -0500
>> From: Yihui Xie <xie at yihui.name>
>> Subject: [RQt-devel] qtgui obsolete forever?
>> To: qtinterfaces-devel
>>
>> <qtinterfaces-devel at lists.r-forge.r-project.org>
>> Message-ID:
>> <AANLkTinpmt5Cdnnzu_Cwe1rDQ0EMm9TqMu6H3f06VGrJ at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>>
>> Hi,
>>
>> I'm just wondering if the qtgui package will not be maintained any
>> more, because I still see some functions from this package are used in
>> cranvas (the repository on GitHub) such as qgraphicsScene() and
>> setRowPreferredHeight(), etc, and we have been unable to install qtgui
>> for a long time...
>>
>> BTW, how can we specify the layout in the latest version of qtpaint?
>> The code in section 2.3 of the vignette does not work. Thanks!
>>
>> Regards,
>> Yihui
>> --
>> Yihui Xie <xieyihui at gmail.com>
>> Phone: 515-294-6609 Web: http://yihui.name
>> Department of Statistics, Iowa State University
>> 3211 Snedecor Hall, Ames, IA
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 4 Aug 2010 02:14:31 -0500
>> From: Yihui Xie <xie at yihui.name>
>> Subject: [RQt-devel] speed up parallel coordinates plot?
>> To: qtinterfaces-devel
>>
>> <qtinterfaces-devel at lists.r-forge.r-project.org>
>> Message-ID:
>> <AANLkTi=6PmxB_tj=9M67X3FX1RiSXmVCpzE5Gn2Sz9OX at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi all,
>>
>> According to the suggestion in section 2.4 of the qtpaint vignette,
>> drawing segments will be generally faster than lines (if I understand
>> correctly). However, the experiment below shows segments might not be
>> faster (or even slower).
>>
>> ## speed for segments and lines?
>>
>> library(qtpaint)
>>
>> n=1e5; p=10
>> test=matrix(runif(n*p),ncol=p)
>> col=rainbow(n)
>> qtest1 = function(item, painter, exposed) {
>> print(system.time({
>> for (i in 1:n) {
>> qdrawLine(painter, 1:p, test[i, ], stroke = col[i])
>> }
>> }))
>> }
>> qtest2 = function(item, painter, exposed) {
>> print(system.time({
>> for (i in 1:n) {
>> qdrawSegment(painter, 1:(p-1), test[i, 1:(p-1)], 2:p, test[i,
>> 2:p], stroke = col[i])
>> }
>> }))
>> }
>>
>> if (exists('scene')) rm(scene)
>> scene=qscene()
>> qlayer(scene, qtest1, limits = qrect(c(1,p),c(0,1)))
>> qplotView(scene = scene)
>>
>> if (exists('scene')) rm(scene)
>> scene=qscene()
>> qlayer(scene, qtest2, limits = qrect(c(1,p),c(0,1)))
>> qplotView(scene = scene)
>>
>> ###################################################3
>>
>>
>> I guess the reason is there are not too many places to join among the
>> lines, which is the case in the parallel coordinates plot I've been
>> working on. The speed for interaction will be slow when the size of
>> data exceeds 1000x10, so I wonder if there are approaches to draw a
>> lot of lines/segments faster. (Using glyphs?)
>>
>> The source code for the par-coord plot is here:
>> http://github.com/bigbear/cranvas/tree/master/Yihui/ (qpcpEx.R
>> contains several examples)
>>
>>
>> Thanks!
>>
>> Regards,
>> Yihui
>> --
>> Yihui Xie <xieyihui at gmail.com>
>> Phone: 515-294-6609 Web: http://yihui.name
>> Department of Statistics, Iowa State University
>> 3211 Snedecor Hall, Ames, IA
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Wed, 4 Aug 2010 13:34:53 +0530
>> From: Deepayan Sarkar <deepayan.sarkar at gmail.com>
>> Subject: Re: [RQt-devel] qtgui obsolete forever?
>> To: Yihui Xie <xie at yihui.name>
>> Cc: qtinterfaces-devel
>>
>> <qtinterfaces-devel at lists.r-forge.r-project.org>
>> Message-ID:
>> <AANLkTi=YrhJDdTLk9qpWEgRQj9ZLeNsAPbwe9PbY2VFe at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>>
>> On Wed, Aug 4, 2010 at 12:22 PM, Yihui Xie <xie at yihui.name> wrote:
>> > Hi,
>> >
>> > I'm just wondering if the qtgui package will not be maintained any
>> > more, because I still see some functions from this package are used in
>> > cranvas (the repository on GitHub) such as qgraphicsScene() and
>> > setRowPreferredHeight(), etc, and we have been unable to install qtgui
>> > for a long time...
>>
>> There is no intention to resurrect qtgui.
>>
>> Some alternatives need to be worked out for things that no longer
>> work. I haven't had time to work on this for a while, but maybe
>> Michael can give you some hints.
>>
>> -Deepayan
>>
>> > BTW, how can we specify the layout in the latest version of qtpaint?
>> > The code in section 2.3 of the vignette does not work. Thanks!
>> >
>> > Regards,
>> > Yihui
>> > --
>> > Yihui Xie <xieyihui at gmail.com>
>> > Phone: 515-294-6609 Web: http://yihui.name
>> > Department of Statistics, Iowa State University
>> > 3211 Snedecor Hall, Ames, IA
>> > _______________________________________________
>> > 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
>> >
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> 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
>>
>>
>> End of Qtinterfaces-devel Digest, Vol 9, Issue 1
>> ************************************************
>>
>
>
> _______________________________________________
> 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/20100804/aacdbd6e/attachment-0001.htm>
More information about the Qtinterfaces-devel
mailing list