COMPILE package:utils R Documentation _C_o_m_p_i_l_e _F_i_l_e_s _f_o_r _U_s_e _w_i_t_h _R _D_e_s_c_r_i_p_t_i_o_n: Compile given source files so that they can subsequently be collected into a shared library using 'R CMD SHLIB' and be loaded into R using 'dyn.load()'. _U_s_a_g_e: R CMD COMPILE [options] srcfiles _A_r_g_u_m_e_n_t_s: srcfiles: A list of the names of source files to be compiled. Currently, C, C++, Objective C, Objective C++ and FORTRAN are supported; the corresponding files should have the extensions '.c', '.cc' (or '.cpp' or '.C'), '.m', '.mm' (or '.M') and '.f', respectively. options: A list of compile-relevant settings, such as special values for 'CFLAGS' or 'FFLAGS', or for obtaining information about usage and version of the utility. _D_e_t_a_i_l_s: Note that Ratfor is not supported. If you have Ratfor source code, you need to convert it to FORTRAN. On many Solaris systems mixing Ratfor and FORTRAN code will work. Objective C and Objective C++ support is optional and will work only if the corresponding compilers were available at R configure time. _N_o_t_e: Some binary distributions of R have 'COMPILE' in a separate bundle, e.g. an 'R-devel' RPM. _S_e_e _A_l_s_o: 'SHLIB', 'dyn.load'; the section on "Customizing compilation under Unix" in "R Administration and Installation" (see the 'doc/manual' subdirectory of the R source tree).