Detailed description |
e.g. if you use knitr on the below simple code it does not seem to produce a plot (and I get errors when checking the html document using developer tools in Chrome). Remove the alpha = 0.5 option and it works fine.
Apologies if this is a known issue - I could not find it documented anywhere. Rgl is superb work making a huge difference to my research - thank you. Alex
---
title: "Untitled"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r test}
library(rgl)
plot3d(c(1,2,3), c(1,2,3),c(1,2,3), type="s",
add=TRUE, col="red", radius = 0.5, alpha=0.5)
rglwidget()
```
|
|