Title(main = 'Death Rates in Virginia', font.main = 4)ĭoc <- addFlexTable(doc, FlexTable(iris ))ĭoc <- addParagraph(doc, 'iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris.
Legend = rownames(VADeaths), ylim = c(0, 100)) The R code below creates a PowerPoint document with a title slide, plots, tables, and an R script : library( ReporteRs )ĭoc <- addTitle(doc,'Create a PowerPoint document from R software')ĭoc <- addSubtitle(doc, 'R and ReporteRs package')ĭoc <- addSlide(doc, 'Title and Content')Ĭol = c('lightblue', 'mistyrose', 'lightcyan', Generate a simple PowerPoint document from R software