Blog Archives

RStudio:addins part 3 – View objects, files, functions and more with 1 keypress

May 26, 2018
By
RStudio:addins part 3 – View objects, files, functions and more with 1 keypress

Introduction In this post in the RStudio:addins series we will try to make our work more efficient with an addin for better inspection of objects, functions and files within RStudio. RStudio already has a very useful View function and a Go To Function / File feature with F2 as the default keyboard shortcut and yes, I know I promised automatic...

Read more »

RStudio:addins part 3 – View objects, files, functions and more with 1 keypress

May 26, 2018
By
RStudio:addins part 3 – View objects, files, functions and more with 1 keypress

Introduction In this post in the RStudio:addins series we will try to make our work more efficient with an addin for better inspection of objects, functions and files within RStudio. RStudio already has a very useful View function and a Go To Function / File feature with F2 as the default keyboard shortcut and yes, I know I promised automatic...

Read more »

RStudio:addins part 2 – roxygen documentation formatting made easy

May 12, 2018
By
RStudio:addins part 2 – roxygen documentation formatting made easy

Introduction Code documentation is extremely important if you want to share the code with anyone else, future you included. In this second post in the RStudio:addins series we will pay a part of our technical debt from the previous article and document our R functions conveniently using a new addin we will build for this purpose. The addin we will create...

Read more »

RStudio:addins part 2 – roxygen documentation formatting made easy

May 12, 2018
By
RStudio:addins part 2 – roxygen documentation formatting made easy

Introduction Code documentation is extremely important if you want to share the code with anyone else, future you included. In this second post in the RStudio:addins series we will pay a part of our technical debt from the previous article and document our R functions conveniently using a new addin we will build for this purpose. The addin we will create...

Read more »

RStudio:addins part 1 – code reproducibility testing

May 5, 2018
By
RStudio:addins part 1 – code reproducibility testing

Introduction This is the first post in the RStudio:addins series. The aim of the series is to walk the readers through creating an R package that will contain functionality for integrating useful addins into the RStudio IDE. At the end of this first article, your RStudio will be 1 useful addin richer. The addin we will create in this article will...

Read more »

RStudio:addins part 1. – code reproducibility testing

May 5, 2018
By
RStudio:addins part 1. – code reproducibility testing

Contents Introduction Prerequisites and recommendations Step 1 - Creating a package Step 2 - Writing the first functions Step 3 - Setting up an addin Step 4 - Updating our DESCRIPTION and NAMESPACE What is next - Always paying our (technical) debts Wrapping up TL;DR - Just give me the package References Introduction This is the first post in the RStudio:addins series. The aim of the series is to walk the...

Read more »

R:case4base – data subsetting and manipulation with base R

April 20, 2018
By

Contents Introduction How to use this article Selecting (subsetting) relevant data from a data.frame Constructing meaningful subsets simply and safely More ways to provide subset indices Alternatives to base R TL;DR - Just want the code Exercises References Exercise answers Introduction In the previous article we discussed and learned how to reshape data with base R to a form that is practical for our use. In this one, we will look...

Read more »

R:case4base – reshape data with base R

April 6, 2018
By

Contents Introduction How to use this article Basic wide to long reshape Basic long to wide reshape Advanced reshape Alternatives to base R TL;DR - Just want the code Exercises References Exercise answers Discuss the article Introduction This is the first post in the R:case4base series. The aim of the series is to elaborate on very useful features of base R that are lesser known and many times substituted with custom functionality...

Read more »

Search R-bloggers

Sponsors

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)