# Input and Output Files

These are the available functions for input and output files. See each function's help topic in the TERR Language Reference for more information.

Function name | Title description
--- | ---
`basename` | Manipulate File Paths
`browseURL` | Displays the contents of a URL in a Web Browser
`bzfile` | Functions to Manipulate Connections
`cat` | Print the Arguments
`clipboard` | Functions to Manipulate Connections
`close` | Functions to Manipulate Connections
`close.connection` | Functions to Manipulate Connections
`connection` | Functions to Manipulate Connections
`connections` | Functions to Manipulate Connections
`count.fields` | Count the Number of Fields per Line
`dcf` | Read and Write Data in DCF Format
`dget` | Read or Write a Text Representation of an object
`dir` | List the Files in a Directory
`dir.create` | File and Directory Manipulation
`dirname` | Manipulate File Paths
`dput` | Read or Write a Text Representation of an object
`dump` | Produce Text Representations of Objects
`fifo` | Functions to Manipulate Connections
`file` | Functions to Manipulate Connections
`file.append` | File and Directory Manipulation
`file.copy` | File and Directory Manipulation
`file.create` | File and Directory Manipulation
`file.exists` | File and Directory Manipulation
`file.info` | Extract File Information
`file.link` | File and Directory Manipulation
`file.mode` | Extract File Information
`file.mtime` | Extract File Information
`file.path` | Construct Path to File
`file.remove` | File and Directory Manipulation
`file.rename` | File and Directory Manipulation
`file.size` | Extract File Information
`file.symlink` | File and Directory Manipulation
`file_test` | Shell-style Tests of Files
`flush` | Functions to Manipulate Connections
`flush.connection` | Functions to Manipulate Connections
`gzfile` | Functions to Manipulate Connections
`history` | Print History of Evaluated Expressions
`isatty` | Functions to Manipulate Connections
`isIncomplete` | Functions to Manipulate Connections
`isOpen` | Functions to Manipulate Connections
`list.dirs` | List the Files in a Directory
`list.files` | List the Files in a Directory
`load` | Reload Saved Datasets
`loadhistory` | Print History of Evaluated Expressions
`nullfile` | Name the Null File
`open` | Functions to Manipulate Connections
`open.connection` | Functions to Manipulate Connections
`package.skeleton` | Create a Skeleton for a New Source Package
`path.expand` | Expand ~ in File Paths
`pipe` | Functions to Manipulate Connections
`print.connection` | Functions to Manipulate Connections
`R.home` | Paths to Files in the Spotfire Enterprise Runtime for R Installation
`read.csv` | Create a Data Frame by Reading a Table
`read.csv2` | Create a Data Frame by Reading a Table
`read.dcf` | Read and Write Data in DCF Format
`read.delim` | Create a Data Frame by Reading a Table
`read.delim2` | Create a Data Frame by Reading a Table
`read.fwf` | Read Fixed Width Format Files
`read.table` | Create a Data Frame by Reading a Table
`readBin` | Read and Write Binary Data
`readChar` | Transfer Character Strings To and From Connections
`readline` | Read a Line from the Terminal
`readLines` | Read or Write Multiple Lines from or to a Connection
`readRDS` | Serialization Interface for Single Objects
`save` | Save Objects
`save.image` | Save Objects
`savehistory` | Print History of Evaluated Expressions
`saveRDS` | Serialization Interface for Single Objects
`scan` | Input Data from a File or Connection
`serialize` | Simple Serialization Interface
`shortPathName` | Convert File Name to DOS 8.3 Format
`sink` | Send Output to a File
`sink.number` | Send Output to a File
`socketConnection` | Functions to Manipulate Connections
`source` | Read Expressions from a File or a Connection
`stderr` | Functions to Manipulate Connections
`stdin` | Functions to Manipulate Connections
`stdout` | Functions to Manipulate Connections
`summary.connection` | Functions to Manipulate Connections
`Sys.getenv` | Get Environment Variables
`Sys.getlocale` | Set or Get Locale-Specific Information
`Sys.glob` | File and Directory Manipulation
`Sys.localeconv` | Set or Get Locale-Specific Information
`Sys.readlink` | File and Directory Manipulation
`Sys.setenv` | Set or Unset Environment Variables
`Sys.setlocale` | Set or Get Locale-Specific Information
`Sys.unsetenv` | Set or Unset Environment Variables
`textConnection` | Text Connections
`textConnectionValue` | Text Connections
`timestamp` | Print History of Evaluated Expressions
`unlink` | Remove Files and Directories
`unserialize` | Simple Serialization Interface
`unz` | Functions to Manipulate Connections
`url` | Functions to Manipulate Connections
`withAutoprint` | Read Expressions from a File or a Connection
`write` | Write Data to ASCII File
`write.csv` | Write Matrix of Data to a File
`write.csv2` | Write Matrix of Data to a File
`write.dcf` | Read and Write Data in DCF Format
`write.table` | Write Matrix of Data to a File
`writeBin` | Read and Write Binary Data
`writeChar` | Transfer Character Strings To and From Connections
`writeLines` | Read or Write Multiple Lines from or to a Connection
`xzfile` | Functions to Manipulate Connections