Description Usage Arguments Details Author(s) See Also Examples
Creates the initial branch of the original code file being studied.
1 | makebranch0(origcodenm)
|
origcodenm |
Filename, including path, of the original code file. |
This function creates the initial branch of the original code file, giving it a branch id of 0. For example, makebranch0("pima.R") will create file pima.0.R. The new file will contain the code of the original file, prepended by the following lines:
1 2 3 | # RV history start
# original code
# RV history end
|
The new file can then be loaded with the loadb command. For example, makebranch0("pima.R") will create file pima.0.R which can then be loaded with loadb("pima.0.R").
Norm Matloff
edt
loadb
nxt
runb
rvinit
saveb
1 2 | makdbranch0("pima.R")
makdbranch0("inst/examples/pima.R")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.