• Online, Self-Paced
Course Description

There are a variety of frequently used programming techniques you can apply to get the most out of the R language. This course covers a variety of techniques in R in order to increase the quality and performance of your R programs.

Learning Objectives

Utility Functions in R

  • start the course
  • use the R substitute, quote, and deparse functions
  • use the R ast function
  • use the R str function
  • work with lazy evaluation in R
  • use the R eval function
  • use the R paste family of functions

Classes and Operators

  • create a reference class in R
  • use the R class function
  • define a binary operator
  • simulate a unary operator using binary operator syntax

Code Translation

  • translate a SQL query to R syntax
  • use the tableHTML library to create HTML tables in R
  • use the xtable library to export a LaTeX document
  • use list2env in R

C and C++ Integration

  • write C++ inline in an R program
  • use Rcpp to call C++ from R
  • use cfunction in R to call inline C

Practice: Code Transformation

  • use xtable to output a table in LaTeX format

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.