Setting Up R & R Studio: difficulty 2

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

For each situation, give the single command or action that addresses it, and one sentence of justification.

  1. You want to check which folder R will search when your script asks for a file using a relative path.
  2. A collaborator using a different operating system must be able to run your analysis without editing any file paths.
  3. Running library(dplyr) returns Error in library(dplyr) : there is no package called 'dplyr'.
  4. You are confident dplyr is installed on this machine, but calling one of its functions returns Error: could not find function "mutate".

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Setting Up R & R Studio Questions: