I have Ubuntu 11.04 64bit on my laptop with R 2.14, I guess Yihui has tried this combination already. We also have the same version of Qt library...<br><br><div class="gmail_quote">On Tue, May 3, 2011 at 12:23 PM, Michael Lawrence <span dir="ltr"><<a href="mailto:lawrence.michael@gene.com">lawrence.michael@gene.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, it's much more likely a change in Qt or the OpenGL stack that is causing this issue, instead of R. Does Tengfei have a different Ubuntu version? Could you please figure out the change in Qt versions?<br>
<br>Thanks,<br><font color="#888888">
Michael</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, May 3, 2011 at 10:09 AM, Yihui Xie <span dir="ltr"><<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
I've tried R 2.12.1 and it did not work. R 2.14 under development did<br>
not work either. It looks more like a problem related to a certain<br>
update on Qt instead of R itself. I upgraded to Ubuntu 11.04 from<br>
10.10 and there might also be a hardware driver update.<br>
<div><br>
Regards,<br>
Yihui<br>
--<br>
Yihui Xie <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>><br>
Phone: <a href="tel:515-294-2465" value="+15152942465" target="_blank">515-294-2465</a> Web: <a href="http://yihui.name" target="_blank">http://yihui.name</a><br>
Department of Statistics, Iowa State University<br>
2215 Snedecor Hall, Ames, IA<br>
<br>
<br>
<br>
</div><div><div></div><div>On Wed, Apr 27, 2011 at 10:54 PM, Yihui Xie <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>> wrote:<br>
> My home laptop is using 2.13.0. Di must be working with 2.12.x or lower.<br>
><br>
> Regards,<br>
> Yihui<br>
> --<br>
> Yihui Xie <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>><br>
> Phone: <a href="tel:515-294-2465" value="+15152942465" target="_blank">515-294-2465</a> Web: <a href="http://yihui.name" target="_blank">http://yihui.name</a><br>
> Department of Statistics, Iowa State University<br>
> 2215 Snedecor Hall, Ames, IA<br>
><br>
><br>
><br>
> On Wed, Apr 27, 2011 at 10:51 PM, Michael Lawrence<br>
> <<a href="mailto:lawrence.michael@gene.com" target="_blank">lawrence.michael@gene.com</a>> wrote:<br>
>><br>
>> On Apr 27, 2011 4:59 PM, "Yihui Xie" <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>> wrote:<br>
>>><br>
>>> I'm using the latest version of qtpaint from the github repository.<br>
>>><br>
>>> Just now I tested on my home laptop and the line width still works. I<br>
>>> know it also works on Di's Macbook.<br>
>>><br>
>><br>
>> Which version of R?<br>
>><br>
>>> I will reinstall R 2.12 tomorrow on the school laptop and see what<br>
>>> happens.<br>
>>><br>
>>> Regards,<br>
>>> Yihui<br>
>>> --<br>
>>> Yihui Xie <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>><br>
>>> Phone: <a href="tel:515-294-2465" value="+15152942465" target="_blank">515-294-2465</a> Web: <a href="http://yihui.name" target="_blank">http://yihui.name</a><br>
>>> Department of Statistics, Iowa State University<br>
>>> 2215 Snedecor Hall, Ames, IA<br>
>>><br>
>>><br>
>>><br>
>>> On Wed, Apr 27, 2011 at 5:06 PM, Michael Lawrence<br>
>>> <<a href="mailto:lawrence.michael@gene.com" target="_blank">lawrence.michael@gene.com</a>> wrote:<br>
>>> > Are you sure that you are not using a new version of qtpaint now vs.<br>
>>> > before?<br>
>>> > That would be helpful to know, if true.<br>
>>> ><br>
>>> > Thanks,<br>
>>> > Michael<br>
>>> ><br>
>>> > On Wed, Apr 27, 2011 at 3:00 PM, Yihui Xie <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>> wrote:<br>
>>> >><br>
>>> >> Hi,<br>
>>> >><br>
>>> >> I'm not sure if this is a problem related to R 2.13.0 or my hardware,<br>
>>> >> but I just cannot draw thicker lines or segments now. They do not<br>
>>> >> appear on the screen but they are actually there, because brushing<br>
>>> >> still works. It worked when I was using R 2.12. Other graphical<br>
>>> >> elements are still OK with 2.13.<br>
>>> >><br>
>>> >> s = qscene()<br>
>>> >> root = qlayer(s)<br>
>>> >> n = 10<br>
>>> >> x = rnorm(n, 50, 15)<br>
>>> >> y = runif(n, 20, 80)<br>
>>> >> test_layer = qlayer(root, function(layer, painter) {<br>
>>> >> qdrawCircle(painter, x, y, r = 20, fill = "black")<br>
>>> >> qlineWidth(painter) = 3 # only 1 works<br>
>>> >> qdrawSegment(painter, 10, 10, 90, 90)<br>
>>> >> }, limits = qrect(0, 0, 100, 100))<br>
>>> >> qplotView(s)<br>
>>> >><br>
>>> >><br>
>>> >> > sessionInfo()<br>
>>> >> R version 2.13.0 (2011-04-13)<br>
>>> >> Platform: x86_64-pc-linux-gnu (64-bit)<br>
>>> >><br>
>>> >> locale:<br>
>>> >> [1] en_US.utf8<br>
>>> >><br>
>>> >> attached base packages:<br>
>>> >> [1] stats graphics grDevices utils datasets methods base<br>
>>> >><br>
>>> >> other attached packages:<br>
>>> >> [1] qtbase_0.8-13 qtpaint_0.7.22<br>
>>> >><br>
>>> >><br>
>>> >> Regards,<br>
>>> >> Yihui<br>
>>> >> --<br>
>>> >> Yihui Xie <<a href="mailto:xieyihui@gmail.com" target="_blank">xieyihui@gmail.com</a>><br>
>>> >> Phone: <a href="tel:515-294-2465" value="+15152942465" target="_blank">515-294-2465</a> Web: <a href="http://yihui.name" target="_blank">http://yihui.name</a><br>
>>> >> Department of Statistics, Iowa State University<br>
>>> >> 2215 Snedecor Hall, Ames, IA<br>
>>> >> _______________________________________________<br>
>>> >> Qtinterfaces-devel mailing list<br>
>>> >> <a href="mailto:Qtinterfaces-devel@lists.r-forge.r-project.org" target="_blank">Qtinterfaces-devel@lists.r-forge.r-project.org</a><br>
>>> >><br>
>>> >><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>
</div></div></blockquote></div><br>
</div></div><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></blockquote></div><br><br clear="all"><br>-- <br>Tengfei Yin<br>MCDB PhD student <br>1620 Howe Hall, 2274,<br>Iowa State University<br>Ames, IA,50011-2274<br>Homepage: <a href="http://www.tengfei.name" target="_blank">www.tengfei.name</a><br>
<div><br></div><br>