Skip to contents

This function read uplaoded file from the user. It returns a object based on the extension of the file. Allowed formats are docx, pdf, txt.

Usage

read_file(file = NULL)

Arguments

file

The uploaded file.

Value

A text.

Examples

if (FALSE) {
read_text("my_file.pdf")
}