0

我试图嵌入通过googleVis包创建的运动图表但没有任何成功。例如,我正在尝试在以下位置复制相同的动态图表:

http://takahashik.blogspot.com.br/2011/01/googlevis-example-for-data-iris_10.html

我正在使用以下脚本:

r <- gvisMotionChart(iris, "Species", "time")
plot(r) # just to check that the chart is working properly

gadget = createGoogleGadget(r)

cat(gadget, file="gadget.html")

然后我将gadget.html文件上传到我的保管箱并生成一个链接以公开分享。在我的谷歌网站中,我打开要嵌入图表的页面并执行以下操作: Insert -> More Gadgets -> Add gadget by URL然后当我将 Dropbox 链接粘贴到它时,我收到以下错误:

Unsupported feature: org.apache.shindig.common.xml.XmlException: The entity name must immediately follow the '&' in the entity reference. At: (13,51)

所以我检查了这个错误,我看到的一般解决方案是用任何原因替换&html&amp;代码中的任何内容(我从未使用过 html 或类似的东西)。不过,我确实遇到了同样的错误。我替换了&我的文件中的,再次上传,分享等等,同样的错误不断出现。

Unsupported feature: org.apache.shindig.common.xml.XmlException: The entity name must immediately follow the '&' in the entity reference. At: (13,51)

有什么简单的解决方案吗?

4

0 回答 0