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>
Michael<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">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 class="im"><br>
Regards,<br>
Yihui<br>
--<br>
Yihui Xie <<a href="mailto:xieyihui@gmail.com">xieyihui@gmail.com</a>><br>
Phone: 515-294-2465 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 class="h5">On Wed, Apr 27, 2011 at 10:54 PM, Yihui Xie <<a href="mailto:xieyihui@gmail.com">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">xieyihui@gmail.com</a>><br>
> Phone: 515-294-2465 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">lawrence.michael@gene.com</a>> wrote:<br>
>><br>
>> On Apr 27, 2011 4:59 PM, "Yihui Xie" <<a href="mailto:xieyihui@gmail.com">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">xieyihui@gmail.com</a>><br>
>>> Phone: 515-294-2465 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">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">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">xieyihui@gmail.com</a>><br>
>>> >> Phone: 515-294-2465 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">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>