toUrl                package:R.utils                R Documentation

_C_o_n_v_e_r_t_s _a _p_a_t_h_n_a_m_e _i_n_t_o _a _U_R_L

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

     Converts a pathname into a URL starting with 'file://'.

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

     ## Default S3 method:
     toUrl(pathname, safe=TRUE, ...)

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

pathname: A 'character' string of the pathname to be made into a URL.

    safe: If 'TRUE', certain "unsafe" characters are escaped.

     ...: Not used.

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

     Returns a 'character' string.

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

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

