~hrbrmstr/metis-jars

55326f2d7715652362983ed1df89a7db9eba350e — hrbrmstr 2 years ago a8567e2
fixed pkg ref
2 files changed, 11 insertions(+), 6 deletions(-)

M R/jdbc.r
M man/metis.lite.Rd
M R/jdbc.r => R/jdbc.r +1 -4
@@ 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,

M man/metis.lite.Rd => man/metis.lite.Rd +10 -2
@@ 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`: