[Remoterengine-commits] r118 - pkg/RemoteREngine/exec

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Sep 8 14:57:16 CEST 2009


Author: romain
Date: 2009-09-08 14:57:16 +0200 (Tue, 08 Sep 2009)
New Revision: 118

Modified:
   pkg/RemoteREngine/exec/remoterengine
Log:
silently load rJava if need to find java.home dynamically

Modified: pkg/RemoteREngine/exec/remoterengine
===================================================================
--- pkg/RemoteREngine/exec/remoterengine	2009-09-08 12:55:52 UTC (rev 117)
+++ pkg/RemoteREngine/exec/remoterengine	2009-09-08 12:57:16 UTC (rev 118)
@@ -119,6 +119,7 @@
 	JAVA_HOME <- Sys.getenv( "JAVA_HOME", unset = "" )
 	if( JAVA_HOME != "" ){
 		# then find it from rJava
+		library( utils )
 		require( "methods", silent = TRUE, character.only = TRUE )
 		require( "rJava", silent = TRUE, character.only = TRUE )
 		.jinit()



More information about the Remoterengine-commits mailing list