Getting Started with R.

Slides:



Advertisements
Similar presentations
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Advertisements

Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 2: Working with Webpage Files.
ATM 315 Environmental Statistics Course Goto Follow the link and then choose the desktop application.
Digital Logic and State Machine Design Installing Xilinx WebPACK 12.4 CS 2204 Digital Hardware.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
University of Sunderland CDM105 Session 6 Dreamweaver and Multimedia Fireworks MX 2004 Creating Menus and Button images.
CPSC1301 Computer Science 1 Overview of Dr. Java.
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
Active-HDL Interfaces Debugging C Code Course 10.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
LYNN BRADSHAW CREATING WEB SITES WITH XARA WEB DESIGNER 7.
THE 3M CLOUD LIBRARY AND YOUR KINDLE FIRE How to download 3M books to your Kindle Fire/HD Made possible by a grant from the Samuel P. Hunt foundation.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Learn R Toolkit D Kelly O'DayInstall & SetupMod 1 - Setup: 1 Module 1 Installing & Setting Up R Do See & HearRead Learn PowerPoint must be in View Show.
Introduction to CADStat. CADStat and R R is a powerful and free statistical package [
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Advanced Computing Facility Introduction
Getting Started with Dreamweaver
Block 1: Introduction to R
The Distributed Application Debugger (DAD)
Microsoft Office 2010 Basics and the Internet
Development Environment
Microsoft Office 2010 Basics and the Internet
Essential tools for implementing and testing websites
Development with Eclipse
Lecture 2: Introduction to R
Developer 2000 CSE 4504/6504 Lab.
Appendix A Barb Ericson Georgia Institute of Technology May 2006
IBM Rational Rhapsody Advanced Systems Training v7.5
Appendix B MathScript Basics
Eclipse Navigation & Usage.
RAD Certification Checkpoint #2 Introducing RadStudio (Hello World)
WORKSHOP 2 TEMPLATES VERSUS SUBSYSTEMS
1. Introduction to Visual Basic
Step 1: Download R and install R:
Installing R and R Studio
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
Bomgar Remote support software
Introduction to Computers
Quick Start Guide for Visual Studio 2010
Telnet/SSH Connecting to Hosts Internet Technology.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Lab 1 Introductions to R Sean Potter.
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Embedding Graphics in Web Pages
1. Open Visual Studio 2008.
Using JDeveloper.
Code is on the Website Outline Comparison of Excel and R
Citation Map Visualizing citation data in the Web of Science
This is where R scripts will load
Getting Started: Amazon AWS Account Creation
Getting Started with Dreamweaver
Download and Installation of code::blocks
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Lesson 4 Creating a page with Web Matrix
Scripts In Matlab.
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
This is where R scripts will load
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Selenium IDE Installation and Use.
Presentation transcript:

Getting Started with R

Download and install locally from http://www.r-project.org/ TACC ssh stampede.tacc.utexas.edu % module load R % R There are two versions available, R 2.15.1, using default GCC compiler, BLAS library etc. R 3.0.1, using intel compiler, MKL library, faster, but may have problem when using other package requires GCC compilation.

R command line interface on cluster So here is the basic of R console. It’s just a command line interface. All command in the form of a function for example. For example, you need help() for a particular function you can type in the help and put the function you seek as a parameter.

R Console interface on Mac Here is the screenshot of the R console interface on my Mac laptop. It’s a step up from the just command line interface, In addition to just you can open up your R code. It is the same console you see before. You get some extra helpful tools on the top such as showing up your command history. The R GUI interface also comes with source code editor. So you can go to the file and open an existing source file. You will get what you typically get from an IDE with color coding to different part of the code, line number etc. The basic R GUI also include workspace viewer which gives you quick view that all the object you may have created during your R session. and a data manager view showing the dataset has been included in the enviroment. If your code has any graphical output the R GUI can also open them and display with them.

RStudio: A better user interface of R RStudio is a open source graphical user environment for R users. https://www.rstudio.com/ RStudio allow users to Interactive code development Run R scripts Exploring local file system Viewing data file Viewing graphical output from R …

RStudio GUI Source Editor + Interactive highlight+run Session History Interactive Console Here is the typical Rstudio GUI. The default view splits into four parts. On the left, You have the source editor on the top and the interactive console on the bottom. Those are the same two view as the default R GUI. however, R studio provide more developer friendly features. Comparing to basic R GUI, you can also highlight a subset of line and just run those. On the bottom left, you have the standard interactive console. It is the exactly the same as in the command line interface, RGUI. On the right, it shows a lot more helpful information. On the top right, you can view session related data, like the history of the current session similar to the history window you get from the standard R GUI. You can also click the environment tab and see data and variables currently using by the session. On the bottom right, there is a list of tabs. for exploring the external file system, plots, packages installed etc. Plots Management

RStudio GUI Data Viewer Variable/Environment Viewer For the right hand, you can click on different tabs. This screenshots show the enviroment tab. It is sort of a combination between the workspace view and data view from the R GUI. A nice feature is you can clikc import datasets to directly load a structured file in it. It will pop up a wizard like window for you to choose the data file format Once the file is opened, you can see them in the list, as well as open them like a table in the data viewer on the left hand side. On the bottom right, you also can see your directory and double click a source file, or data file to load them, Ok installing/manage package from there. Package Management File Management

RStudio GUI Project + Source Control Integration The bottom right panel also provide an formated HTML view for all the pakcage informaiton and helps. You can select and browsing them as you view a website. You may also using the help function to call for help through the interactive console. However, instead of displaying the help in the console, it is now will shows up side by side. Finally, you could export/import your Projects from/to a file format or version control system. Currently supporting both subversion and GIThub. Rstudio, has more features and best suited for code development and debuging. It can also be used as a tool for analysis since it allows user to interact with the data and corresponding results much more convenient. Interactive Help Interactive Help

Web interface of Rstudio on Maverick Users can run an interactive web session with RStudio using maverick.tacc.utexas.edu The Job script template is in /share/doc/slurm/job.RStudio On Maverick, Submitting the job with Sbatch /share/doc/slurm/job.Rstudio After the job is running, a URL will be available for connection e.g. http://maverick.tacc.utexas.edu:12173

Then visit the URL and log in with your account credential

Now vola, you have the full featured Rstudio running within your browser window. The web browser is just the front end, all the actual computations are done on the compute nodes assigned. You can close the current browser, and your job will be still running on the compute nodes, You can log back in some time later, with a different computer, different browser.

Even better Starting session through web portal