{
  "id": 76993,
  "title": "gganimate in a Notebook",
  "url": "/competitions/NFL-Punt-Analytics-Competition/discussion/76993",
  "author_name": "",
  "post_date": "2019-01-08T15:25:47.613373900Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>In my kernel my code for gganimate ran correctly, but the visualization did not populate. Is there another way to do this, or a better notebook style? I don't think I'll throw out the kernel but I can add another just for my gganimate visualizations. </p>\n\n<p>Kernel:\n<a href=\"https://www.kaggle.com/gregalytics/minimizing-concussions-on-punt-blocks\">https://www.kaggle.com/gregalytics/minimizing-concussions-on-punt-blocks</a></p>",
  "messages": [
    {
      "id": "452331",
      "postDate": "01/08/2019 15:25:47",
      "content": "<p>In my kernel my code for gganimate ran correctly, but the visualization did not populate. Is there another way to do this, or a better notebook style? I don't think I'll throw out the kernel but I can add another just for my gganimate visualizations. </p>\n\n<p>Kernel:\n<a href=\"https://www.kaggle.com/gregalytics/minimizing-concussions-on-punt-blocks\">https://www.kaggle.com/gregalytics/minimizing-concussions-on-punt-blocks</a></p>",
      "rawMarkdown": "In my kernel my code for gganimate ran correctly, but the visualization did not populate. Is there another way to do this, or a better notebook style? I don't think I'll throw out the kernel but I can add another just for my gganimate visualizations. \n\nKernel:\nhttps://www.kaggle.com/gregalytics/minimizing-concussions-on-punt-blocks",
      "votes": null
    },
    {
      "id": "452927",
      "postDate": "01/09/2019 11:23:16",
      "content": "<p>I don't believe gganimate works in notebooks. Apparently it works in R files though.</p>\n\n<p><a href=\"https://www.kaggle.com/product-feedback/63168\">https://www.kaggle.com/product-feedback/63168</a></p>",
      "rawMarkdown": "I don't believe gganimate works in notebooks. Apparently it works in R files though.\n\n https://www.kaggle.com/product-feedback/63168",
      "votes": null
    },
    {
      "id": "865614",
      "postDate": "05/28/2020 18:31:07",
      "content": "<p>I solve this problem in this way:</p>\n\n<p><code>\nsystem(\"sudo apt-get -y install libmagick++-dev\", intern=TRUE)\ninstall.packages(\"magick\", verbose=TRUE)\nlibrary(magick)\n</code>\nThen, anime with: <code>animate(image, renderer = magick_renderer())</code></p>\n\n<p>Check out my kernel: <a href=\"https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/\">https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/</a></p>",
      "rawMarkdown": "I solve this problem in this way:\n\n```\nsystem(\"sudo apt-get -y install libmagick++-dev\", intern=TRUE)\ninstall.packages(\"magick\", verbose=TRUE)\nlibrary(magick)\n```\nThen, anime with: `animate(image, renderer = magick_renderer())`\n\nCheck out my kernel: [https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/](https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 452927,
      "author_name": "strangemane",
      "author_url": "",
      "post_date": "01/09/2019 11:23:16",
      "content": "<p>I don't believe gganimate works in notebooks. Apparently it works in R files though.</p>\n\n<p><a href=\"https://www.kaggle.com/product-feedback/63168\">https://www.kaggle.com/product-feedback/63168</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 865614,
      "author_name": "gomes555",
      "author_url": "",
      "post_date": "05/28/2020 18:31:07",
      "content": "<p>I solve this problem in this way:</p>\n\n<p><code>\nsystem(\"sudo apt-get -y install libmagick++-dev\", intern=TRUE)\ninstall.packages(\"magick\", verbose=TRUE)\nlibrary(magick)\n</code>\nThen, anime with: <code>animate(image, renderer = magick_renderer())</code></p>\n\n<p>Check out my kernel: <a href=\"https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/\">https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "452331": "In my kernel my code for gganimate ran correctly, but the visualization did not populate. Is there another way to do this, or a better notebook style? I don't think I'll throw out the kernel but I can add another just for my gganimate visualizations. \n\nKernel:\nhttps://www.kaggle.com/gregalytics/minimizing-concussions-on-punt-blocks",
    "452927": "I don't believe gganimate works in notebooks. Apparently it works in R files though.\n\n https://www.kaggle.com/product-feedback/63168",
    "865614": "I solve this problem in this way:\n\n```\nsystem(\"sudo apt-get -y install libmagick++-dev\", intern=TRUE)\ninstall.packages(\"magick\", verbose=TRUE)\nlibrary(magick)\n```\nThen, anime with: `animate(image, renderer = magick_renderer())`\n\nCheck out my kernel: [https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/](https://www.kaggle.com/gomes555/starter-covid-19-in-brazil-by-day/)"
  },
  "source": "meta"
}