Nothing
wdPlot<-
function (..., plotfun = plot, caption="",method="metafile",height = 5, width = 5,pointsize = 10, bookmark = NULL, wdapp = .R2wd, paragraph = TRUE)
{
wdsel <- wdapp[["Selection"]]
wddoc <- wdapp[["ActiveDocument"]]
if (paragraph) wdsel$TypeParagraph()
switch(method,
metafile={
win.metafile(height = height, width = width, pointsize = pointsize)
plotfun(...)
dev.off()
wdsel$Paste()
},
bitmap= {
bmp(filename="R2wdtemp.bmp",height=height,width=width,units="in",res=72)
plotfun(...)
dev.off()
path<-paste(getwd(),"R2wdtemp.bmp",sep="/")
path<-gsub("/","\\\\",path)
wdsel[["InlineShapes"]]$AddPicture(path)
},
stop("method must be 'metafile' or 'bitmap'")
)
wdsel$MoveLeft()
wdsel$Expand()
if(caption!=""){
caption <- paste(" ", caption, sep = "")
wdsel$InsertCaption("Figure", caption, "", 1, 0)}
if (is.null(bookmark))
bookmark <- paste("InlineShape",
wddoc[["InlineShapes"]][["Count"]],
sep = "")
wddoc[["Bookmarks"]]$Add(bookmark)
wdsel$MoveRight()
if (paragraph)
wdsel$TypeParagraph()
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.