]> git.donarmstrong.com Git - don.git/blob - r/learning_r/variables_and_objects.mdwn
first draft of variables and objects
[don.git] / r / learning_r / variables_and_objects.mdwn
1 [[!meta title="Learning R: Basic Variables and Objects"]]
2
3 Variables and Objects
4 ---------------------
5
6 Like most computer languages, R uses variables as a means of storing
7 information in memory and retrieving it later. A variable 
8
9 In R, variables are more correctly called objects, because they have
10 structure and do not directly refer to a memory.
11
12 Basic Types
13 ----------
14
15 Vectors
16 =======
17
18 A vector is the major data type used in R. You can think of it as a
19 line of cells, each containing a value of the same type.
20 [Type here means a number or a string.]
21
22
23 Lists
24 =====
25
26
27 Object Attributes
28 -----------------
29
30
31
32