Abstract
This chapter explains how to download and install R and RStudio. Readers are introduced to the R console, to R Projects, and shown how to execute basic commands.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
See, for example, Wickham and Grolemund (2017); Venables and Smith (2009); Braun (2016); or any of the books in Springer’s Use R Series: http://www.springer.com/series/6991?detailsPage=titles.
- 2.
To find what OS you are running, choose “About this Mac” from the Apple menu.
- 3.
The first time you launch RStudio you will be able to see only three of the panes. The R scripting or Source pane will likely be collapsed so you will see only the word Source until you either create a new script (File > New > R Script) or un-collapse the Source window pane.
- 4.
This is not entirely true. RStudio does save your command history and, at least while your session is active, you can access that history and even save it to a file. Once you quit a session, however, that history may or may not be saved.
- 5.
The Console is a command line window where you enter commands. Sometimes this is called a Terminal or Shell.
- 6.
Throughout this book, we will show output from the console proceeded by two hash marks (##). These hash marks will not appear in your console output.
References
Braun W (2016) A First Course in Statistical Programming with R, 2nd edn. Cambridge University Press, New York, NY, USA
Venables WN, Smith DM (2009) An Introduction to R, 2nd edn. Network Theory Ltd.
Wickham H, Grolemund G (2017) R for Data Science: Import, Tidy, Transform, Visualize, and Model Data, 1st edn. O’Reilly Media, Sebastopol, CA
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
L. Jockers, M., Thalken, R. (2020). R Basics. In: Text Analysis with R. Quantitative Methods in the Humanities and Social Sciences. Springer, Cham. https://doi.org/10.1007/978-3-030-39643-5_1
Download citation
DOI: https://doi.org/10.1007/978-3-030-39643-5_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-39642-8
Online ISBN: 978-3-030-39643-5
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)