flutils
: Feng Li's utility functions written in RR/dbg
R/dgp
R/dist
...
Hierarchical structure for functions written in native R.
inst/bin
Programs under this fold are executable R script. You should be able to run them as
usual Linux command-line programs. Make sure they are executable using chmod +x
embedAllFonts
.
The help are usually accessible if you run the program with argument --help
e.g. embedAllFonts --help
.
The package has a hierarchical code structure that R does not support (see this
discussion). A src/Makevars
file is used to do the the trick.
Standard Installation to install the master
branch with
devtools
r
devtools::install_github("feng-li/flutils")
Alternative Installation to install the dev
branch
Clone the package from GitHub
sh
git clone https://github.com/feng-li/flutils.git
git checkout dev
Now within R
r
source("https://raw.githubusercontent.com/feng-li/flutils/master/R/systools/package.flatten.R")
project.flatten <- package.flatten("/path/to/flutils/")
devtools::document(project.flatten)
devtools::install_local(project.flatten, force = TRUE)
Or under Linux system, you can install them to your system with this script.
sh
$ ./flutils/inst/bin/install.HS flutils
See the copyright in each individual file.
https://github.com/feng-li/flutils/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.