LJexm is an R package designed to automate the process of extracting ZIP files, converting ‘Word’, ‘Excel’, and ‘HTML/HTM’ files to PDFs, and merging PDF files in a structured order.
To install LJexm from source, run:
# Install from source
install.packages("LJexm", repos = NULL, type = "source")
Load the package and run the application:
library(LJexm)
run_app()
conversion_log.txt
during execution.message()
in R.If you need to check errors manually before running the script, you can view the log file:
<- file.path("path/to/your/folder", "conversion_log.txt")
log_file if (file.exists(log_file)) {
<- readLines(log_file)
log_content message(log_content, appendLF = TRUE)
}
.docx
and .xlsx
files to PDFs
using VBScript..html
and .htm
files to
PDFs using webshot
and
PhantomJS
..docx
,
.xlsx
, .pdf
, .html
, and
.htm
files.message()
.This package requires the following dependencies:
- fs
- pdftools
- rstudioapi
- utils
- webshot
These dependencies will be automatically installed when you install LJexm.
This package is licensed under GPL-3.