## Plots a graphic and insert it into the file /test.html.
## Target file and also graph directory should be changed when submitting this code...
myfile <- paste(tempfile(),".html",sep="")
plot(sin, -pi, 2*pi,main="Sinus")
# HTMLplot(file=myfile,GraphDirectory="/",Caption="Look at this curve!")
Run the code above in your browser using DataLab