search for: statex77csv

Displaying 1 result from an estimated 1 matches for "statex77csv".

2008 Jan 24
0
readClipboard() from spreadsheet to data.frame with column names?
...Application should now list United States State names. statex77 <- cbind(State=rownames(state.x77), state.x77) wd <- "b:/Chapter11/" setwd(wd) #Note use of "/" rather than "\" write.csv(statex77, file="StateX77.csv", row.names=FALSE) getwd() StateX77CSV <- paste(wd,"StateX77.csv",sep="") shell(StateX77CSV) #Might open Excel rather than QP #data.entry(statex77) #Show statex77 in an interactive spreadhseet manner clipboardText <- strsplit(readClipboard(format=1), "\t") clipboardTextAsDF <- t(data.frame(clipb...