calibre: A wrapper function to convert e-books using Calibre

View source: R/ebook.R

calibreR Documentation

A wrapper function to convert e-books using Calibre

Description

This function calls the command ebook-convert in Calibre (https://calibre-ebook.com) to convert e-books.

Usage

calibre(input, output, options = "")

Arguments

input

The input filename.

output

The output filename or extension (if only an extension is provided, the output filename will be the input filename with its extension replaced by output; for example, calibre('foo.epub', 'mobi') generates ‘foo.mobi’).

options

A character vector of additional options to be passed to ebook-convert.

Value

The output filename.


bookdown documentation built on Oct. 17, 2023, 1:08 a.m.