Displaying 1 result from an estimated 1 matches for "statex77".
Did you mean:
state7
2008 Jan 24
0
readClipboard() from spreadsheet to data.frame with column names?
...way to do this
but I have been away from R for awhile now. I just be over-thinking this.
I tried read.DIF to read the clipboard but that didn't work as I had hoped.
writeClipboard(rownames(state.x77), format=1)
#A paste, Ctrl+V in any 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="&qu...