[Zooimage-commits] r141 - pkg/zooimage/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue May 19 19:08:28 CEST 2009
Author: romain
Date: 2009-05-19 19:08:28 +0200 (Tue, 19 May 2009)
New Revision: 141
Modified:
pkg/zooimage/R/capabilities.R
Log:
added a "java" capability
Modified: pkg/zooimage/R/capabilities.R
===================================================================
--- pkg/zooimage/R/capabilities.R 2009-05-19 17:04:17 UTC (rev 140)
+++ pkg/zooimage/R/capabilities.R 2009-05-19 17:08:28 UTC (rev 141)
@@ -108,7 +108,14 @@
}
# }}}
+# {{{ java
+checkAvailable_java <- function( ){
+ checkCapabilityAvailable( "java",
+ 'java -version ',
+ "java : program not found!" )
+}
# }}}
+# }}}
# {{{ capabilities
capabilities <- list(
@@ -122,7 +129,8 @@
"pnm2biff" = checkAvailable_pnm2biff,
"divide" = checkAvailable_divide,
"statistics" = checkAvailable_statistics,
- "biff2tiff" = checkAvailable_biff2tiff
+ "biff2tiff" = checkAvailable_biff2tiff,
+ "java" = checkAvailable_java
)
# }}}
More information about the Zooimage-commits
mailing list