i trying use googlevis-0.5.10 rstudio 0.99.473 on windows 7. can generate charts fine, opened in new browser window. code simple, no options set:
linechart <- gvislinechart(data, options = list( selectionmode = "multiple", focustarget = "category", tooltip = "{ trigger : 'focus', aggregationtarget: 'auto' }") ) plot(linechart)
i have tried call viewer manually providing url opened browser window:
rstudio::viewer("http://127.0.0.1:10529/custom/googlevis/linechartidc6837e37021.html")
but shows empty screen:
i think kind of security issue when right click rstudio viewer window , open web inspector, see there javascript error:
failed load resource: unable init ssl context: https://www.google.com/jsapi?callback=displaychartlinechartidc6837e37021
if right, there way instruct rstudio trust content www.google.com domain? or, if wrong, how can fix problem?
thank you.
i think flash player not enabled. in chrome type:
chrome://plugins
and check flash player checkbox , try again.
Comments
Post a Comment