Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

R logo

Export an R data frame into a formatted Excel sheet

Posted 22nd March 2024

No comments

A straightforward method for exporting an R data frame to a formatted Excel workbook.

Read the full story...

R logo

Connect an RStudio project to Github

Posted 23rd March 2022

No comments

Use GitHub to back-up your R projects within RStudio and ensure you maintain version control.

Read the full story...

R logo

Changing date formats in R

Posted 21st June 2021

No comments

Dates come in all sorts of formats, but R generally prefers dates in the format YYYY-MM-DD. Here’s a quick method to convert date formats in R.

Read the full story...

R logo

Cumulative totals by group in R

Posted 4th June 2021

No comments

Use Tidyverse’s dplyr package in R to add cumulative totals to a table based on group.

Read the full story...

R logo

Tips for cleaning-up an R session

Posted 29th May 2021

No comments

Sometimes one just needs a “clean slate” in R, particularly when using R Studio. Here are my quick tips for cleaning up an R session in R Studio:

Read the full story...

R logo

Rescaling Data in R

Posted 23rd September 2019

No comments

A simple methodology for rescaling multiple series of data via min-max normalisation in R, then plotting.

Read the full story...

R logo

Changing the default library folder path in R

Posted 30th November 2017

6 comments

A simple procedure in Microsoft Windows for setting the default library folder for installations of R.

Read the full story...

R logo

Resolving ‘Unable to move temporary installation’ in R

Posted 29th November 2017

32 comments

A simple solution to overcoming the “Unable to move temporary installation” fault when installing packages in R

Read the full story...

R logo

Transferring packages between different versions of R

Posted 31st July 2017

No comments

Use a couple of small scripts to easily “transfer” installed packages between different installations or versions of R.

Read the full story...

R logo

Update R from within the console

Posted 14th February 2017

No comments

A useful protocol for updating the R statistical package from within the R console window.

Read the full story...