R programming
3 features of S that R also has
Conditionals , UDF, loops
Which GUI comes with installing R
RGui
Name an IDE for R
RStudio
10. who created R?
Ross Ihaka and Robert Gentelman (New Zealand)
7. R supports matrix operations.
True
In a R script, functions should be ____
Verbs
12. 3 OS where R can run on?
Windows, Mac, Unix
4. Is R open source?
Yes
How do you get a demo of R from command prompt?
demo()
How do you license information on R from command prompt?
license()
Vector is just a ____________
list
You have to end each command with semi-colon. T/F
no. just ENTER will do
is rGUI and rStudio same?
no. rStuido is IDE
function to read a text file
read.table
13. S is for:
serious statistics
2. R is both a _______ and _____________
software and language
How do you execute a .R file ?
source (file1.R)
default delimiter in text data file
space
What is S?
statistical system commonly used by statisticains
11. Where does the name "R" come from?
Ross and Robert
8. Name 5 data structures that R supports
Vectors, Matrices, Arrays, Data Frames, Lists
function to throw a graph
plot(a)
How to you get out of R command prompt?
type q()
Is R free?
yes
Is R object oriented?
yes
is R case sensitive?
yes
how to get out of + prompt?
Escape key
5. 3 main uses of R:
Programming, Statistics, Graphics
How do you get out of R console
Q
1. R is a system for statistical analyses and graphics created by ______ and ______________
Ross Ihaka and Robert Gentleman
3. R is considered as a dialect of the ______ language created by the AT&T Bell Laboratories
S
Files with R commands are written in plain text and saved as ______________
.R files
R script files are saved with what extension
.r
9. 3 objects that R supports:
1. Time-Series 2. Geo-spatial 3. Regression Model
How you install R on windows
Normal way
assign 5 to variable a
a <- 5
How do you start R on windows?
double click R on your desktop