Rhome 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. _D_e_t_a_i_l_s: The R home directory is the top-level directory of the R installation being run. The R home directory is often referred to as R_HOME, and is the value of an environment variable of that name in an R session. It can be found outside an R session by 'R RHOME'. _V_a_l_u_e: A character string giving the 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.