R lecture

R lecture - R version 2.11.1 (2010-05-31) Copyright (C)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
R version 2.11.1 (2010-05-31) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. [Previously saved workspace restored] > ceo Error: object 'ceo' not found
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
> ceo Error: object 'ceo' not found > 'ceo' [1] "ceo" > > read Error: object 'read' not found > read.table("CEO.txt", header=T) Error in file(file, "rt") : cannot open the connection In addition: Warning message: In file(file, "rt") : cannot open file 'CEO.txt': No such file or directory > names(CEO) [1] "AGE" "SALARY" > CEO$AGE [1] 53 43 33 45 46 55 41 55 36 45 55 50 49 47 69 51 48 62 45 37 50 50 50 58 53 [26] 57 53 61 47 47 56 44 46 58 48 38 74 60 32 51 50 40 61 63 56 45 61 70 59 57 [51] 69 44 56 50 56 43 48 52 62 48 > ceo$salary Error: object 'ceo' not found > CEO$SALARY [1] 145 621 262 208
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 10

R lecture - R version 2.11.1 (2010-05-31) Copyright (C)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online