Input and Output
As a scripting language, R is perhaps not as flexible as Python or other languages, but as a statistical language, R provides all of the basic input and output capabilities that an average user is likely to need. In Chapter 3, you will learn how to get data into R and how to get output from R in the form and format you desire.
To prepare for our discussion of input and output, let me first remind you of some functions we have discussed and tell you about a few that we haven’t yet discussed. This will help greatly with your file management for both input and output.
Remember the functions getwd() and setwd() are used ...
Get Beginning R: An Introduction to Statistical Programming, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.