compareRVersion            package:svMisc            R Documentation

_C_o_m_p_a_r_e _c_u_r_r_e_n_t _R _v_e_r_s_i_o_n _w_i_t_h _a _s_p_e_c_i_f_i_e_d _o_n_e

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

     Determine if R is older (return -1), or not (return 0 if equal, or
     1 if newer) than a given version number.

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

     compareRVersion(version)

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

 version: A string defining the version to compare to, like '2.0.0' or
          '1.9.1' 

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

     -1 if R is older, 0 if equal, 1 if newer. Take care: if you
     specify version as "2.6", and R is version "2.6.0", then the
     function will return 1 (newer)!

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

     Philippe Grosjean <phgrosjean@sciviews.org>

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

     'isAqua', 'isWin'

_E_x_a_m_p_l_e_s:

     compareRVersion("2.6.0")

