What if you have a lot of old data files in SPSS form and you do not have SPSS software. You are in luck if you have Rstudio. Current versions of Rstudio load SPSS data files without needing a special library for the task. There are libraries for this task.
To load SPSS data:
Open RStudio, on menu bar choose File, scroll to Import Data set, choose from SPSS.
A window opens to load the data.
Enter file name or url into file/url box.
Preview data in preview window. If it looks okay push the import button. And the data is loaded into Rstudio ready for use.
This is a very useful feature of RStudio.
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.
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.