Skip to content

Instantly share code, notes, and snippets.

@Stan125
Last active September 20, 2018 14:35
Show Gist options
  • Save Stan125/1b0b870a2b2679835becb0dafba04f51 to your computer and use it in GitHub Desktop.
Save Stan125/1b0b870a2b2679835becb0dafba04f51 to your computer and use it in GitHub Desktop.
---
title: "Reoport"
author: "Stanislaus Stadlmann"
date: "9/20/2018"
output: pdf_document
always_allow_html: yes
---
```{r}
library("plotly")
```
Doesn't work
```{r}
lapply(1:3, function(x) { plotly_build(plot_ly(x = rnorm(10))) })
```
Works
```{r}
plot_ly(x = rnorm(10))
plot_ly(x = rnorm(10))
plot_ly(x = rnorm(10))
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment