How to Correctly Load a R Package

Master R

By Guangming Lang Comment

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().

If you enjoyed this post, get updates. It's FREE