updated readme file

This commit is contained in:
Adrian Dusa 2025-03-28 19:15:10 +02:00
parent fc766c7b69
commit 105f9d3583

View file

@ -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