O'Reilly logo

Mastering RStudio – Develop, Communicate, and Collaborate with R by Maximilian H. Nierhoff, Julian Hillebrand

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building packages with RStudio

RStudio combines the power of devtools with its GUI, which makes the development of your own packages very easy and manageable with just a few clicks.

Creating a new package project with RStudio

To create a new package with RStudio, just click on File | New Project... and select New Directory.

Creating a new package project with RStudio

Then you can select R Package from the upcoming menu:

Creating a new package project with RStudio

Now you have to set the necessary parameters for your R package. These include the type of the package, the package name, the option to create a package based on source files, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required