[Distr-commits] r170 - pkg/distr/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 3 13:49:39 CEST 2008


Author: stamats
Date: 2008-06-03 13:49:39 +0200 (Tue, 03 Jun 2008)
New Revision: 170

Added:
   pkg/distr/R/0pre270.R
Log:
function transfered from branch distr-2.0 to trunk

Copied: pkg/distr/R/0pre270.R (from rev 167, branches/distr-2.0/pkg/distr/R/0pre270.R)
===================================================================
--- pkg/distr/R/0pre270.R	                        (rev 0)
+++ pkg/distr/R/0pre270.R	2008-06-03 11:49:39 UTC (rev 170)
@@ -0,0 +1,11 @@
+### for working under R < 2.8.0
+if(getRversion()<'2.8.0'){
+    devNew <- function(...){
+        get(getOption("device"))(...)
+    }
+}else{
+    devNew <- function(...){
+        dev.new(...)
+    }
+}
+



More information about the Distr-commits mailing list