readFile: Read content of file and return as character object.

View source: R/Rsystem.R View source: R/Rdata.R

readFileR Documentation

Read content of file and return as character object.

Description

Read content of file and return as character object.

Usage

readFile(path, prefixes = NULL, normalize = TRUE, ssh = FALSE)

Arguments

path

Path to the file to be read.

prefixes

Search for file by prepending character strings from prefixes.

normalize

Standardize pathes.

ssh

Allow pathes to remote files in scp notation.

Value

character vector containing the file content

Author(s)

Stefan Böhringer <r-packages@s-boehringer.org>


sboehringer/package documentation built on Jan. 12, 2023, 6:33 a.m.