Displaying ggplot2 graphs from R in Jupyter

前端 未结 2 1657
谎友^
谎友^ 2020-12-30 13:13

When I create a plot in Jupyter using the ggplot2 R package, I get a link to the chart that says \"View PDF\" instead of the chart being presented inline.

2条回答
  •  醉话见心
    2020-12-30 13:52

    There are currently some issues with producing ggplot2 outputs using the IRkermel. There is an open issue on GitHub about it. The only workaround at the moment appears to be using PDF, jpg, png outputs for your plots.

提交回复
热议问题