Changeset: a5304b94aff2 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a5304b94aff2
Modified Files:
        clients/R/MonetDB.R/R/control.R
Branch: embedded
Log Message:

Deprecated server control functions in R client


diffs (28 lines):

diff --git a/clients/R/MonetDB.R/R/control.R b/clients/R/MonetDB.R/R/control.R
--- a/clients/R/MonetDB.R/R/control.R
+++ b/clients/R/MonetDB.R/R/control.R
@@ -1,6 +1,6 @@
 monetdb.server.start <-
   function( bat.file ){
-    
+    .Deprecated("Consider using MonetDBLite")
     if ( .Platform$OS.type == "unix" ) {
       if( !file.exists( bat.file ) ) stop( paste( bat.file , "does not exist. 
Run monetdb.server.setup() to create a batch file." ) )
       
@@ -113,7 +113,7 @@ monetdb.server.setup <-
     # cannot be accessed at the same time
     dbport = 50000
   ){
-
+   .Deprecated("Consider using MonetDBLite")
     # switch all slashes to match windows
     monetdb.program.path <- 
normalizePath(getOption("monetdb.programpath.override", monetdb.program.path), 
mustWork = FALSE)
     # remove trailing slash from paths, otherwise the server won't start
@@ -238,6 +238,7 @@ monetdb.server.getpid <- function (con) 
 
 # this is somewhat evil, no admin rights required to kill server. Even works 
on closed connections.
 monetdb.server.shutdown <- function(con) {
+  .Deprecated("Consider using MonetDBLite")
   stopifnot(inherits(con, "MonetDBConnection"))
   # reconnect with MAL scenario
   newparms <- con@connenv$params
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to