Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/Rscript
png("output.png")
curve(x^2 * (1 - x)^2, from = 0, to = 1)
dev.off()
# time Rscript example.R
# null device
# 1
#
# real 0m0.394s
# user 0m0.144s
# sys 0m0.055s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment