In this video, Mark Niemann-Ross demonstrates exporting an R data structure to an Excel workbook. Learn how to build an Excel workbook from scratch using the R language.
- [Instructor] R provides a lot of packages…that will allow you to export data out to an Excel workbook.…And I'm going to demonstrate one of them, it's called rio.…Before I start, make sure that you have set…your working directory to point to chapter zero one,…and then I'll need some data to export,…so I'm going to use the data command,…and use the CO2 and ChickWeight datasets.…Now I have two data frames, ChickWeight and CO2,…and I'd like to export those out to a workbook…and I'll use rio for that.…
Be sure that if you haven't already installed rio,…use the install.packages command with rio,…and use library rio to make rio available for use.…Now, to export those two data frames…out to a workbook is fairly simple.…You use the export command, part of rio,…parenthesis, and then you feed it a list…of datasets you'd like to export, in this case list,…and we'll call up the CO2 data frame,…and the ChickWeight data frame.…
You'll need to tell the export command…where to put that file.…And to do that, you put file, and then a name…
- Name the three types of big data.
- List three considerations used to determine the appropriate R package for Excel.
- Determine the best package used to import entire Excel workbooks.
- Explain how to import standard text files using base R and tidyverse.
- Define the purpose of the foreign language package for R.
- Recognize restrictions when working on SAS files in the foreign language package.
- Identify the problems involved with extracting data from a PDF in R.
Skill Level Intermediate
R Programming in Data Science: High Volume Datawith Mark Niemann-Ross1h 25m Intermediate
1. Use R with Excel
2. Importing Text Files
3. Understanding the Foreign Package
4. Use R with Popular Data Formats
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.