You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2024. It is now read-only.
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘as.db.data.frame’ for signature ‘"function
While debugging the error using as.db.data.frame I learned the dataframe I was using was not in the environment. Would suggest making this error more specific to missing data.
The text was updated successfully, but these errors were encountered:
@dotcomken Could you give the steps to repro this issue? I tried a very simple case of missing data frame but it gives a different error.
> n = c(2, 3, 5)
> s = c("aa", "bb", "cc")
> b = c(TRUE, FALSE, TRUE)
> df = data.frame(n, s, b)
> w <- as.db.data.frame(df, "df_from_r", conn_id = 1)
Counting and caching the data table dimension ... 0.009 sec ... done.
An R object pointing to "df_from_r" in connection 1 is created !
The data in the data.frame df is stored into "df_from_r" in database madlib-pg94 on 127.0.0.1 !
> w <- as.db.data.frame(df2, "df_from_r2", conn_id = 1)
Error in as.db.data.frame(df2, "df_from_r2", conn_id = 1) :
object 'df2' not found
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The current error as shown in R:
While debugging the error using as.db.data.frame I learned the dataframe I was using was not in the environment. Would suggest making this error more specific to missing data.
The text was updated successfully, but these errors were encountered: