Tag Archives: data frame

Querying Databases in R

One of the first things you’ll want to do in R is set it up to talk to databases. The easiest way to do this is using ODBC, via package RODBC. To get the package, run > install.packages(RODBC) Once you … Continue reading

Posted in Data Munging, R, R Tip | Tagged , , , , , | Leave a comment

Examining Data Frames — head and tail

head and tail, for those familiar with the unix command line, are two very handy utilities for looking at data frames. Along with str, which displays the structure of a data frame, they help you look at your data: > … Continue reading

Posted in Data Munging, R, R Tip | Tagged | Leave a comment