I don't know. Using normal install of R runs fine, and I do not have defined R_HOME.

If you did not install R, do the export R_HOME=/usr/local/lib/R
Or start gretl like:
R_HOME=/usr/local/lib/R gretl

My Favorite Open Source Projects
awsome-lists gretl meld robotframework wxPython
(sponsored/patrocinado) Recomendo servidores e alojamento Web em:
http://www.proalojamento.com/clientes/aff.php?aff=258

On Sat, Sep 16, 2017 at 6:14 PM, Artur T. <artur.tarassow@googlemail.com> wrote:

Hi Helio, thank for your reply and the suggestion. I guess this would have been the most simple way to solve this issue.

However, meanwhile I've found another workaround: I found out that I can tell gretl the correct paths in the file /lib/.deps/gretl_foreign.d. Unfortunately, this has to be done by hand but at least the installation works well.

However, now trying to call the R library yields the following error: "To use Rlib, the variable R_HOME must be set". Asking R how R_HOME is set, gives me

<R>
    Sys.getenv("R_HOME")
    [1] "/usr/local/lib/R"
</R>

Nevertheless, gretl has no idea how R_HOME is set :-(

Any ideas on this?

Artur



On 16.09.2017 19:07, Hélio Guilherme wrote:
sudo ln -s /usr/local/share/R /usr/share/R


_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users