Skip to content

offline plots in for loops #273

@chriddyp

Description

@chriddyp

a current workaround is:

```{r, results="asis"}
for(i in 1:3) {
    fig <- list(data=list(list(x=rnorm(100), type="histogram")), layout=list(title=paste(c('plot', i, sep=" "))))
    cat(knit_print.offline(fig %>% offline))
}
```

maybe there is an easier way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions