Description
- Provide in the plain text the commands that do the following:
-
- Turn on the profiler in R.
- Calculate how much time is spent in which function.
- Shows the sequence of calls.
- Debugs the error, once you know in which function the error occurred.
- Investigates the environment where the error occurred.
- How to solve the following problems (you are stuck at the point below):
-
- > myString <- “Good things come in threes +
- > age <- c(28, 48, 47, 71, 22, 80, 48, 30, 31) > means(age) Error in means(age) : could not find function “means”
- > name_of_a_variable_that_doesnt_exist + 1 * pi^2 Error: object ‘name_of_a_variable_that_doesnt_exist’ not found
- Error: Evaluation error: zip file ‘C:UsersmansDatasome_file.xlsx’ cannot be opened.
- > 1+2(2+3) Error: attempt to apply non-function