Importing/Exporting [Data, Plots, etc.]

Data       For Reports       Plots       Main Menu

Data

Note that you can cut and paste data from Excel into R by selecting the (rectangular) cells you want to copy in Excel, and then specifying file="clipboard" in read.delim (or read.table with sep=). You can also read directly from a URL of text data by specifying file to be the URL (with the "http:" part included).

attachdata.entrydetach
read.csvread.delimread.fwf
readLinesread.tablescan
write.table

Common/Important Options for Bringing In Data:

fileheaderna.strings
sepskipwhich

For Reports

SweavetoBibtextoLatex

Plots

bmpjpegpdf
postscriptreplayPlotsavePlot