get_rmd_src_with_pos | R Documentation |
Given a search pattern in ps_path and given the path of the current working directory, all files with extension .Rmd are searched whether the string in ps_path occurs in the rmd-source file. If the pattern is found in exactly one Rmd-source file, the name of the Rmd-source file and the positions where the pattern was found is returned. If the pattern is not found or the pattern occurs in more than one Rmd-source file, NULL is returned.
get_rmd_src_with_pos(ps_path, ps_cwd)
ps_path |
name of and path to odg-graphics file |
ps_cwd |
current working directory |
l_rmd_src_result list with name of rmd source file and positions where search pattern occurs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.