Skip to content

Commit

Permalink
Start libR with --vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
hrue committed Mar 20, 2024
1 parent bd4f5a8 commit 7230c88
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions inlaprog/src/R-interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,10 @@ int inla_R_init_(void)
my_setenv(rhome, 0);
Free(rhome);
}
char *Rargv[4];
char *Rargv[3];
Rargv[0] = Strdup("REmbeddedPostgres");
Rargv[1] = Strdup("--gui=none");
Rargv[2] = Strdup("--no-save");
Rargv[3] = Strdup("--no-restore");
Rargv[2] = Strdup("--vanilla");
int Rargc = sizeof(Rargv) / sizeof(Rargv[0]);
Rf_initEmbeddedR(Rargc, Rargv);

Expand Down

0 comments on commit 7230c88

Please sign in to comment.