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:
log_file <- file.path("path/to/your/folder", "conversion_log.txt")
if (file.exists(log_file)) {
log_content <- readLines(log_file)
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.
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.