InterviewSolution
Saved Bookmarks
| 1. |
You can time ________ expressions by wrapping them in curly braces within the call to system.time().(a) smaller(b) longer(c) error(d) graterThis question was addressed to me by my college director while I was bunking the class.I want to ask this question from R Profiler in section Profiling, Simulation and Data Analysis of R Programming |
|
Answer» CORRECT option is (b) longer Explanation: If your EXPRESSION is GETTING pretty long (more than 2 or 3 lines), it might be BETTER to either break it into smaller PIECES or to use the profiler. |
|