In order to import a file we have to be able to tell R where the file is. Here we'll describe how file locations can be specified, either as full paths, relative to the working directory, or interactive file choice using file.choose()
. Note that interactive file choice will not work with compiled documents. Also note that from here on out the course notes assume that your working directory is set to "Essential R".
User Preferences
Content Preview
Arcu felis bibendum ut tristique et egestas quis:
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
- Duis aute irure dolor in reprehenderit in voluptate
- Excepteur sint occaecat cupidatat non proident
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Odit molestiae mollitia
laudantium assumenda nam eaque, excepturi, soluta, perspiciatis cupiditate sapiente, adipisci quaerat odio
voluptates consectetur nulla eveniet iure vitae quibusdam? Excepturi aliquam in iure, repellat, fugiat illum
voluptate repellendus blanditiis veritatis ducimus ad ipsa quisquam, commodi vel necessitatibus, harum quos
a dignissimos.
Keyboard Shortcuts
- Help
- F1 or ?
- Previous Page
- ← + CTRL (Windows)
- ← + ⌘ (Mac)
- Next Page
- → + CTRL (Windows)
- → + ⌘ (Mac)
- Search Site
- CTRL + SHIFT + F (Windows)
- ⌘ + ⇧ + F (Mac)
- Close Message
- ESC