Then open up a word processor such as Microsoft Word. Paste the data into a document, then save the document as a Text Only file. Remember that these programs typically add the extension .txt to these files. Pasting into a spreadsheet such as Excel is another possibility. Save as Text Only again.
Documents contain other hidden characters which give instructions on formatting.
I used read.table to read my data in but some commands don't seem to work. This emphasises the desirability of distinguishing data frames and vectors in your names, otherwise you can end up with two things called beer, a dataframe and a vector. Such a situation is bound to cause problems. Notice that when you exit R, it asks if you wish to save the R workspace image. If you say yes, it will save a copy of all the data and functions you currently have defined in a file called .RData.