CommencerCommencer gratuitement

One final work flow

In this final exercise, we'll combine all the components of the course into a complete work flow!

The first step represents the file load.R – the name makes its intention obvious. The second step represents the file graphics.R. load.R is loaded using the source() function.

Cet exercice fait partie du cours

Defensive R Programming

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# The load.R file
library("readr")
library("readxl")

# Change to relative paths
battles<-read_csv("/home/repl/survival/input/battles.csv")
foes=read_xlsx("/home/repl/survival/input/foes.xlsx")
Modifier et exécuter le code