Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-30 Thread Eric Berger
Duncan writes: >> " ... If you're using RStudio, a really convenient way to view the source >> ..." This is fantastic! Thank you for this Duncan. On Thu, Jul 30, 2020 at 3:45 PM Duncan Murdoch wrote: > > On 29/07/2020 6:34 p.m., Jeff Newmiller wrote: > > To begin with, don't assume it is in C++

Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-30 Thread Duncan Murdoch
On 29/07/2020 6:34 p.m., Jeff Newmiller wrote: To begin with, don't assume it is in C++... R supports multiple compiled languages, and rgl appears to have both C++ and C in it. Also a few thousand lines of Javascript, but in this case, the interesting code is all in R. I googled "r rgl gi

Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-30 Thread Rasmus Liland
On 2020-07-30 05:23 -0400, Duncan Murdoch wrote: > On 29/07/2020 7:27 p.m., Rasmus Liland wrote: > > On 2020-07-29 18:04 -0400, Duncan Murdoch wrote: > > > The arrow3d function is also a pure R > > > function, but not a generic. You can > > > see the source by typing "arrow3d". > > > > ... but if

Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-30 Thread Duncan Murdoch
On 29/07/2020 7:27 p.m., Rasmus Liland wrote: Dear Byron, On 2020-07-29 18:04 -0400, Duncan Murdoch wrote: The arrow3d function is also a pure R function, but not a generic. You can see the source by typing "arrow3d". ... but if I type rgl::shade3d, I get > rgl::shade3d func

Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-29 Thread Rasmus Liland
Dear Byron, On 2020-07-29 18:04 -0400, Duncan Murdoch wrote: > The arrow3d function is also a pure R > function, but not a generic. You can > see the source by typing "arrow3d". ... but if I type rgl::shade3d, I get > rgl::shade3d function (x, ...) UseMethod("shade3d")

Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-29 Thread Jeff Newmiller
To begin with, don't assume it is in C++... R supports multiple compiled languages, and rgl appears to have both C++ and C in it. I googled "r rgl github" and found an online copy of the src (source) files right away. The official way is to find the CRAN package page and download the tar.gz fil

Re: [R] Accessing the C++ source associated with the rgl function shade3d

2020-07-29 Thread Duncan Murdoch
On 29/07/2020 5:35 p.m., Byron Dom via R-help wrote: How can I access the C++ source associated with the rgl function shade3d. More specifically, I'm interested in the part of the code used by arrow3d to draw arrow heads. I'm not familiar with how GitHub is organized and I've put in a lot of e

[R] Accessing the C++ source associated with the rgl function shade3d

2020-07-29 Thread Byron Dom via R-help
How can I access the C++ source associated with the rgl function shade3d. More specifically, I'm interested in the part of the code used by arrow3d to draw arrow heads. I'm not familiar with how GitHub is organized and I've put in a lot of effort doing searches there and on the web in general.