

ask(sm)                                      R Documentation

_A_s_k _d_a_t_a _t_o _b_e _t_y_p_e_d _o_n _t_h_e _k_e_y_b_o_a_r_d_.

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

     This function prints a message and prompts the user to
     type in data on the keyboard.

_U_s_a_g_e_:

     ask(message="Type in datum")

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

 message: a character value, normally something describing
          the required input

_V_a_l_u_e_:

     the object typed in.

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

     n <- ask("sample size")
     nv <- ask("vector of sample sizes")
     # in the second case, the user could reply eg with `c(5,10,30)'

