define             package:SWinTypeLibs             R Documentation

_D_e_f_i_n_e _t_h_e _g_e_n_e_r_a_t_e_d _c_o_d_e _f_r_o_m _g_e_n_e_r_a_t_e_I_n_t_e_r_f_a_c_e() _i_n _t_h_e _c_u_r_r_e_n_t _R _s_e_s_s_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This (relatively untested) function is intended to provide a way
     to read the code  generated by a call to 'generateInterface'
     directly into an R session without writing it to a file. This
     allows us to dynamically create R wrappersto  DCOM interfaces
     without having the overhead of writing code to disk. 

     If one wants the interface to be persistent across R sessions, one
     should use 'writeCode'.

_U_s_a_g_e:

     define(x, where, ...)

_A_r_g_u_m_e_n_t_s:

       x: the definition of the code generated from 'generateInterface'
          (or other lower-level generation functions such as
          'generateClass'

   where: the environment or index along the search path  in which to
          define the classes.

     ...: any additional arguments to govern the  processing of the
          definitions.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang <duncan@wald.ucdavis.edu>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://msdn.microsoft.com/library> <URL:
     http://www.omegahat.org/RWinTypeLibs>

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

     'writeCode' 'generateInterface'

