diff --git a/R/jdbc.r b/R/jdbc.r index 8c97224..d99a140 100644 --- a/R/jdbc.r +++ b/R/jdbc.r @@ -22,7 +22,6 @@ OTHER = 1111 ) - stats::setNames( 0:6, c("OFF", "FATAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE") @@ -49,7 +48,7 @@ Athena <- function(identifier.quote = '`') { JDBC( driverClass = "com.simba.athena.jdbc.Driver", - system.file("java", "AthenaJDBC42_2.0.6.jar", package = "metis"), + system.file("java", "AthenaJDBC42_2.0.6.jar", package = "metis.lite"), identifier.quote = identifier.quote ) -> drv @@ -98,8 +97,6 @@ setMethod( if (!(log_level %in% 0:6)) log_level <- .ll_trans[log_level] - - callNextMethod( drv, conn_string, diff --git a/man/metis.lite.Rd b/man/metis.lite.Rd index de95690..fb17bc6 100644 --- a/man/metis.lite.Rd +++ b/man/metis.lite.Rd @@ -14,9 +14,17 @@ is included along with an interface to the 'AWS' command-line utility. \section{IMPORTANT}{ -Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting +Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid -signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is +signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is +loaded so you either need to remember to put it at the top of all scripts _or_ stick this +in your local #' `~/.Rprofile` and/or sitewide `Rprofile`: + + + +Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting +Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid +signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is loaded so you either need to remember to put it at the top of all scripts _or_ stick this in your local #' `~/.Rprofile` and/or sitewide `Rprofile`: