Hi 2001,
We had a couple of questions that I wanted to answer to the list in case
anyone else is facing similar snags:
1- how do you load the dataset from the lab computer?
Loading the dataset from the lab computer is just like loading the data from
any computer. An easy way is to download the data file from the class
website to the computer you're working on, making sure the end of the file
name remains .RData . Set your working directory in R to the same folder to
which you downloaded the data. Then in R, use
load("filename.RData")
2- how do you save plots in R?
An easy way to save plots in R is to use one of the calls postscript("
filename.eps") or pdf("filename.pdf") before executing the plot commands.
After executing the plot commands, close the plotting canvas with dev.off(),
leaving the parentheses empty.
Jenn
Show replies by date