Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove the "--gui=none" argument from the embedded interpreter initia…

…lization.

This allows use of x11 and a file device such as jpeg, so that charts can be
created and spooled to disk for, e.g., pickup by a php script.

Adjust regression expected output to match.
  • Loading branch information...
commit d42cbed7c2fef2d7c71a1655f5302c06e3e89a93 1 parent fa018dc
postgres authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 expected/plr.out
  2. +1 −1  plr.c
View
6 expected/plr.out
@@ -88,9 +88,9 @@ select reval('a <- sd(c(1,2,3)); b <- mean(c(1,2,3)); a + b');
create or replace function "commandArgs"() returns text[] as '' language 'plr';
select "commandArgs"();
- commandArgs
---------------------------------------
- {PL/R,--gui=none,--silent,--no-save}
+ commandArgs
+---------------------------
+ {PL/R,--silent,--no-save}
(1 row)
create or replace function vec(float) returns text as 'c(arg1)' language 'plr';
View
2  plr.c
@@ -294,7 +294,7 @@ start_interp(void)
{
char *r_home;
int rargc;
- char *rargv[] = {"PL/R", "--gui=none", "--silent", "--no-save"};
+ char *rargv[] = {"PL/R", "--silent", "--no-save"};
/* refuse to start more than once */
if (plr_interp_started == true)
Please sign in to comment.
Something went wrong with that request. Please try again.