[R] shapes in rgl

2006-05-23 Thread Duncan Golicher
x[a]-NA z[a]-NA a-seq(1,length(x),by=3) z[a]-0 lines3d(x,y,z,col=brown,size=5,add=T) rgl.bbox(color=black, emission=lightgreen, specular=#FF, shininess=5, alpha=0.8 ) } x-runif(100,0,100) y-runif(100,0,100) z-runif(100,10,30) rad-z/5 Trees3d(x,y,z,rad) Thanks, Duncan Golicher

Re: [R] shapes in rgl

2006-05-23 Thread Duncan Golicher
[i], cos(j+step)*r[i]) tmp.z - z[i] + c(0, sin(j)*r[i], sin(j+step)*r[i]) tmp.y - y[i] + h[i]/2*c(1,-1,-1) rgl.triangles(tmp.x,tmp.y,tmp.z,...) } } } Hope this helps, -- Dr Duncan Golicher Ecologia y Sistematica Terrestre Conservación de la Biodiversidad

Re: [R] Replacing backslashes with slashes

2006-01-05 Thread Duncan Golicher
detail that the path read from the clipboard is incomplete (no EOL marker) which leads to an unnecessary warning. Dr Duncan Golicher Ecologia y Sistematica Terrestre Conservación de la Biodiversidad El Colegio de la Frontera Sur San Cristobal de Las Casas, Chiapas, Mexico Email: [EMAIL PROTECTED

[R] writing to a fixed format (fortran) file

2005-08-27 Thread Duncan Golicher
335. 3.8 -- Dr Duncan Golicher Ecologia y Sistematica Terrestre Conservación de la Biodiversidad El Colegio de la Frontera Sur San Cristobal de Las Casas, Chiapas, Mexico Email: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https

[R] RE:Building R packages under Windows.

2005-04-14 Thread Duncan Golicher
who have a(nother) life! Is anyone working on a simple way of building packages, or explaining how to build packages? They would find a larger user base than they might suspect. Duncan Golicher -- Dr Duncan Golicher Ecologia y Sistematica Terrestre Conservación de la Biodiversidad El Colegio de la

[R] RE:Building R packages under Windows.

2005-04-14 Thread Duncan Golicher
that some elements do not reflect this. The fact that package building turns out to be much easier than it looks to be when you first read Writing R extensions is a complement to the tremendous work of R developers, not a denigration. Deepest apologies again to all for my clumsiness, Duncan Golicher

[R] Re: Building R packages under Windows.

2005-04-14 Thread Duncan Golicher
__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Building R packages under Windows.

2005-04-11 Thread Duncan Golicher
over less elegant solutions. Thanks, Duncan Golicher -- Dr Duncan Golicher Ecologia y Sistematica Terrestre Conservación de la Biodiversidad El Colegio de la Frontera Sur San Cristobal de Las Casas, Chiapas, Mexico Tel. 967 1883 ext 1310 Celular 044 9671041021 [EMAIL PROTECTED

[R] RE:Building R packages under Windows.

2005-04-11 Thread Duncan Golicher
previous hassles seemed to have arisen from path problems. Even so it would be nice to see the process streamlined a bit more in the future. Thanks again to everyone, Duncan Golicher -- Dr Duncan Golicher Ecologia y Sistematica Terrestre Conservación de la Biodiversidad El Colegio de la Frontera Sur San