updated readme file
This commit is contained in:
parent
fc766c7b69
commit
105f9d3583
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
@ -2,8 +2,9 @@ BUILD
|
||||||
-----
|
-----
|
||||||
```shell
|
```shell
|
||||||
cd ${HOME}
|
cd ${HOME}
|
||||||
R CMD build IEEE
|
|
||||||
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/opt/gurobi1200/linux64/lib
|
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
|
R CMD INSTALL IEEE_1.0.0.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,6 +15,13 @@ From R do:
|
||||||
library(IEEE)
|
library(IEEE)
|
||||||
compare(1,20,30,file="R-log.txt")
|
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:
|
with expected output:
|
||||||
```shell
|
```shell
|
||||||
$ cat R-log.txt
|
$ cat R-log.txt
|
||||||
|
|
Loading…
Add table
Reference in a new issue