Aug. 12, 2022, 4:01 p.m. | Rory Spanton

Towards Data Science - Medium towardsdatascience.com

Your code after vectorization. Photo by Nate Johnston on Unsplash

R doesn’t have a reputation for being a fast programming language. Compared to speedier counterparts like C++, it’s sluggish at best. That said, you can make your R code run a lot faster if you understand a key concept that underlies the entire language.

This concept is called vectorization, and you can learn about it in three minutes.

In R, vectors are a basic type of variable that contain …

code coding data science explained programming vectorization

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Senior Machine Learning Engineer

@ Samsara | Canada - Remote