search for: clipboardtextasdf

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

2008 Jan 24
0
readClipboard() from spreadsheet to data.frame with column names?
This code opens a CSV file from the working directory set by wd. I copy 2 or more columns in the spreadsheet and then close it. What I need help with is setting the first row as the column names in clipboardTextAsDF. There is probably a simple or better 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 shoul...