R.home
Paths to Files in the Spotfire Enterprise Runtime for R Installation

### Description

Finds where Spotfire Enterprise Runtime for R is installed and where various components are.

### Usage

    R.home(component = "home")

### Arguments

component | A string naming a part of the Spotfire Enterprise Runtime for R installation. "home" the top level installation directory "bin" the directory containing executables used by Spotfire Enterprise Runtime for R "library" the directory containing the core packages required to run Spotfire Enterprise Runtime for R "doc" the documentation directory "include" the directory containing C/C++ include files "share" the directory containing platform-idependent things used while building packages Any other string is taken to be a subdirectory of the Spotfire Enterprise Runtime for R installation directory.

### Details

By default, all values for the component (except "home") argument refer to a subdirectory of the installation directory by that name. However, one can set the environment variables "TERR_DOC_DIR", "TERR_INCLUDE_DIR", and "TERR_SHARE_DIR" to override the default directories.
Value
returns a string naming the directory (or file).
See Also
file.path.
Examples

    R.home()
    dir(R.home("library"))

Package base version 6.1.5-18
Package Index