Useful Resources for Getting Started with R Programming

I previously blogged about building a dashboard using R and as with learning any new programming language there are a set of essential tasks to figure out before you can be very productive so I thought I’d post the set of bookmarks I’ve cycled through as I learn R.

Using R — Basic error Handing with tryCatch()

Dynamically Installing and Loading Packages:

if(!require(jsonlite)) install.packages("jsonlite")

Unloading packages:

detach("package:DT", unload=TRUE)

Filtering a dataframe row that contains a string

Extracting specific columns from a dataframe

4 data wrangling tasks in R for advanced beginners

Convert data.frame columns from factors to characters

How to sum all values of a column of in a data.frame?

How do I get the number of rows of a data.frame in R?

Add new row to dataframe

How to extract unique elements from a data.frame in R?

How to Convert Numeric Data into Currency in R?

Gantt charts with R

Connecting to SQL Server from R using RJDBC

Grouping, Pivoting, Filtering & more in R

How to delete the first row of a dataframe in R?

(R) How to tell what is in one vector and not another?

Extracting specific columns from a data frame

Converting a data.frame to a numerical matrix in R, not so easy!

Building a Dashboard in R with Shiny & ShinyDashboards (underlying template framework)

How to Make a PivotTable in R


Lastly, here’s my sessionInfo:

> sessionInfo()
R version 3.2.4 (2016-03-10)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.4 (El Capitan)

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] RColorBrewer_1.1-2     RGoogleAnalytics_0.1.1 lubridate_1.5.6        stringr_1.0.0          googleVis_0.5.10      
 [6] scales_0.4.0           DT_0.1                 plotly_3.4.13          ggplot2_2.1.0          shinydashboard_0.5.1  
[11] jsonlite_0.9.19        httr_1.1.0             reshape2_1.4.1         dplyr_0.4.3            shiny_0.13.2          
[16] RPostgreSQL_0.4        RJDBC_0.2-5            rJava_0.9-8            DBI_0.3.1             

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.4       plyr_1.8.3        base64enc_0.1-3   viridis_0.3.4     tools_3.2.4       digest_0.6.9      gtable_0.2.0     
 [8] curl_0.9.7        yaml_2.1.13       parallel_3.2.4    gridExtra_2.2.1   htmlwidgets_0.6   grid_3.2.4        R6_2.1.2         
[15] RJSONIO_1.3-0     tidyr_0.4.1       magrittr_1.5      htmltools_0.3.5   rsconnect_0.4.2.1 assertthat_0.1    mime_0.4         
[22] xtable_1.8-2      colorspace_1.2-6  httpuv_1.3.3      labeling_0.3      stringi_1.0-1     openssl_0.9.2     lazyeval_0.1.10  
[29] munsell_0.4.3    

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.