...
The problem is probably due to the value option gvis.plot.tag, which should be "NULL" by default, according to Section 2.5 of http://cran.r-project.org/web/packages/googleVis/vignettes/googleVis.pdf. However, to . To get the value of this option, use the command getOption("gvis.plot.tag").
There Here are two ways to solve the problem (See sections 2.4 and 2.5 of http://cran.r-project.org/web/packages/googleVis/vignettes/googleVis.pdf for more information).
Suppose that you wish to display the googleVis chart "outChart":
1: Set the option gvis.plot.tag to NULL by using the command options(gvis.plot.tag=NULL). Then invoking plot(outChart) will plot chart in a local browser.
2: Print the chart to a .html file and then display that file:
For example, to print the chart to the file "outChart.html" in the current working directory, type print(outChart, file="outChart.html")
The command plot.gvis("outChart.html") will display the chart in a local browser .
The problem is probably due to the value option gvis.plot.tag, which should be "NULL" by default. To get the value of this option, use the command getOption("gvis.plot.tag").
Here are two ways display the googleVis chart outChart in a local browser:
1: Set the option gvis.plot.tag to NULL by using the command options(gvis.plot.tag=NULL). Then the command plot(outChart) will display the chart in a local browser instead of printing code.
2: Print the chart to a .html file and then display that file. For :
For example, to print the chart to the file "outChart.html" in the current working directory, type print(outChart, file="outChart.html") . The command plot.gvis("outChart.html") will display the chart in a local browser.
See sections 2.4 and 2.5 of http://cran.r-project.org/web/packages/googleVis/vignettes/googleVis.pdf for more information.