Browse Source

fixed pkg ref

master
boB Rudis 1 year ago
parent
commit
55326f2d77
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
2 changed files with 11 additions and 6 deletions
  1. +1
    -4
      R/jdbc.r
  2. +10
    -2
      man/metis.lite.Rd

+ 1
- 4
R/jdbc.r View File

@@ -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,


+ 10
- 2
man/metis.lite.Rd View File

@@ -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`:



Loading…
Cancel
Save