inst/web.R/example1.png.R

# create an image
# some browsers and/or web server are more happy if you call you script foo.png.R instead of foo.R so they can guess the MIME type from the name
run <- function(...) {
  p <- WebPlot(600, 600)
  plot(rnorm(100), rnorm(100), pch = 19, col = 2)
  p
}

Try the FastRWeb package in your browser

Any scripts or data that you put into this service are public.

FastRWeb documentation built on Nov. 3, 2021, 5:08 p.m.