Displaying 1 result from an estimated 1 matches for "stock_returns_1931_2002".
2009 Oct 29
3
Trouble retrieving data (.xls) from folder on my computer.
...+ "cpi_kpix.rda")
R > URL <- "http://people.su.se/"
R > PATH <- "~lundh/data/"
R > FILE <- "cpi_kpix.rda"
R > download.file(paste(URL,PATH,FILE,sep=""),
+ "cpi_kpix.rda")
R > library(gdata)
R > FILE <- "Stock_Returns_1931_2002.xls"
R > stock.xls <- read.xls(paste(URL, PATH, FILE, sep = ""),
+ header = TRUE)[, 3:4]
Downloading...
Done.
Converting xls file to csv file... Done.
Reading csv file... Done.
Im not suppose to download the file though its already on my computer. How
do i type in the path s...