I learned this package from a r-bloggers post.
Here is a paper that describes rgl package in detail. And here I will just attach some code to show how to install the package and quickly plot a few proof of concept plots in 3D and it is really a fun experience to draw the plot yourself and interact with it, rotate, flip, zoom in zoom out…etc.
> spheres3d(rnorm(10), rnorm(10), rnorm(10), radius=runif(10), color=rainbow(10))
> rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color=heat.colors(1000))
If you are using Mac, you probably need to have X11 (XQuartz) pre-installed and here are the outputs from the commands above, it won’t be printed to the Plots/Viewer panel if you are using RStudio, and it will be a new window for each open3d() command.
The package RSelenium is actually developed a while back. 2014-05-24. And it provides an API as easy as the API in Python. So one can use Selenium to test his/her Shiny app or do webscraping using Selenium in R!
Start from this stackoverflow question.
When you pass … (three dots) to a function, you it will be a named list that you can retrieve the argument value by using list(…)$argument name, also ..n (two dots followed by a integer) will retrieve the argument by order. ..2 will retrieve the second one and ..1 will retrieve the first one.