Fixing the rgl package for mobile

Combining R and JavaScript

By Lucio Cornejo in rmarkdown frontend

January 27, 2022

The rgl package provides R another way of creating interactive graphics for the broswer. However, such interactivity only completely works for desktop. Therefore, rgl graphics could not be rotated when interacted via a tablet or mobile, which was the necessary case for the doctoral project of my future thesis advisor.

In this project, I implement a solution via JavaScript in order to replicate, for non desktop users, the rotation of the graphics provided by the rgl package.

Posted on:
January 27, 2022
Length:
1 minute read, 77 words
Categories:
rmarkdown frontend
Tags:
hugo-site
See Also:
Pluto.jl customization
plyLoadR
Predicting a song's popularity