home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / Foreign < prev    next >
Encoding:
Text File  |  1997-04-23  |  990 b   |  34 lines

  1.     
  2.     _F_o_r_e_i_g_n _F_u_n_c_t_i_o_n _I_n_t_e_r_f_a_c_e
  3.     
  4.          .C(name, ..., NAOK=FALSE)
  5.          .Fortran(name, ..., NAOK=FALSE)
  6.     
  7.     _A_r_g_u_m_e_n_t_s:
  8.     
  9.             name : a character string giving the name of a C
  10.                    function or Fortran subroutine.
  11.     
  12.              ... : arguments to be passed to the foreign func-
  13.                    tion.
  14.     
  15.             NAOK : if TRUE then any NA values in the arguments
  16.                    are passed on to the foreign function.  If
  17.                    FALSE, the presence of NA values is regarded
  18.                    as an error.
  19.     
  20.     _V_a_l_u_e:
  21.     
  22.          The functions .C and .Fortran can be used to make calls
  23.          to C and Fortran code.  The functions return a list
  24.          similar to the ...  list of arguments passed in, but
  25.          reflecting any changes made by the C or Fortran code.
  26.     
  27.          These calls are typically made in conjunction with
  28.          dyn.load which links DLLs to R.
  29.     
  30.     _S_e_e _A_l_s_o:
  31.     
  32.          dyn.load.
  33.     
  34.