Wiki
Connected
0
1. Click on Enable auto update 2. Run R code that creates http://lively-web.org/R/myplot.png
R Workspace
X
M

# using the R help
help(recordPlot)
help(length)
# what packages are installed, install new
.libPaths()
install.packages("ggplot2")
install.packages("devtools")
library("ggplot2")
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Example: getting data, plotting a graph
# get a csv table
url = "http://ichart.finance.yahoo.com/table.csv?s=SAP&a=01&b=19&c=1990&d=06&e=11&f=2013&g=d&ignore=.csv"
csv = read.csv(url)
# what does it look like? (print each statement)
nrow(csv)
head(csv)
summary(csv)
# draw it
png(file = "R/myplot.png"bg = "white")
plot(csv$"Adj.Close"~as.Date(csv$Date),type="l")
dev.off()
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Reset R server
Interactively evaluate code with "Control+d" Print evaluation result with "Control+p"
Enable auto update
remove image