vignettes/pdfs.Rmd
pdfs.Rmd
library(slickR)
Convert PDF to Images.
pdf_file <- system.file('examples/slickR.pdf',package = 'slickR') imgs <- pdftools::pdf_convert(pdf_file,format = 'png',verbose = FALSE)
PDF file in a single slider
slickR(imgs,height = 500)
bottom_opts <- settings(arrows = FALSE,slidesToShow = 3,slidesToScroll = 1,centerMode = TRUE, focusOnSelect = TRUE,initialSlide = 0) slickR(imgs,height = 500) %synch% (slickR(imgs,height = 100) + bottom_opts)