Hi all,
I am trying to install the hdf5r library via:
install.packages("hdf5r")
And i get this error:
configure: error: The version of hdf5 installed on your system is not sufficient. Please ensure that at least version 1.8.13 is installed
ERROR: configuration failed for package ‘hdf5r’
* removing ‘/home/r511a/R/x86_64-pc-linux-gnu-library/3.4/hdf5r’
The thing is that the server has a newer version install which i can load by doing from a terminal:
module load hdf5/1.8.18
Somehow I cannot tell RStudio server to lead this new version instead of the older one that is also installed in the system.
If I do: module show hdf5/1.8.18
this is where the library is located
-------------------------------------------------------------------
/software/.modules/sw/hdf5/1.8.18:
module-whatis hdf5/1.8.18 - sets the environment for HDF5 1.8.18
prepend-path PATH /software/hdf5/1.8.18/bin
prepend-path LD_LIBRARY_PATH /software/hdf5/1.8.18/lib
-------------------------------------------------------------------
I tried to include those paths using the Sys.setenv()
function from RStdio but it also does not work.
Any suggestion? idea?
Thanks in advance