powered by
read_file automatically detects the format of a file provided as filename and calls the appropriate function to read the table file.
read_file
filename
read_file(filename, csvsep = ";", dec = ".", sheet = 1)
A dataframe object with headers in the first row.
(Character) Name or path of the table file to read. Can be of type CSV, XLS, XLSX, TSV, or TXT.
(Character) separator used in CSV file (ignored for other file types).
(Character) decimal separator used in CSV, TSV and TXT files.
(Numeric or Character) Number or name of a sheet in XLS or XLSX files (optional). Default: ";"
";"
input <- read_file(filename = system.file("2-FMA_toxicity.csv", package = "QurvE"), csvsep = ";" )
Run the code above in your browser using DataLab