SlideShare a Scribd company logo
R Rocks!
  Four Reasons you should dump SPSS for R.



1. It’s FREE
2. It’s open source.
3. You can run it on any machine, including
   Windows, Mac, Linux – even your iPad*
4. Stay on the cutting edge: new packages added
   constantly.
Goal of this presentation


To get you up and running in R, so
you can compare it to your current
stats program.
Get your feet wet with Try R
       Got one to two hours?




    http://tryr.codeschool.com/
Get your feet wet with Try R
       Got one to two hours?

                    This is a fun, pirate-
                   themed introduction
                   to R that requires no
                      programming
                      experience or
                      background in
                          statistics.



    http://tryr.codeschool.com/
Get your feet wet with Try R
       Got one to two hours?


                     (Code school has
                    other great courses
                   too, although most are
                      aimed at serious
                           coders)




    http://tryr.codeschool.com/
Less fun, but more in depth




http://cran.r-project.org/doc/manuals/R-intro.html
Less fun, but more in depth


                                This tutorial has
                                been around for
                                many years. It’s a
                                great option for
                                  exploring R.




http://cran.r-project.org/doc/manuals/R-intro.html
R has a Graphical User Interface:
         R Commander (RCmdr)



                      Looks similar to
                        SPSS to me!
Installing R


   Go to http://www.r-
project.org/ and follow the
      instructions…

First time opening R, your
window will look like this:
Installing R Commander



 Then, just go to:
Packages -> Install
   Package(s)
Installing R Commander
Choose a mirror (I don’t think it matters, but I always choose USA – TX)
Installing R Commander

    Choose RCmdr, and click “OK”


        -----meanwhile, note all of the free

           packages you can download later….
Using R Commander
Go to “Packages” again, but this time, choose “Load
         Package”, and Choose “RCmdr”
Next, import your data

   Import is under Data -> Import Data

You can upload plain text, dat, and even EXCEL files.

Now, play with the commands… they’re not identical
              to SPSS/SAS, but similar.
Questions?


      Ask me: Feel free to e-mail andrea@thinkagile.net

                  Go to http://www.talkstats.com

               Search under: http://www.rseek.org/



The awesome electric guitar photo is courtesy of Feliciano Guimares
http://www.fotopedia.com/users/80n3pj2502nc9, used with Creative Commons
License

More Related Content

Similar to Rocking with R

Introduction to r
Introduction to rIntroduction to r
Introduction to r
gslicraf
 
1 R Tutorial Introduction
1 R Tutorial Introduction1 R Tutorial Introduction
1 R Tutorial Introduction
Sakthi Dasans
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windowstutorialsruby
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windowstutorialsruby
 
Setup R and R Studio
Setup R and R StudioSetup R and R Studio
Setup R and R Studio
Robin Donatello
 
R Introduction
R IntroductionR Introduction
R Introductionschamber
 
Data Science - Part II - Working with R & R studio
Data Science - Part II -  Working with R & R studioData Science - Part II -  Working with R & R studio
Data Science - Part II - Working with R & R studio
Derek Kane
 
R tutorial
R tutorialR tutorial
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
Rupak Roy
 
Data analysis in R
Data analysis in RData analysis in R
Data analysis in R
Andrew Lowe
 
IntroML_2.
IntroML_2.IntroML_2.
IntroML_2.
Elio Laureano
 
Reproducible Research in R and R Studio
Reproducible Research in R and R StudioReproducible Research in R and R Studio
Reproducible Research in R and R Studio
Susan Johnston
 
R Brownbag Seminar 2.1
R Brownbag Seminar 2.1R Brownbag Seminar 2.1
R Brownbag Seminar 2.1
Muhammad Nabi Ahmad
 
R studio practical file
R studio  practical file R studio  practical file
R studio practical file
Ketan Khaira
 
Basics of R
Basics of RBasics of R
Basics of R
Sachita Yadav
 
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...
Daniel Katz
 
Time series
Time seriesTime series
Time series
Ariana Gazcón
 
Up your data game: How to use R to wrangle, analyze, and visualize data faste...
Up your data game: How to use R to wrangle, analyze, and visualize data faste...Up your data game: How to use R to wrangle, analyze, and visualize data faste...
Up your data game: How to use R to wrangle, analyze, and visualize data faste...
Charles Guedenet
 
Introduction to Rstudio
Introduction to RstudioIntroduction to Rstudio
Introduction to Rstudio
Olga Scrivner
 

Similar to Rocking with R (20)

Introduction to r
Introduction to rIntroduction to r
Introduction to r
 
1 R Tutorial Introduction
1 R Tutorial Introduction1 R Tutorial Introduction
1 R Tutorial Introduction
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windows
 
