Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering RStudio: Develop, Communicate, and Collaborate with R
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering RStudio: Develop, Communicate, and Collaborate with R

Mastering RStudio: Develop, Communicate, and Collaborate with R

By : Julian Hillebrand, Nierhoff
4.6 (5)
close
close
Mastering RStudio: Develop, Communicate, and Collaborate with R

Mastering RStudio: Develop, Communicate, and Collaborate with R

4.6 (5)
By: Julian Hillebrand, Nierhoff

Overview of this book

RStudio helps you to manage small to large projects by giving you a multi-functional integrated development environment, combined with the power and flexibility of the R programming language, which is becoming the bridge language of data science for developers and analyst worldwide. Mastering the use of RStudio will help you to solve real-world data problems. This book begins by guiding you through the installation of RStudio and explaining the user interface step by step. From there, the next logical step is to use this knowledge to improve your data analysis workflow. We will do this by building up our toolbox to create interactive reports and graphs or even web applications with Shiny. To collaborate with others, we will explore how to use Git and GitHub and how to build your own packages to ensure top quality results. Finally, we put it all together in an interactive dashboard written with R.
Table of Contents (12 chapters)
close
close
11
Index

Using roxygen2 for package documentation


As seen before, the documentation of our package is very important but can also get very complex when our package reaches a certain size and number of different functions.

But an alternative to creating and editing all the documentation files on our own is using the roxygen2 package. It was developed by Hadley Wickham, Peter Danenberg, and Manuel Eugster.

The basic idea of roxygen2 is it to make it possible to describe functions directly in comments next to their definition in the code file. The roxygen2 package will then go through the code files and create the corresponding Rd files in the man folder.

Installing the roxygen2 package

The roxygen2 package is available on CRAN and can be installed in the R console with the following command:

install.packages("roxygen2")

If we want to have the latest development version from GitHub, we can install it with the devtools package:

devtools::install_github("klutometis/roxygen")

Generating Rd Files

The basic process...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering RStudio: Develop, Communicate, and Collaborate with R
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon