Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.
Introdução ao R
Transcript of Introdução ao R
R is free!
Interactive data analysis and exploration
R runs on Windows, Unix, and Mac OS X
And much more...
Example of Graphics Capabilies
Obtaining and installing R
R is freely available
command prompt (>)
vectors, matrices, factors, lists and data frames
Functionality is provided through built-in and user-created functions
Basic functions are available by default
Packages can be attached to a current session.
Statements consist of functions and assignments. R
x <- rnorm(5)
Comments are preceded by the # symbol
To get a sense of what R can do graphically, enter demo(graphics)at the command prompt.
Other demonstrations include demo(Hershey), demo(persp), and demo(image). To see a complete list of demonstrations, enter demo().
R working environment
objects (vectors, matrices, functions, data frames, or lists)
Commands are entered interactively at the R user prompt
To scroll use up and down arrow keys
Current working directory -
Set the current working directory -
Introdução ao R
UFF-PPGAD - 2015
Working in R
Lessons from R
Data analys is very diferent from system programming
People will put up with a lot to get their work done
People will use a familiar tool over a better tool if all feasible
Fist class functions, closures
Objects (2 ways)
Pass by value
Everything is nullable (2 ways)
R became the pattern so forth
KOBAKOF, R. I., R in Action, Manning Shelter Island, 2011
EVERITT, B.; HOTHORN,T; An Introduction to Applied Multivariate Analysis with R
The R Language The Good The Bad And The Ugly - John Cook - youtube