This post is intended for users attempting to use the XLSX package in the Windows version of RStudio. I am using RStudio 0.98, R 3.1.2,…
View More rJava in RStudio, Windows, and library xlsxCategory: R
Working with XML Data in R
Working with XML Data in R A common task for programmers these days is writing code to analyze data from various sources and output information…
View More Working with XML Data in RTaking control of qualitative colors in ggplot2
Optional getting started advice Ignore if you don’t need this bit of support. This is one in a series of tutorials in which we explore…
View More Taking control of qualitative colors in ggplot2Introduction to ggthemes
ggthemes Package Overview Some extra geoms, scales, and themes for ggplot, including: Geoms geom_rangeframe : Tufte’s range frame geom_tufteboxplot: Tufte’s box plot Themes theme_calc: a…
View More Introduction to ggthemesPosition scale, date
Usage scale_x_date(…, expand = waiver(), breaks = pretty_breaks(), minor_breaks = waiver()) scale_y_date(…, expand = waiver(), breaks = pretty_breaks(), minor_breaks = waiver()) Arguments breaks A vector…
View More Position scale, dateR Time Data Types
Contents Time and Date Variables Time Operations The time data types are broken out into a separate section from the introductory section on data types.…
View More R Time Data TypesUpdating R from R (on Windows) – using the {installr} package
Upgrading R on Windows is not easy. While the R FAQ offer guidelines, some users may prefer to simply run a command in order to…
View More Updating R from R (on Windows) – using the {installr} packageUsing Loops with ggplot2
http://reed.edu/data-at-reed/resources/R/loops_with_ggplot2.html library(stringr) library(reshape2) library(ggplot2) library(ggthemes) library(pander) # update this file path to point toward appropriate folders on your computer # folder where you want the…
View More Using Loops with ggplot2Mutiple Dataframes within Lists from the start
Lists from the start Again: Don’t ever create d1 d2 d3 in the first place, just create a list d with 3 elements. Reading multiple…
View More Mutiple Dataframes within Lists from the startDates and Times in R
Dates and Times in R R provides several options for dealing with date and date/time data. The builtin as.Date function handles dates (without times); the…
View More Dates and Times in R