[Zooimage-commits] r197 - pkg/zooimage/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Aug 2 14:22:10 CEST 2011


Author: kevin
Date: 2011-08-02 14:22:08 +0200 (Tue, 02 Aug 2011)
New Revision: 197

Modified:
   pkg/zooimage/R/zzz.R
Log:
Problem with non administrator session under windows system

Modified: pkg/zooimage/R/zzz.R
===================================================================
--- pkg/zooimage/R/zzz.R	2011-01-20 12:23:19 UTC (rev 196)
+++ pkg/zooimage/R/zzz.R	2011-08-02 12:22:08 UTC (rev 197)
@@ -58,8 +58,9 @@
 		}
 
 		# Make sure there is a key for ZooImage in the registry
-		ZIkey <- "HKEY_LOCAL_MACHINE\\Software\\ZooImage"
-		tk2reg.setkey(ZIkey)
+		## PhG: what is the purpose of tihs code?
+    ZIkey <- "HKEY_LOCAL_MACHINE\\Software\\ZooImage"
+		res <- try(tk2reg.setkey(ZIkey), silent = TRUE)
 		assignTemp("ZIkey", ZIkey)
 	}
 



More information about the Zooimage-commits mailing list