View source: R/runExamplesWrapper.R
retrieveExamplesFromMan | R Documentation |
retrieve the text of examples for man files
retrieveExamplesFromMan(package)
package |
character string full pathname for the package folder |
returns a list whose components are a list of examples text and a list of number of lines in each example text
## Not run:
# replace package with your own version!!
dir1<-"~/personal/hearts/hearts_card_game_bayesian_inference/packages/"
dir2<-"inference_packages/inference_packages/"
dir<-sprintf("%s/%s",dir1,dir2)
pack<-"cardUtils"
package<-sprintf("%s/%s",dir,pack)
l<-retrieveExamplesFromMan(package)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.