How do I install the latest version of rgl?
(This has been updated since rgl moved from R-forge to Github).
The simplest way is to install from Github, using
devtools::install_github("dmurdoch/rgl")
This installs a version that may be a few hours old. It does require that you have the tools for a source install; rgl
has a lot of code that needs to be compiled. Those tools are available for Windows at https://cloud.r-project.org/bin/windows/Rtools/. Full OSX installs require XCode and XQuartz and perhaps some other packages. Linux users will need to install a number of libraries as well. Both OSX and Linux support minimal installs that only work with rglwidget()
.
You can also check out from Github using
git clone https://github.com/dmurdoch/rgl.git
Then you can install it using
R CMD INSTALL rgl
(provided all the prerequisites exist).
Why do I need SVN to install rgl from github using install_github?
Edited: the Github mirror is up to date again, so all of the methods listed in How do I install the latest version of rgl? should be fine. If the server dies again, you can always useinstall.packages()
or use SVN.
The install_github()
method should no longer require an SVN install.
Related Topics
Create All Possible Combiations of 0,1, or 2 "1"S of a Binary Vector of Length N
Exporting R Regression Summary for Publishable Paper
Get Stack Trace on Trycatch'Ed Error in R
Adding R^2 on Graph with Facets
Combine Voronoi Polygons and Maps
Ggplot2 Multiline Title, Different Indentations
Alternate Geom_Text Position with Hjust
Ggplot: Manual Color Assignment for Single Variable Only
Using 'Fread' to Import CSV File from an Archive into 'R' Without Extracting to Disk
Merging Data Frames with Different Number of Rows and Different Columns
Adding Regression Line Equation and R2 on Separate Lines Graph
Scraping from Aspx Website Using R
Ggplot2: Add P-Values to the Plot
Formatting Number Output of Sliderinput in Shiny
Remove a Character from the Entire Data Frame
Logistic Regression with Robust Clustered Standard Errors in R