-
Notifications
You must be signed in to change notification settings - Fork 0
/
00_Before_Class_Setup.Rmd
89 lines (48 loc) · 2.31 KB
/
00_Before_Class_Setup.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
title: "00 Before Class Setup"
author: "Jillian Dunic"
date: "July 8, 2015"
output: html_document
---
Please install the following programs prior to coming to class.
*Install R*
Mac
http://cran.r-project.org/bin/macosx/
Windows
http://cran.r-project.org/bin/windows/base/
Linux (Ubuntu)
http://cran.r-project.org/bin/linux/ubuntu/README
*Install Rstudio*
All platform downloads available here
https://www.rstudio.com/products/rstudio/download/
*Install git*
Follow the instructions here to install git on your machine
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
*Create a Github account and request an education account*
Please create an account even if you cannot install git on your local computer.
https://github.com/
Request an education discount here ASAP. These take time to process.
https://education.github.com/discount_requests/new
If you have problems installing these programs prior to class. Please email me asap. We will have some time dedicated at the start of class to troubleshooting. For those of you who already have some experience with these programs, please assist your neighbours in class who may be having troubles.
If you are successful in setting up your computer and would like to get your feet wet in R, you can also install the package 'Swirl' and try some of the interactive tutorials.
Follow the information at this link to start working with Swirl: http://swirlstats.com/students.html
------------------------------------------------------------------------------------------
*Terminal Tinkering -- for Mac and Linux users only*
Please attempt to play, even for 10 minutes with your terminal. This may be completely new to most of you. **
*Opening a terminal*
Mac
Type 'terminal' into spotlight
Now that you have a terminal open try the following commands (note you do not type the carrot '>'):
Change directory:
> cd ~
This should put you in your home directory
List the files in your directory:
> ls -a
Change directory:
> cd type_directory_name_or_path_here
Get the path to your current directory:
> pwd
Go back to the directory one level up:
> cd ..
More commands can be found here if you are interested in learning more. But for now I just want you to have some exposure. Note - a directory is just a folder.
http://cli.learncodethehardway.org/book/ex1.html