getVignetteCode package:DynDoc R Documentation _F_u_n_c_t_i_o_n_a_l_i_t_y _t_o _m_a_n_a_g_e _c_o_d_e _c_h_u_n_k_s _f_r_o_m _a _v_i_g_n_e_t_t_e _D_e_s_c_r_i_p_t_i_o_n: These functions allow for processing and management of vignette code chunks within R. Users can directly manipulate the code chunks, as well as evaluate them at their option. _U_s_a_g_e: getVignetteCode(vigPath, evalEnv = new.env()) editVignetteCode(vigCode, pos, code) _A_r_g_u_m_e_n_t_s: vigPath: File path of vignette file to process evalEnv: An environment to use for chunk evaluations vigCode: The 'vignetteCode' object to edit pos: The position of the code chunk to edit code: The new code chunk _D_e_t_a_i_l_s: 'getVignetteCode': This function will call 'Stangle' using the 'tangleToR' driver in order to retrieve the code chunks from the specified vignette file. It will then compile the other pertinent information and return a new 'vignetteCode' object. 'editVignetteCode': This function will edit a code chunk contained within a 'vignetteCode' and return a new object representing that change. The evaluation environment in the new object is a copy of the original as well, *not* the same environment. _A_u_t_h_o_r(_s): Jeff Gentry _S_e_e _A_l_s_o: 'Sweave','vignetteCode','tangleToR'