Package: RPostgres 1.4.7

Kirill Müller

RPostgres: C++ Interface to PostgreSQL

Fully DBI-compliant C++-backed interface to PostgreSQL <https://www.postgresql.org/>, an open-source relational database.

Authors:Hadley Wickham [aut], Jeroen Ooms [aut], Kirill Müller [aut, cre], RStudio [cph], R Consortium [fnd], Tomoaki Nishiyama [ctb]

RPostgres_1.4.7.tar.gz
RPostgres_1.4.7.tar.gz(r-4.5-noble)RPostgres_1.4.7.tar.gz(r-4.4-noble)
RPostgres.pdf |RPostgres.html
RPostgres/json (API)
NEWS

# Install 'RPostgres' in R:
install.packages('RPostgres', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-dbi/rpostgres/issues

Uses libs:
  • postgresql– PostgreSQL C client library
  • c++– GNU Standard C++ Library v3

8.29 score 1 stars 28 packages 1.5k scripts 30k downloads 1 mentions 48 exports 17 dependencies

Last updated 6 months agofrom:35730931b3. Checks:OK: 1 NOTE: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 24 2024
R-4.5-linux-x86_64NOTENov 24 2024

Exports:dbAppendTabledbBegindbBinddbCanConnectdbClearResultdbColumnInfodbCommitdbConnectdbCreateTabledbDataTypedbDisconnectdbDriverdbExecutedbExistsTabledbFetchdbGetInfodbGetQuerydbGetRowCountdbGetRowsAffecteddbGetStatementdbHasCompleteddbIsReadOnlydbIsValiddbListFieldsdbListObjectsdbListResultsdbListTablesdbQuoteIdentifierdbQuoteLiteraldbQuoteStringdbReadTabledbRemoveTabledbRollbackdbSendQuerydbSendStatementdbUnloadDriverdbUnquoteIdentifierdbWithTransactiondbWriteTableIdPostgrespostgresDefaultpostgresHasDefaultpostgresIsTransactingpostgresWaitForNotifyRedshiftshowsqlData

Dependencies:bitbit64blobclicpp11DBIgenericsgluehmslifecyclelubridatepkgconfigplogrrlangtimechangevctrswithr

Implementing a Work Queue using RPostgres

Rendered fromwork-queue.Rmdusingknitr::rmarkdownon Nov 24 2024.

Last update: 2023-10-22
Started: 2021-01-07

Readme and manuals

Help Manual

Help pageTopics
RPostgres: Rcpp Interface to PostgreSQLRPostgres-package RPostgres
Postgres driverdbConnect,PqDriver-method dbConnect_PqDriver dbDisconnect,PqConnection-method dbDisconnect_PqConnection Postgres
Execute a SQL statement on a database connectiondbBind,PqResult-method dbBind_PqResult dbClearResult,PqResult-method dbClearResult_PqResult dbFetch,PqResult-method dbFetch_PqResult dbHasCompleted,PqResult-method dbHasCompleted_PqResult dbSendQuery,PqConnection-method dbSendQuery_PqConnection postgres-query
Convenience functions for reading/writing DBMS tablesdbAppendTable,PqConnection-method dbAppendTable_PqConnection dbExistsTable,PqConnection,character-method dbExistsTable,PqConnection,Id-method dbExistsTable_PqConnection_character dbExistsTable_PqConnection_Id dbListFields,PqConnection,character-method dbListFields,PqConnection,Id-method dbListFields_PqConnection_character dbListFields_PqConnection_Id dbListObjects,PqConnection-method dbListObjects_PqConnection_ANY dbListTables,PqConnection-method dbListTables_PqConnection dbReadTable,PqConnection,character-method dbReadTable_PqConnection_character dbRemoveTable,PqConnection,character-method dbRemoveTable_PqConnection_character dbWriteTable,PqConnection,character,data.frame-method dbWriteTable_PqConnection_character_data.frame postgres-tables sqlData,PqConnection-method sqlData_PqConnection
Transaction management.dbBegin,PqConnection-method dbBegin_PqConnection dbCommit,PqConnection-method dbCommit_PqConnection dbRollback,PqConnection-method dbRollback_PqConnection postgres-transactions
Check if default database is available.postgresDefault postgresHasDefault
Return whether a transaction is ongoingpostgresIsTransacting
Wait for and return any notifications that return within timeoutpostgresWaitForNotify
Quote postgres strings, identifiers, and literalsdbQuoteIdentifier,PqConnection,character-method dbQuoteIdentifier,PqConnection,Id-method dbQuoteIdentifier,PqConnection,SQL-method dbQuoteIdentifier_PqConnection_character dbQuoteIdentifier_PqConnection_Id dbQuoteIdentifier_PqConnection_SQL dbQuoteLiteral,PqConnection-method dbQuoteLiteral_PqConnection dbQuoteString,PqConnection,character-method dbQuoteString,PqConnection,SQL-method dbQuoteString_PqConnection_character dbQuoteString_PqConnection_SQL dbUnquoteIdentifier,PqConnection,SQL-method dbUnquoteIdentifier_PqConnection_SQL quote
Redshift driver/connectiondbConnect,RedshiftDriver-method dbConnect_RedshiftDriver Redshift RedshiftConnection-class RedshiftDriver-class