Skip to content

elbertbakker/datasciencecoursera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R Basics for datasciencecoursera

README.md

Working notes for the intro to Data Science through Coursera

The Data Scientist’s Toolbox

R Basics Guide

We will make working notes on using R throughout this project.

You can find helpful resources all over the web:

Console commands

Install When installing packages make sure to check your exact spelling within commands. For example, the install option requires the plural 'install.packages()' but will not accept singluar 'install.package()'

install.packages('ggplot2')
install.packages(c('ggplot2','devtools','lme4'))

Load

library()
library(ggplot2)

What packages are installed?

installed.packages()
library

Updating packages

old.packages()
update.packages()
install.packages('packagename')

Unload packages

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

Uninstall packages

remove.packages()
remove.packages('ggplot2')

Check current versions and copyrights

version
sessionInfo()
library(packageName)

For example, running library(KernSmooth) gives us:

KernSmooth 2.23 loaded Copyright M. P. Wand 1997-2009

Help

help()
help(package='ggplot2')

Vignettes

browseVignettes()
browseVignettes('ggplot2')

About

Files for Coursera Data Science

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published