zoukankan      html  css  js  c++  java
  • Embedding R-generated Interactive HTML pages in MS PowerPoint(转)

    Usually when I create slide decks these days I used markdown and slidy.  However, I recently was asked to present using an existing Revolution Microsoft PowerPoint template.

    Trouble is, I’ve been spoilt with the advantages of using a HTML-based presentation technology and I wanted to include some interactive web elements.  In particular, I wanted to use a motion chart generated with the fantastic googleVis package.  Of course, that presented an issue – how was I to include some interactive HTML elements in my PowerPoint deck?

    The answer turned out to involve a PowerPoint plug-in called LiveWeb.  These were the steps I took:

    • Download LiveWeb from http://skp.mvps.org/liveweb.htm and install it.  This adds a couple of buttons onto the PowerPoint tool bar (for me, it appears in the “Insert” part of the ribbon)

    ribbon

    • Generate your web content.  In my version, that meant using googleVis to generate a web page
    • Use the LiveWeb plugin to point your slide to the web page
    • Click play and wave hands like Hans Rosling which rapidly talking about your slide:

    motion

    Btw – this also works for other HTML content, such as Shiny apps.  Here’s one from the RStudio Shiny Example page …

    twitter

    So, if you have want to use MS PowerPoint, it is still possible to include R-generated interactive HTML content using the above steps.

    转自:http://www.mango-solutions.com/wp/2015/02/embedding-r-generated-interactive-html-pages-in-ms-powerpoint/

    ---------------------------------------------------------------------------------- 数据和特征决定了效果上限,模型和算法决定了逼近这个上限的程度 ----------------------------------------------------------------------------------
  • 相关阅读:
    004---基于TCP的套接字
    003---socket介绍
    002---tcp/ip五层详解
    001---C/S架构
    008---re正则模块
    007---logging日志模块
    006---hashlib模块
    005---json & pickle
    004---os & sys
    22.解决 eclipse 与 AS 共用 SDK 导致 eclipse ADT 无法使用的问题
  • 原文地址:https://www.cnblogs.com/payton/p/4269226.html
Copyright © 2011-2022 走看看