Learn R Programming

netknitr (version 0.2.1)

readMyFile: readMyFile

Description

Read input files including .csv, .xlsx and .txt files in tabular format and return as data.frame.

Usage

readMyFile(this_file)

Value

data.frame, content of the file.

Arguments

this_file

File path

Author

Jayachandra N

Examples

Run this code
temp_file <- tempfile(fileext = ".csv")
write.csv(mtcars, temp_file)
readMyFile(temp_file)

Run the code above in your browser using DataLab