# to browse for a csv data file on the computer system, invoke rad with
# the ref argument empty, which, in turn, invokes read.csv(file.choose()),
# and then automatically invokes the attach, head and tail statements
# rad()
# same as above, but include standard read.csv options to indicate
# no variable names in first row of the csv data file
# and then provide the names
# also indicate that the first column is an ID field
# rad(header=FALSE, col.names=c("X", "Y"), row.names=1)
# read a csv data file from the web
# then attach and list variable names and some values
rad("http://web.pdx.edu/~gerbing/data/twogroup.csv")
Run the code above in your browser using DataLab