https://quesma.com/blog/sandboxing-ai-generated-code-why-we-...
Good, that ggplot2 can run inside in WASM, vide https://github.com/QuesmaOrg/webr-ggplot-playground
$ which ggplot ggplot () { if [[ "$1" == "-f" ]] then shift rush run --library tidyverse "$(cat "$1")" - else rush run --library tidyverse "$@" - fi } $ echo "one,two,three\n1,2,3\n4,5,6\n,7,8,9" | ggplot 'ggplot(df, aes(one, two)) + geom_col() + theme_minimal()' | imgcat
BTW, that "R on the command line" tool was inspired by:
https://datascienceatthecommandline.com
BTW, that "R on the command line" tool was inspired by:
https://datascienceatthecommandline.com