[R-SIG-Mac] Help with RGL

Duncan Murdoch murdoch at stats.uwo.ca
Wed Oct 10 13:55:54 CEST 2007


On 10/10/2007 7:33 AM, Michael Kubovy wrote:
> I'm having trouble with RGL:
> 
>  > parametric3d(fx = function(u, v) u * exp(-0.5 * (u^2 + v^2 -

parametric3d isn't in rgl, it's in misc3d, but this does look like it 
might be an rgl problem.  Unfortunately I can't duplicate it on Windows. 
  I'll take a look on MacOSX tonight.

Duncan Murdoch


> + 2 * 0.75 * u * v)/sqrt(1-.75^2))^(1/3),
> + fy = function(u, v) v * exp(-0.5 * (u^2 + v^2 -
> + 2 * 0.75 * u * v)/sqrt(1-.75^2))^(1/3),
> + fz = function(u, v) exp(-0.5 * (u^2 + v^2 - 2 * 0.75 * u *
> + v)/sqrt(1-.75^2))^(1/3),
> + umin = -20, umax = 20, vmin = -20, vmax = 20,
> + n = 100)
> Error in rgl.cur() : rgl_dev_getcurrent
> 
> session:
> 
> R version 2.5.1 (2007-06-27)
> i386-apple-darwin8.9.1
> 
> locale:
> C
> 
> attached base packages:
> [1] "tcltk"     "grid"      "datasets"  "stats"     "graphics"   
> "grDevices" "utils"     "methods"
> [9] "base"
> 
> other attached packages:
>           rgl       misc3d          car       UsingR       xtable  
> latticeExtra      lattice     gridBase
>        "0.74"      "0.4-0"      "1.2-2"      "0.1-6"       
> "1.5-1"      "0.2-2"     "0.16-5"      "0.4-3"
>          MASS          JGR       iplots       JavaGD        rJava
>      "7.2-36"      "1.5-5"      "1.1-1"      "0.4-3"      "0.5-0"
> 
> 
> I would appreciate getting help.
> _____________________________
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
> Parcels:    Room 102        Gilmer Hall
>          McCormick Road    Charlottesville, VA 22903
> Office:    B011    +1-434-982-4729
> Lab:        B019    +1-434-982-4751
> Fax:        +1-434-982-4766
> WWW:    http://www.people.virginia.edu/~mk9y/
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list