Author
Updated
6/25/2015Released
4/23/2015Mark introduces challenges and then provides an overview of his solutions in R. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C++, C#, JavaScript, PHP, Python, Ruby, and Swift.
Skill Level Intermediate
Duration
Views
- Hello, and welcome to Code Clinic for R. My name is Mark Niemann-Ross and I'm excited to show you my solutions for the challenges proposed to the Code Clinic authors. In this series, we'll explore creative and efficient ways to use R to solve a range of problems. I'll describe some of the unique features of this language and show you some tips on how to make your code run faster and be more reliable, as well as pointers on making it more readable.
If you search the Lynda.com library for Code Clinic, you'll find additional courses by different authors using other languages including, Java, C++, Python, PHP, Ruby, JavaScript, Swift, and C#. Each Code Clinic author solves the exact same set of problems. So you can compare different solutions as well as the pros and cons of each language. If you're looking for tips on better coding or trying to decide on your next new programming language, you're going to love Code Clinic.
So, let's get started with Code Clinic for R.
Q: R Studio tells me that it can't find files I expect to be available. Where can I find them?
A: Use the setwd() command to set the working directory to match the folder you're working in.
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S.
Related Courses
-
Code Clinic: Ruby
with Kevin Skoglund5h 42m Intermediate
-
Introduction
-
Welcome1m 12s
-
Using the exercise files1m 9s
-
Using RStudio4m 58s
-
The R programming language10m 29s
-
Debugging with browser()4m 26s
-
-
1. Problem One: Statistical Analysis
-
Overview of my solution1m 52s
-
Changes at Lake Pend Oreille1m 24s
-
Walking the unit tests3m 53s
-
Three lessons learned1m 26s
-
2. Problem Two: Image Analysis
-
Applying CCF to images7m 58s
-
Running a unit test2m 22s
-
Exploring funcwrapper1m 10s
-
Stepping across the image5m 33s
-
3. Problem Three: Eight Queens
-
Overview of my solution1m 29s
-
A matrix of possibilities6m 44s
-
Understanding countUnique.R6m 33s
-
4. Accessing Peripherals
-
Testing mouse access1m 40s
-
Testing sound generation5m 22s
-
5. Recursion and Directories
-
Walking the directory sort code10m 56s
-
6. Building the Web
-
Overview of my solution4m 16s
-
Installing and using Shiny4m 46s
-
Setting up the app directory3m 25s
-
Modifying index.html5m 13s
-
Modifying server.R19m 6s
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Welcome