Quantitative
Methods
for
Lawyers
Intro to the R Environment
Installing R, R Studio
Class Bonus Module
@ computational
comp...
In this introduction, I will
curate for you the wonderful
set of online resources that
you can you to learn
Okay Lets Start With Some
Quick Background
is a Statistical Computing Language
is a free, open source
implementation of the S language
has particular
syntax and logic that
can be learned
(but it takes some time)
The Basic Installation Offers
a Base Model of but
you can load additional
packages as needed to
customize your experience
...
Indeed, now features
more than 4,000 different
packages
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
The Ecosystem
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
The Ecosystem
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
Later, I will show
you how to add
specific packages
from CRAN
The Ecosyst...
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
Later, I will show
you how to add
specific packages
from CRAN
The Ecosyst...
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
But first, we will
download the
following:
Core R
The EcosystemLater, I w...
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
But first, we will
download the
following:
Core R
The EcosystemLater, I w...
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
R Studio
(as our front end IDE tool)
But first, we will
download the
foll...
http://www.ats.ucla.edu/stat/r/seminars/intro.htm
R Studio
(as our front end IDE tool)
But first, we will
download the
foll...
Lets Install
A Useful Video for You on Installing R on a Windows Machine
http://www.youtube.com/watch?v=X_oFb2iAdu8
A Useful Video for You on Installing R Studio on Windows
http://www.youtube.com/watch?v=AZPbg29Plpw
http://www.youtube.com/watch?v=ICGkG7Gg6j0
A Useful Video for You on Installing R on a Mac
A Second Useful Video for You on Installing R + RStudio on a Mac
http://www.youtube.com/watch?v=zMvwJtKY874
Note: Mac Users Might Also
Benefit from Watching the PC
video (and vice versa)
If you have successfully
installed BOTH
and
Then, it is time to explore
So open R Studio
Here is the Front End
You Can Switch Your
Colors in Preferences
You Can Switch Your
Colors in Preferences
You Can Switch Your
Colors in Preferences
Watch this video in full screen mode in order to get started with windows in R studio
http://www.youtube.com/watch?v=jPk6-...
Lets Explore Some More
Basic Stuff With R Studio
Loading Packages
As promised, I will
now show you how
to add specific
packages from
CRAN
ggplot2 is a very
popular graphics
package
ggplot2 is a very
popular graphics
package
It is not
included in the
base install of R
ggplot2 is a very
popular graphics
package
It is not
included in the
base install of R
But it is
quite easy
to add
Lets enter
some
commands
Library () will
provide us with
a list of
currently
installed
packages
Scroll
Through
and
Notice that
ggplot2 is
not there
Type
install.packages
(“ggplot2”)
and hit return
(don’t forget
the quotes)
Notice that is
automatically
installing the
dependencies
this is great
because not
you do not
have to go
install each of
t...
Can You Earn
All 7 Badges ?
http://tryr.codeschool.com/
Daniel Martin Katz
@ computational
computationallegalstudies.com
lexpredict.com
danielmartinkatz.com
illinois tech - chica...
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz
Upcoming SlideShare
Loading in …5
×

Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz

2,280 views

Published on

Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz

Published in: Law, Technology, Education
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total views
2,280
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
4
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installing R and RStudio - Professor Daniel Martin Katz

  1. 1. Quantitative Methods for Lawyers Intro to the R Environment Installing R, R Studio Class Bonus Module @ computational computationallegalstudies.com professor daniel martin katz danielmartinkatz.com lexpredict.com slideshare.net/DanielKatz
  2. 2. In this introduction, I will curate for you the wonderful set of online resources that you can you to learn
  3. 3. Okay Lets Start With Some Quick Background
  4. 4. is a Statistical Computing Language
  5. 5. is a free, open source implementation of the S language
  6. 6. has particular syntax and logic that can be learned (but it takes some time)
  7. 7. The Basic Installation Offers a Base Model of but you can load additional packages as needed to customize your experience and add functionality
  8. 8. Indeed, now features more than 4,000 different packages
  9. 9. http://www.ats.ucla.edu/stat/r/seminars/intro.htm The Ecosystem
  10. 10. http://www.ats.ucla.edu/stat/r/seminars/intro.htm The Ecosystem
  11. 11. http://www.ats.ucla.edu/stat/r/seminars/intro.htm Later, I will show you how to add specific packages from CRAN The Ecosystem
  12. 12. http://www.ats.ucla.edu/stat/r/seminars/intro.htm Later, I will show you how to add specific packages from CRAN The Ecosystem (such as ggplot2)
  13. 13. http://www.ats.ucla.edu/stat/r/seminars/intro.htm But first, we will download the following: Core R The EcosystemLater, I will show you how to add specific packages from CRAN (such as ggplot2)
  14. 14. http://www.ats.ucla.edu/stat/r/seminars/intro.htm But first, we will download the following: Core R The EcosystemLater, I will show you how to add specific packages from CRAN (such as ggplot2)
  15. 15. http://www.ats.ucla.edu/stat/r/seminars/intro.htm R Studio (as our front end IDE tool) But first, we will download the following: Core R The EcosystemLater, I will show you how to add specific packages from CRAN (such as ggplot2)
  16. 16. http://www.ats.ucla.edu/stat/r/seminars/intro.htm R Studio (as our front end IDE tool) But first, we will download the following: Core R The EcosystemLater, I will show you how to add specific packages from CRAN (such as ggplot2)
  17. 17. Lets Install
  18. 18. A Useful Video for You on Installing R on a Windows Machine http://www.youtube.com/watch?v=X_oFb2iAdu8
  19. 19. A Useful Video for You on Installing R Studio on Windows http://www.youtube.com/watch?v=AZPbg29Plpw
  20. 20. http://www.youtube.com/watch?v=ICGkG7Gg6j0 A Useful Video for You on Installing R on a Mac
  21. 21. A Second Useful Video for You on Installing R + RStudio on a Mac http://www.youtube.com/watch?v=zMvwJtKY874
  22. 22. Note: Mac Users Might Also Benefit from Watching the PC video (and vice versa)
  23. 23. If you have successfully installed BOTH and
  24. 24. Then, it is time to explore So open R Studio
  25. 25. Here is the Front End
  26. 26. You Can Switch Your Colors in Preferences
  27. 27. You Can Switch Your Colors in Preferences
  28. 28. You Can Switch Your Colors in Preferences
  29. 29. Watch this video in full screen mode in order to get started with windows in R studio http://www.youtube.com/watch?v=jPk6-3prknk
  30. 30. Lets Explore Some More Basic Stuff With R Studio
  31. 31. Loading Packages
  32. 32. As promised, I will now show you how to add specific packages from CRAN
  33. 33. ggplot2 is a very popular graphics package
  34. 34. ggplot2 is a very popular graphics package It is not included in the base install of R
  35. 35. ggplot2 is a very popular graphics package It is not included in the base install of R But it is quite easy to add
  36. 36. Lets enter some commands
  37. 37. Library () will provide us with a list of currently installed packages
  38. 38. Scroll Through and Notice that ggplot2 is not there
  39. 39. Type install.packages (“ggplot2”) and hit return (don’t forget the quotes)
  40. 40. Notice that is automatically installing the dependencies this is great because not you do not have to go install each of them by hand :)
  41. 41. Can You Earn All 7 Badges ? http://tryr.codeschool.com/
  42. 42. Daniel Martin Katz @ computational computationallegalstudies.com lexpredict.com danielmartinkatz.com illinois tech - chicago kent college of law@

×