What are R topical programming and statistical relevance?
Answer Posted / Sachin Kumar Mourya
In R, both library() and require() are used to load packages. However, library() will load the package and add it to the search path so that you can use it without specifying the package name every time. On the other hand, require() only loads the package once and does not add it to the search path. If a package is not found, require() will produce an error, while library() will give a warning.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers