guiCmd                package:svMisc                R Documentation

_E_x_e_c_u_t_e _a _c_o_m_m_a_n_d _i_n _t_h_e _G_U_I _c_l_i_e_n_t

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

     This function is not intended to be used at the command line
     (except for debugging purposes). It executes a command string to a
     (compatible) GUI client.

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

     guiCmd(command, ...)
     guiImport(...)
     guiExport(...)
     guiLoad(...)
     guiReport(...)
     guiSave(...)
     guiSetwd(...)
     guiSource(...)

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

 command: The command string to execute in the GUI client 

     ...: Parameters provided for the command to execute in the GUI
          client 

_D_e_t_a_i_l_s:

     You must define a function '.guiCmd()' in the 'TempEnv'
     environment that will take first argument as the name of the
     command to execute (like 'source', 'save', 'import', etc), and ...
     with arguments to the command to send. Depending on your GUI, you
     should have code that delegates the GUI elements (ex: display a
     dialog asking for a .Rdata file to source) and then, execute the
     command in R with the selected file as attribute.

_V_a_l_u_e:

     The result of the command if it succeed, or 'NULL' if the command
     cannot be run (i.e., '.guiCmd()' is not defined in 'TempEnv').

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

     Philippe Grosjean (phgrosjean@sciviews.org)

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

     'assignTemp'

