> 2^3 # two to the power 3. > x x z # no dynamic updating; it"s not a spreadsheet. > y = 1 + 2*x # another way to do assignment. > z 4] # z gets y such that x > 4. > # if you put an array of integers inside the brackets, you get those. > y # there is no seventh element. > pnorm(0) # area less than zero for a standard normal. > dpois(0,lambda=3) # p(y=0) for y ~ poisson(3) > qnorm(0. 975) # z value with p(z qf(0. 975,df1=6,df2=122) # critical value for f, not in any table. > pairs(trees) # can also give it a matrix, in which the columns are variables. Look at the free mini-book an introduction to r by venables et al.