[R] rgl persp3d bounding box color problem.

chaogai chaogai at xs4all.nl
Mon Mar 2 20:00:11 CET 2009


Whatever it is, it is also happening on my Acer,  Suse 11.1, 32 bits,
self build R.

Kees

Bo Zhou wrote:
> Thanks Duncan.
>
> I haven't got a chance to try it in windows yet. But I won't be surprised if it's my driver's fault. I had OpenGL problems on this dell laptop before.....
>
>   
>> Date: Sun, 1 Mar 2009 18:29:20 -0500
>> From: murdoch at stats.uwo.ca
>> To: bozhou1981 at hotmail.com
>> CC: remkoduursma at gmail.com; r-help at r-project.org
>> Subject: Re: [R] rgl persp3d bounding box color problem.
>>
>> On 01/03/2009 5:54 PM, Bo Zhou wrote:
>>     
>>> site down......
>>>
>>> here is the code
>>>
>>> library(rgl)
>>>
>>> plot1:
>>> persp3d(x=1:11,y=1:210,z=matrix(rep(1,11*210),11,210),col=matrix(rep("#FF0000",11*210),11,210))
>>>
>>> plot2:
>>> persp3d(x=1:11,y=1:10,z=matrix(rep(1,11*10),11,10),col=matrix(rep("#FF0000",11*10),11,10))
>>>       
>> Works fine on Mac OS 10.5 too.  Looks like a bug in your OpenGL driver...
>>
>> Duncan Murdoch
>>
>>
>>     
>>> Thanks!
>>>
>>> Bo
>>>       
>>>> Date: Mon, 2 Mar 2009 09:28:31 +1100
>>>> Subject: Re: [R] rgl persp3d bounding box color problem.
>>>> From: remkoduursma at gmail.com
>>>> To: bozhou1981 at hotmail.com
>>>>
>>>> I would not mind trying, but the link no longer works...
>>>>
>>>> Remko
>>>>
>>>>
>>>> -------------------------------------------------
>>>> Remko Duursma
>>>> Post-Doctoral Fellow
>>>>
>>>> Centre for Plant and Food Science
>>>> University of Western Sydney
>>>> Hawkesbury Campus
>>>> Richmond NSW 2753
>>>>
>>>> Dept of Biological Science
>>>> Macquarie University
>>>> North Ryde NSW 2109
>>>> Australia
>>>>
>>>> Mobile: +61 (0)422 096908
>>>>
>>>>
>>>>
>>>> On Mon, Mar 2, 2009 at 8:16 AM, Bo Zhou <bozhou1981 at hotmail.com> wrote:
>>>>         
>>>>> Thanks, Duncan.
>>>>>
>>>>> What's your platform? Could this be an issues related to my platform? I'm on Ubuntu 8.10 64bit using cran's R package. I built rgl package on my machine using install.packages(). I'm going to give it a try in windows.
>>>>>
>>>>> I would be very grateful if anyone using similar setup could give it a try.
>>>>>
>>>>> Thanks,
>>>>> Bo
>>>>>
>>>>>           
>>>>>> Date: Sun, 1 Mar 2009 07:03:10 -0500
>>>>>> From: murdoch at stats.uwo.ca
>>>>>> To: bozhou1981 at hotmail.com
>>>>>> CC: r-help at r-project.org
>>>>>> Subject: Re: [R] rgl persp3d bounding box color problem.
>>>>>>
>>>>>> On 28/02/2009 4:20 PM, Bo Zhou wrote:
>>>>>>             
>>>>>>> Hi guys,
>>>>>>>
>>>>>>> I hit on a problem when I use rgl.
>>>>>>>
>>>>>>> Could you try to run the code here in this link and see why the first persp3d gives a red bounding box and the second shows black?
>>>>>>>               
>>>>>> They both show as black on my system.
>>>>>>
>>>>>> Duncan Murdoch
>>>>>>
>>>>>>             
>>>>>>> http://rafb.net/p/g1i7ur33.html
>>>>>>>
>>>>>>> (sorry for not pasting the code here directly but my previous email got filtered by this list so I suspect my code looks like spam to the spam filter)
>>>>>>>
>>>>>>> I'm expecting black color to be the right result but the code is virtually same except different data size. Looks like a mem bug to me?
>>>>>>>
>>>>>>>
>>>>>>> BTW you will need to install the rgl package
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Bo
>>>>>>>
>>>>>>> _________________________________________________________________
>>>>>>>
>>>>>>>
>>>>>>>     [[alternative HTML version deleted]]
>>>>>>>
>>>>>>> ______________________________________________
>>>>>>> R-help at r-project.org mailing list
>>>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>>>               
>>>>> _________________________________________________________________
>>>>>
>>>>>
>>>>>        [[alternative HTML version deleted]]
>>>>>
>>>>> ______________________________________________
>>>>> R-help at r-project.org mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>>>> and provide commented, minimal, self-contained, reproducible code.
>>>>>
>>>>>           
>>> _________________________________________________________________
>>>
>>>
>>> 	[[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>       
>
> _________________________________________________________________
> Hotmail® is up to 70% faster. Now good news travels really fast. 
>
> 	[[alternative HTML version deleted]]
>
>   
> ------------------------------------------------------------------------
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list