Skip to contents

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.