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