image2xlsx
image2xlsx
provides a single function to turn an image into an excel (xlsx) spreadsheet.
It stands on the shoulders of the following giants:
Installation
You can install from GitHub with:
# install.packages("devtools")
devtools::install_github("coolbutuseless/image2xlsx")
Rlogo
library(image2xlsx)
image2xlsx("working/RStudio.png", "man/figures/rlogo.xlsx")
A screenshot of rlogo.xlsx
opened in LibreOffice
Bender Bending RodrÃguez
library(image2xlsx)
image2xlsx("working/bender.jpg", "man/figures/bender.xlsx")
A screenshot of bender.xlsx
opened in LibreOffice
Grappling Hook!
library(image2xlsx)
image2xlsx("working/mabel.png", "man/figures/mabel.xlsx")
A screenshot of mabel.xlsx
opened in LibreOffice