Purpose

This Rmarkdown is for testing the rthreejs R htmlwidget. Specifically, to test whether the labels parameter works inside a render html file.

Problem

The labels of the dots seem to appear at the top left corner of the rendered html document.

Example

library("threejs")
z <- rnorm(26)
x <- rnorm(26)
y <- rnorm(26)
scatterplot3js(x,y,z, labels = LETTERS[1:26])

Question

Should the labels not appear beside the plot?

devtools::session_info()
## Session info --------------------------------------------------------------
##  setting  value                       
##  version  R version 3.1.0 (2014-04-10)
##  system   x86_64, darwin13.1.0        
##  ui       X11                         
##  language (EN)                        
##  collate  en_CA.UTF-8                 
##  tz       America/Vancouver
## Packages ------------------------------------------------------------------
##  package     * version date       source                           
##  base64enc     0.1-3   2015-07-28 CRAN (R 3.1.3)                   
##  curl          0.9.3   2015-08-25 CRAN (R 3.1.3)                   
##  devtools      1.8.0   2015-05-09 CRAN (R 3.1.3)                   
##  digest        0.6.8   2014-12-31 CRAN (R 3.1.2)                   
##  evaluate      0.7.2   2015-08-13 CRAN (R 3.1.0)                   
##  git2r         0.11.0  2015-08-12 CRAN (R 3.1.3)                   
##  htmltools     0.2.6   2014-09-08 CRAN (R 3.1.2)                   
##  htmlwidgets   0.5     2015-06-21 CRAN (R 3.1.3)                   
##  jsonlite      0.9.17  2015-09-06 CRAN (R 3.1.3)                   
##  knitr         1.11    2015-08-14 CRAN (R 3.1.0)                   
##  memoise       0.2.1   2014-04-22 CRAN (R 3.1.2)                   
##  Rcpp          0.11.1  2014-03-14 CRAN (R 3.1.0)                   
##  rmarkdown     0.8     2015-08-30 CRAN (R 3.1.0)                   
##  rstudioapi    0.2     2014-12-31 CRAN (R 3.1.2)                   
##  rversions     1.0.2   2015-07-13 CRAN (R 3.1.3)                   
##  stringr       0.6.2   2012-12-06 CRAN (R 3.1.0)                   
##  threejs     * 0.2.2   2015-09-09 Github (bwlewis/rthreejs@6e186f4)
##  xml2          0.1.2   2015-09-01 CRAN (R 3.1.3)                   
##  yaml          2.1.13  2014-06-12 CRAN (R 3.1.2)