by Guangming Lang
~1 min read

Categories

  • r

Use library() instead of require() because the former loads the package whereas the latter tries to load the package. You can read Yihui Xie’s post to understand their differences in detail and when to use require().