Advanced R

Become an R master and dominate data science
Advanced R
File Size :
2.40 GB
Total length :
4h 41m



Francisco Juretig


Last update




Advanced R

What you’ll learn

Build R packages
Write C++ code in R via Rcpp
Do complex date parsing
Profile and benchmark their programs
Build parallel code
Parse complex text via Regex
And much more!

Advanced R


A few weeks experience with R is absolutely necessary, and ideally some months of experience would be better
Being able to code functions, manipulate data, and be comfortable writing complex R code
Some experience with other programming languages (such as Python – Java) would be beneficial, but it is not necessary


This course is intended for R and data science professionals aiming to master R. Intermediate and advanced users, will both find that this course will separate them from the rest of people doing analytics with R. We don’t recommend this course on beginners.
We start by explaining how to work with closures, environments, dates, and more advanced topics. We then move into regex expressions and parsing html data. We explain how to write R packages, and write the proper documentation that the CRAN team expects if you want to upload your code into R’s libraries.  After that we introduce the necessary skills for profiling your R code. We then move into C++ and Rcpp, and we show how to write super fast C++ parallel code that uses OpenMP. Understanding and mastering Rcpp will allow you to push your R skills to another dimension. When your colleagues are writing R functions, you will be able to get Rcpp+OpenMP equivalent code running 4-8X times faster. We then move into Python and Java, and show how these can be called from R and vice-versa. This will be really helpful for writing code that leverages the excellent object oriented features from this pair of languages. You will be able to build your own classes in Java or Python that store the data that you get from R. Since the Python community is growing so fast, and producing so wonderful packages, it’s great to know that you will be able to call any function from any Python package directly from R. We finally explain how to use sqldf, which is a wonderful package for doing serious, production grade data processing in R. Even though it has its limitations, we will be able to write SQL queries directly in R. We will certainly show how to bypass those limitations, such as its inability to write full joins using specific tricks. 
All the code (R,JAVA,C++,.csv) used in this course is available for download, and all the lectures can be downloaded as well. Our teaching strategy is to present you with examples carrying the minimal complexity, so we hope you can easily follow each lecture. In case you have doubts or comments, feel free to send us a message


Section 1: General R topics

Lecture 1 Introduction

Lecture 2 Creating Packages

Lecture 3 Functionals and closures

Lecture 4 Environments

Section 2: Dates

Lecture 5 Parsing Dates

Section 3: Regex

Lecture 6 Regex – Part 1

Lecture 7 Regex – Part 2

Section 4: Intenet

Lecture 8 Parsing Websites

Section 5: Profiling and memory

Lecture 9 Profiling

Section 6: Rcpp and high performance R-C++ computing

Lecture 10 Rcpp – Part 1

Lecture 11 Rcpp 2 – Part 2

Lecture 12 Rcpp sugar

Lecture 13 Parallel computing

Section 7: Interacting with other programming languages

Lecture 14 Calling Python from R

Lecture 15 Calling R from Python

Lecture 16 Executing Java code in R

Lecture 17 Calling R from Java using Rserve

Section 8: Data processing

Lecture 18 The Sqldf package – Part 1

Lecture 19 The Sqldf package – Part 2

Intermediate and advanced R users,Basic R users (with a few weeks of experience) can also take this course. They might find some parts difficult, specially if they lack programming experience

Course Information:

Udemy | English | 4h 41m | 2.40 GB
Created by: Francisco Juretig

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top