Open komsit37 opened 4 years ago
Hello,
thank you for a detailed report. It seems that the issue may be in devtools
rather than in rkdb
. Here is how I managed to get rkdb
installed without devtools
on GraalVM 19.2.0:
bit64
: install.packages("bit64")
nanotime
was published on CRAN after the snapshot we use was taken, so you need to explicitly request current CRAN when installinginstall.packages("nanotime", repos="https://cran.r-project.org")
rkdb
package from GitHub and install it: R CMD INSTALL /path/to/rkdb
Using devtools
is of course the preferred way and we'll look into the error you reported anyway. devtools
is unfortunately very complex package with huge amount of (transitive) dependencies, so getting that to work is rather challenging.
P.S.: the same installation procedure works also on 19.3.0
@steve-s Thank you for the detailed workaround. I managed to get rkdb
installed!
The package works in most cases, but I ran into an issue where FastR crashes when return datatype is nanotime
.
> library(rkdb)
> h = open_connection('localhost',5555)
> execute(h, '2019.01.01')
[1] "2019-01-01"
> execute(h, '2019.01.01D00:00')
unimplemented Rf_asS4
Since this is not really an installation issue, let me know if I should raise this as a separate issue.
Since this is not really an installation issue, let me know if I should raise this as a separate issue.
yes, it would be great if you could create another issue. Thank you for testing this on FastR.
I got below error when trying to install https://github.com/KxSystems/rkdb in FastR. My FastR version is 3.5.1.
The package is mainly an R wrapper of a c code connecting to kdb database. I understand that you are still working on more package compatibility. This package is not so popular but I just want to raise an issue here anyway so that you are aware of it.
Here is a some information extracted from error report file
Let me know if you need more info.