无法在 Wordpress、Rpubs 和 Rmd 文件中显示 googleVisMotion 图表

Unable to display googleVisMotion chart in Wordpress,Rpubs & Rmd file

我无法在 Wordpress、RPubs 或 RMarkdown 中显示 googleVisMotion 图表。 googleVisMotion 图表在我的本地计算机上工作,但我无法让它在其他任何地方显示。我尝试了post

中的方法

Embedding googleVis charts into a web site

但是当我将文件粘贴到 HTML 页面时,这对 Wordpress 不起作用。当我尝试使用 Rmd 在 RPubs 中发布时,我得到

   "## starting httpd help server ..."

没有图表。

请告诉我如何显示 googleVisMotion 图表?还有其他方法吗?

我按照 Embedding googleVis charts into a web site 中的建议将图表保存为 html。然后,我将 Html 页面托管为 Github 页面 (gh-pages),这很有效。