Benjamin Deonovic
Benjamin Deonovic
The algorithm used to compute the partial derivatives doesn't seem very accurate (I had to go down to `atol=0.1` in the tests). I'll see if any other languages use a...
After reviewing the algorithms used for incomplete beta it is obvious that different approximations perform better in different domains of input variables. Unfortunately I have only found derivations of partial...
For my future self: https://duetosymmetry.com/notes/take-derivative-continued-fraction/
``` [bdeonovic@argon-login-2 ~]$ locate libmkl_avx2.so [bdeonovic@argon-login-2 ~]$ locate libmkl_def.so [bdeonovic@argon-login-2 ~]$ ```
But when I run my commands in R, everything runs fine, but if I try to do the same thing through julia with RCall I get the above error.... maybe...
``` [bdeonovic@argon-login-1 ~]$ ldd $(R RHOME)/lib/libR.so linux-vdso.so.1 => (0x00007ffe69bf9000) libRblas.so => /opt/apps/R/3.5.1/lib64/R/lib/libRblas.so (0x00002b73aa43c000) libgfortran.so.3 => /lib64/libgfortran.so.3 (0x00002b73aa667000) libm.so.6 => /lib64/libm.so.6 (0x00002b73aa98a000) libquadmath.so.0 => /lib64/libquadmath.so.0 (0x00002b73aac8c000) libreadline.so.7 => /opt/apps/readline/7.0/lib/libreadline.so.7 (0x00002b73aaec8000) libpcre.so.1...
If I do `Sys.getenv` in R from RCall in Julia i get: ``` julia> using RCall R> Sys.getenv('LD_LIBRARY_PATH') [1] "/opt/apps/R/3.5.1/lib64/R/lib:/opt/apps/ncurses/6.0/lib" R> ```
also noticed slight difference in `sessionInfo()` between my `R` and using `R` from RCall ``` julia> using RCall R> sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-pc-linux-gnu (64-bit) Running under: CentOS...
Any thoughts?
I somehow got it to work by setting `ENV["R_HOME"] = ""`. Note this didn't work for me when I was on RCall 12.1, so after checking out master and setting...