R.home                 package:base                 R Documentation

_R_e_t_u_r_n _t_h_e _R _H_o_m_e _D_i_r_e_c_t_o_r_y

_D_e_s_c_r_i_p_t_i_o_n:

     Return the R home directory.

_U_s_a_g_e:

     R.home(component="home")

_A_r_g_u_m_e_n_t_s:

component: As well as '"home"' which gives the R home directory, other
          known values are '"bin"', '"doc"', '"etc"' and '"share"'
          giving the paths to the corresponding parts of an R
          installation.

_V_a_l_u_e:

     A character string giving the current R home directory or path to
     a particular component.  Normally the components are all
     subdirectories of the R home directory, but this may not be the
     case in a Unix-like installation.

