Diff of /R/jags.R [d8c018] .. [10d064] Maximize Restore

  Switch to side-by-side view

--- a/R/jags.R
+++ b/R/jags.R
@@ -54,7 +54,8 @@
 
     p <- .Call("make_console", PACKAGE="rjags")
     .Call("check_model", p, modfile, PACKAGE="rjags")
-
+    unlink(modfile)
+    
     varnames <- .Call("get_variable_names", p, PACKAGE="rjags")
     if (is.environment(data)) {
         ##Get a list of numeric objects from the supplied environment