Image by rawpixel.com

Struggling To Distribute Your R Code? Here’s An Amazing Easy Reproducible Way For R Enthusiasts

Joshua

--

For a long time, I have not been familiar with Git because of my non-technical background. I knew what it was and also knew the difference between Git and GitHub but never took the time and energy to learn it. Luckily I now know that it makes distributing code so much easier and it is also quite easy. It is definitely a skill to master for every newbie in the data science sphere.

My main use-case for Git and GitHub is to distribute code from my local computer to a Linux server. I think this is an easy example to get involved with Git and GitHub.

Summary:

  • Understanding the different code distribution workflows without and with Git
  • Installing Git on Windows and Linux
  • Connecting RStudio or Linux server with GitHub
  • Workflow example with Git from local Computer to Linux Server

My standard workflow when publishing code to a server looked a long time like this:

RStudio → Manual transfer via WinSCP → Linux Server

As stated on their website ‘WinSCP is an open source free SFTP client, FTP client…

--

--