hrbrmstr / streamgraph

:wavy_dash: htmlwidget for creating streamgraph visualizations in R
http://hrbrmstr.github.io/streamgraph/
Other
148 stars 49 forks source link

Error in value[[3L]](cond) : cannot change working directory #33

Closed mjudi closed 6 years ago

mjudi commented 6 years ago

Hello, I'm trying to reproduce one of your examples in SAP Cloud Analytics (SAC). The example works fine in Studio outside of SAC, but it throws the following error when executing it:

Warning in dir.create(www_dir) : cannot create dir '(null).1003.1003/viewhtml2286683e12f', reason 'No such file or directory' Error in value[3L] : cannot change working directory

The script is: library(dplyr) library(babynames) library(streamgraph) library(magrittr)

babynames %>% filter(grepl("^Kr", name)) %>% group_by(year, name) %>% tally(wt=n) %>% streamgraph("name", "nn", "year")

Any idea how to approach this problem?

Thanks, MJ