revoscaler

Using revoscalepy to insert data into a database

五迷三道 提交于 2019-12-11 18:24:11
问题 Ahoi there, is there a possibility of using the revoscalepy package to insert values into a table? I would expect something along the lines of: import pandas as pd from revoscalepy import rx_write_to_db, RxOdbcData a_df = pd.DataFrame([[0, 1], [2, 3]], columns=[...]) rx_write_to_db(RxOdbcData(connection_string=con_str, ...), data=a_df) But I couldn't find anything like this. The closest option appears to be rx_write_object, which dumps the dataframe as a binary into the table. More

RStudio not loading RevoScaleR on Ubuntu 16.04

北城余情 提交于 2019-12-11 08:41:04
问题 Long story short: Calling rxImport() works fine in a Terminal R session but fails when using RStudio, despite using the same installation of R. Setup: I'd like to use RevoScaleR functions like rxImport(...) on Ubuntu. I have an installation of RStudio and R done through package manager. I've installed MS Rclient following the instructions here. Everything seems to work as I can run in the terminal: /opt/microsoft/rclient/3.4.3/bin/R$ ./R R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree"