June 2007
Beginner to intermediate
950 pages
27h 8m
English
You do not have to type the drive name and folder name every time you want to read or write a file, so if you use the same path frequently it is sensible to set the working directory using the setwd function:
setwd("c:\\temp") ... ... read.table("daphnia.txt",header=T)
If you want to find out the name of the current working directory, use getwd():
getwd()
[1] "c:/temp"
Read now
Unlock full access