Learn R Programming

rexer (version 1.0.0)

read_exercise_csv: Read an exercise csv file

Description

Reads a csv file of exercises and returns a data frame.

Usage

read_exercise_csv(file, sep = ",")

Value

A data frame.

Arguments

file

A string, name of a text file.

sep

Column separator character.

See Also

Other support functions: create_exercise_csv(), create_exercise_data_frame(), create_exercise_excel(), read_exercise_excel(), set_pending_answers(), vector_to_string(), write_exercise_csv()

Examples

Run this code

file <- system.file("extdata/exercises.csv", package = "rexer")
df <- read_exercise_csv(file)

Run the code above in your browser using DataLab