Announcing Packrat

[This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We’re excited to announce Packrat, a new tool for managing the packages your R project depends on.

If you’ve ever been frustrated by package dependencies, whether juggling the packages needed by your own projects or getting someone else’s project to work, Packrat is for you. Similar in spirit to Bundler, Packrat understands package dependencies and manages them inside a private, project-specific library.

Packrat makes your project more isolated, portable, and reproducible. Because your project’s package dependencies travel with it, you control the environment in which your code runs. Your results are easy to duplicate on other machines, whether your own or your collaborators’.

We built Packrat to help us create self-sufficient R projects for deployment, but we think it has many other use cases. Lots more information, including installation instructions, can be found at the Packrat project page:

Packrat: Reproducible package management for R.

If you try it, we’d love to get your feedback. Leave a comment here or post in the packrat-discuss Google group.

To leave a comment for the author, please follow the link and comment on their blog: RStudio Blog. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)