-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
What doesn't work:
No rendering of the plot but the message "You must enable Javascript to view this page properly." instead on Firefox. The Javascript is enabled and the rgl package works smoothly (writeWebGL(),browseURL()). The console gives the message "Error: Could not find method of starting WebGL scene." that seem to be generated from glbinding.js, more precisely from:
...
setTimeout(function() {
// check to see whether we're using the old or new RGL function type.
oldFun = window[data.prefix + "webGLStart"];
newObj = window[data.prefix + "WebGL"];
if(typeof oldFun === 'function'){
oldFun();
} else if(typeof newObj === 'object'){
newObj.start();
newObj.onZoom(function(zoom){
Shiny.onInputChange('.clientdata_gl_output_' + el.id + '_zoom', zoom);
});
newObj.onFOV(function(fov){
Shiny.onInputChange('.clientdata_gl_output_' + el.id + '_fov', fov);
});
newObj.onPan(function(pan){
Shiny.onInputChange('.clientdata_gl_output_' + el.id + '_pan', pan.getAsArray());
});
} else{
throw new Error("Could not find method of starting WebGL scene.");
}
}, 0);
...
System info:
x86_64, linux-gnu
R version 3.2.0 (2015-04-16)
RStudio 0.98.1103
rgl package 0.95.1247
shinyRGL 1.1.0
How to reproduce:
Run any of the example in the shinyRGL package
Thank you,
Marco
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels