CommencerCommencer gratuitement

Why does this fail?

This function will fail, but why?

extract(
  data_frame,
  col = column_1,
  into = c("title", "admissions"),
  regex = "(.*), (\\w+), (\\d+)"
)

Cet exercice fait partie du cours

Intermediate Regular Expressions in R

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice