Tag Archives: Rstudio

RStudio & GitHub

Last night I learned what step I was missing to use RStudio and GitHub together. When I needed to push code to GitHub I couldn’t get it to work. This worked:

First make a repository on GitHub.

Then copy the SSH code for cloning repositories.

Open RStudio,make a new project for the repository,  go to tools tab, choose version control, pick git.

Next set up the project version control

Paste the SSH clone code in RStudio box for GitHub

Then the rest happens and RStudio is linked to GitHub and you can commit, push and pull.

I am glad I finally figured this out. Going to user groups in beneficial.

Building Interactive Graphs with ggplot2 and Shiny

Packt Publishing recently released a video called Building Interactive Graphs with ggplot2 and Shiny.
video available here bit.ly/1kEqYFZ

ggplot2 is a plotting system for R.

Shiny is web application server for R from Rstudio, Inc.

The video consists of talking slides and code demos. The site has code that can be downloaded to follow along with the video.  The code runs. Packt publishing is really good about providing code that runs without editing. The video is clear about what and where things are that need to be downloaded to run the code.

This video is good for beginners. There is enough information and links to more info to keep you from getting lost and puzzled.

I learned more about how to use ggplot2. I have a better understanding about code elements like Aesthetics.

I have now set up a Shiny web server. The video has plenty of suggestions on how to go about hosting and sharing your shiny app.

This video has given me lots of ideas of pretty graphs and plots to develop.