format readme
This commit is contained in:
parent
06c8b79290
commit
749e82ad8f
1 changed files with 10 additions and 4 deletions
14
README.md
14
README.md
|
@ -1,16 +1,22 @@
|
||||||
BUILD
|
BUILD
|
||||||
-----
|
-----
|
||||||
|
```shell
|
||||||
cd ${HOME}
|
cd ${HOME}
|
||||||
R CMD build IEEE
|
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 INSTALL IEEE_1.0.0.tar.gz
|
R CMD INSTALL IEEE_1.0.0.tar.gz
|
||||||
|
```
|
||||||
|
|
||||||
TEST
|
TEST
|
||||||
----
|
----
|
||||||
R
|
From R do:
|
||||||
--
|
--
|
||||||
> library(IEEE)
|
```R
|
||||||
> compare(1,20,30,file="R-log.txt")
|
library(IEEE)
|
||||||
|
compare(1,20,30,file="R-log.txt")
|
||||||
|
```
|
||||||
|
with expected output:
|
||||||
|
```shell
|
||||||
$ cat R-log.txt
|
$ cat R-log.txt
|
||||||
1, 20, 30, 0.006, 0.357, "(!N&!P&!R) + (J&O&!S) + (B&!H&!Q) + (J&Q)", "(J&Q) + (!A&B&!O) + (F&O&!Q)", 3332, 233
|
1, 20, 30, 0.006, 0.357, "(!N&!P&!R) + (J&O&!S) + (B&!H&!Q) + (J&Q)", "(J&Q) + (!A&B&!O) + (F&O&!Q)", 3332, 233
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue