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++ and FORTRAN are supported; the
          corresponding files should have the extensions '.c', '.cc'
          (or '.cpp' or '.C'), 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.

_S_e_e _A_l_s_o:

     'SHLIB', 'dyn.load'

