Browse Source

fixed pkg ref

boB Rudis 11 months ago
parent
commit
55326f2d77
No known key found for this signature in database
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 @@
22 22
   OTHER = 1111
23 23
 )
24 24
 
25
-
26 25
 stats::setNames(
27 26
   0:6,
28 27
   c("OFF", "FATAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE")
@@ -49,7 +48,7 @@ Athena <- function(identifier.quote = '`') {
49 48
 
50 49
   JDBC(
51 50
     driverClass = "com.simba.athena.jdbc.Driver",
52
-    system.file("java", "AthenaJDBC42_2.0.6.jar", package = "metis"),
51
+    system.file("java", "AthenaJDBC42_2.0.6.jar", package = "metis.lite"),
53 52
     identifier.quote = identifier.quote
54 53
   ) -> drv
55 54
 
@@ -98,8 +97,6 @@ setMethod(
98 97
 
99 98
     if (!(log_level %in% 0:6)) log_level <- .ll_trans[log_level]
100 99
 
101
-
102
-
103 100
     callNextMethod(
104 101
       drv,
105 102
       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.
14 14
 \section{IMPORTANT}{
15 15
 
16 16
 
17
-Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting 
17
+Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting
18 18
 Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid
19
-signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is 
19
+signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is
20
+loaded so you either need to remember to put it at the top of all scripts _or_ stick this
21
+in your local #' `~/.Rprofile` and/or sitewide `Rprofile`:
22
+
23
+
24
+
25
+Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting
26
+Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid
27
+signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is
20 28
 loaded so you either need to remember to put it at the top of all scripts _or_ stick this
21 29
 in your local #' `~/.Rprofile` and/or sitewide `Rprofile`:
22 30
 

Loading…
Cancel
Save