[Distr-commits] r162 - branches/distr-2.0/pkg/distr/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri May 30 11:09:42 CEST 2008
Author: stamats
Date: 2008-05-30 11:09:42 +0200 (Fri, 30 May 2008)
New Revision: 162
Added:
branches/distr-2.0/pkg/distr/R/0pre270.R
Log:
forgot to add R-file including devNew
Added: branches/distr-2.0/pkg/distr/R/0pre270.R
===================================================================
--- branches/distr-2.0/pkg/distr/R/0pre270.R (rev 0)
+++ branches/distr-2.0/pkg/distr/R/0pre270.R 2008-05-30 09:09:42 UTC (rev 162)
@@ -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