Making%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20WindowsMaking%20R%20Packages%20Under%20Windows
Making%20R%20Packages%20Under%20Windows
 
Setup R and R Studio
Setup R and R StudioSetup R and R Studio
Setup R and R Studio
 
R Introduction
R IntroductionR Introduction
R Introduction
 
Data Science - Part II - Working with R & R studio
Data Science - Part II -  Working with R & R studioData Science - Part II -  Working with R & R studio
Data Science - Part II - Working with R & R studio
 
R tutorial
R tutorialR tutorial
R tutorial
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
 
Data analysis in R
Data analysis in RData analysis in R
Data analysis in R
 
IntroML_2.
IntroML_2.IntroML_2.
IntroML_2.
 
Reproducible Research in R and R Studio
Reproducible Research in R and R StudioReproducible Research in R and R Studio
Reproducible Research in R and R Studio
 
R Brownbag Seminar 2.1
R Brownbag Seminar 2.1R Brownbag Seminar 2.1
R Brownbag Seminar 2.1
 
R studio practical file
R studio  practical file R studio  practical file
R studio practical file
 
Basics of R
Basics of RBasics of R
Basics of R
 
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...
Quantitative Methods for Lawyers - Bonus Module - Introduction to R, Installi...
 
Introduction to r
Introduction to rIntroduction to r
Introduction to r
 
Time series
Time seriesTime series
Time series
 
Up your data game: How to use R to wrangle, analyze, and visualize data faste...
Up your data game: How to use R to wrangle, analyze, and visualize data faste...Up your data game: How to use R to wrangle, analyze, and visualize data faste...
Up your data game: How to use R to wrangle, analyze, and visualize data faste...
 
Introduction to Rstudio
Introduction to RstudioIntroduction to Rstudio
Introduction to Rstudio
 

Rocking with R

  • 1.
  • 2. R Rocks! Four Reasons you should dump SPSS for R. 1. It’s FREE 2. It’s open source. 3. You can run it on any machine, including Windows, Mac, Linux – even your iPad* 4. Stay on the cutting edge: new packages added constantly.
  • 3. Goal of this presentation To get you up and running in R, so you can compare it to your current stats program.
  • 4.
  • 5. Get your feet wet with Try R Got one to two hours? http://tryr.codeschool.com/
  • 6. Get your feet wet with Try R Got one to two hours? This is a fun, pirate- themed introduction to R that requires no programming experience or background in statistics. http://tryr.codeschool.com/
  • 7. Get your feet wet with Try R Got one to two hours? (Code school has other great courses too, although most are aimed at serious coders) http://tryr.codeschool.com/
  • 8. Less fun, but more in depth http://cran.r-project.org/doc/manuals/R-intro.html
  • 9. Less fun, but more in depth This tutorial has been around for many years. It’s a great option for exploring R. http://cran.r-project.org/doc/manuals/R-intro.html
  • 10.
  • 11. R has a Graphical User Interface: R Commander (RCmdr) Looks similar to SPSS to me!
  • 12. Installing R Go to http://www.r- project.org/ and follow the instructions… First time opening R, your window will look like this:
  • 13. Installing R Commander Then, just go to: Packages -> Install Package(s)
  • 14. Installing R Commander Choose a mirror (I don’t think it matters, but I always choose USA – TX)
  • 15. Installing R Commander Choose RCmdr, and click “OK” -----meanwhile, note all of the free packages you can download later….
  • 16. Using R Commander Go to “Packages” again, but this time, choose “Load Package”, and Choose “RCmdr”
  • 17. Next, import your data Import is under Data -> Import Data You can upload plain text, dat, and even EXCEL files. Now, play with the commands… they’re not identical to SPSS/SAS, but similar.
  • 18. Questions? Ask me: Feel free to e-mail andrea@thinkagile.net Go to http://www.talkstats.com Search under: http://www.rseek.org/ The awesome electric guitar photo is courtesy of Feliciano Guimares http://www.fotopedia.com/users/80n3pj2502nc9, used with Creative Commons License

Editor's Notes

  1. Electric guitar photo by Feliciano Guimares http://www.fotopedia.com/users/80n3pj2502nc9, used with Creative Commons License
  2. * jailbroken.
  3. * jailbroken.
  4. I would argue that you don’t have time NOT to learn R.Number of R users is skyrocketing… has been estimated at over 2 million in recent years. Informal surveys that I’ve seen keep showing the number of R users increasing, while the number of SPSS and SAS users stays the same.A lot of what you learn if you really get into R is coding – and that’s something that you can use with SPSS and SAS as well. The codes themselves will change depending on your use, but the
  5. * jailbroken.
  6. * jailbroken.
  7. * jailbroken.
  8. * jailbroken.