Description Usage Arguments Value See Also
The function will edit or show the value of specific blocks
1 2 |
paternlist |
list. indicates the location for block changing ->pattern0: the start of the block to be matched ->pattern1: the end of the block to be matched. ->shift: a vector. if length(shift)==2. Index shift will be added on pattern0 and pattern1 if length(shift)==1. The shift is the same for both pattern0 and pattern1 must be provided. |
contentlist |
list. the value to be changed ->file: the file to read from ->ilinerag: the index range of lines as input Default NULL |
infile |
string. input file path. must be provided |
outfile |
string. output file path. default NULL |
type |
string. "show"(show the parameter, default), "edit"(edit the value) if there is mulitple value for the corresponding term, only show value is possible |
If type="edit", no value is returned and just change the file correspondingly If type="show", return the show part
[change_para()] for modifying one parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.