Sam Terfa
Sam Terfa
We can definitely change course, but the original example worked and seemed clear to me. ` library(tidyverse) ### Compute sentence embeddings sentences % as.data.frame() %>% setNames(sentences) %>% mutate(`sentence 1` =...
It looks like @jpcompartir changed the example [here](https://github.com/farach/huggingfaceR/commit/66a40e3796aab48c42fc9112b22abb671c023456#diff-432a9e2f2dba448416f9796c0694870c5042fd5f8b2cf31aef86b5d35f72fcb3). Maybe he was seeing an error?
Sure, I'm happy to dig in. Thanks for the quick response.
It fails here with length(opts) > 0. `if (length(opts) == 0) { ptr
Printing opts shows the correct dbname, user, host, and port. client_encoding is also set to "utf8". I tried setting it manually to utf16 and tried using check_interrupts as TRUE and...
I've further identified the issue happens in the DbConnection::DbConnection() function in the file DbConnection.cpp at `pConn_ = PQconnectdbParams(&c_keys[0], &c_values[0], false);`. This returns CONNECTION_BAD.
I'm happy to try anything. I don't think anything's likely wrong with the package. I imagine I have some symlink issue or something preventing this from working correctly.
The connection call in RPostgreSQL is `my_connection = PQsetdbLogin(host, port, options, tty, dbname, user, password); `. I then changed the connection code for RPostgres to use PQsetdbLogin instead of PQconnectdbParams...
I installed RPostgreSQL from source and noticed this in the install logs. `system -lpq don't appear to work; use internal configure: Using internal package libpq-fe.h checking for "src/libpq/libpq-fe.h"... yes configure:...
Also when I run `DBI::dbGetInfo(RPostgres::Postgres())`, I should get the version of libpq it's using, right? When I run it I get `$client.version [1] ‘13.2’`. However, I brew installed version 14.5...