Install and Load Packages | Introduction to R (2024)

Packages already included in the initial installation may not have functions that you need. In R, you can easily install and load additional packages provided by other users.

  1. To install packages:

You can either use install.packages() function

or click Tools > Install packages. Write the package name in the dialog, then click install.

  1. Once you install the package, you need to load it so that it becomes available to use. Simply use library() function.
Install and Load Packages | Introduction to R (2024)
Top Articles
Latest Posts
Article information

Author: Jerrold Considine

Last Updated:

Views: 5715

Rating: 4.8 / 5 (78 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Jerrold Considine

Birthday: 1993-11-03

Address: Suite 447 3463 Marybelle Circles, New Marlin, AL 20765

Phone: +5816749283868

Job: Sales Executive

Hobby: Air sports, Sand art, Electronics, LARPing, Baseball, Book restoration, Puzzles

Introduction: My name is Jerrold Considine, I am a combative, cheerful, encouraging, happy, enthusiastic, funny, kind person who loves writing and wants to share my knowledge and understanding with you.