read.file: Read Files Quickly (Auto-detected)

View source: R/other_functions.R

read.fileR Documentation

Read Files Quickly (Auto-detected)

Description

This function lets the user import csv, xlsx, xls, sav files.

Usage

read.file(filename, current_wd = TRUE, sheet = 1, quiet = FALSE)

Arguments

filename

Character. File name to import.

current_wd

Boolean. Use current working directory before the file's name? Use this param to NOT get absolute root directory.

sheet

Character. Name or index of the sheet to read data from if file is xlsx or xls.

quiet

Boolean. Quiet summary message?

Value

List or data.frame, depending on filename's data.

See Also

Other Tools: autoline(), bind_files(), bring_api(), chr2num(), db_download(), db_upload(), export_plot(), export_results(), files_functions(), font_exists(), formatColoured(), formatHTML(), get_credentials(), glued(), grepm(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), list_cats(), listfiles(), mail_send(), markdown2df(), move_files(), msplit(), myip(), quiet(), statusbar(), tic(), try_require(), updateLares(), warnifnot(), what_size()


laresbernardo/lares documentation built on Oct. 23, 2024, 12:05 p.m.