diff --git a/README.md b/README.md index b8b0d3e..9435e37 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,9 @@ BUILD ----- ```shell cd ${HOME} -R CMD build IEEE export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/opt/gurobi1200/linux64/lib + +R CMD build IEEE R CMD INSTALL IEEE_1.0.0.tar.gz ``` @@ -14,6 +15,13 @@ From R do: library(IEEE) compare(1,20,30,file="R-log.txt") ``` + +or directly in the terminal: + +```shell +Rscript -e 'IEEE::compare(1,20,30,file="R-log.txt")' +``` + with expected output: ```shell $ cat R-log.txt