ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

Defensive R Programming

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

# 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")
Editar y ejecutar código