Skip to content

Commit

Permalink
bugfix: make completion work even if utils is not loaded on startup
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85000 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
deepayan committed Aug 23, 2023
1 parent 74afc4b commit 055da36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/sys-std.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ static void initialize_rlcompletion(void)
SEXP cmdSexp, cmdexpr;
ParseStatus status;
int i;
char *p = "try(loadNamespace('rcompgen'), silent=TRUE)";
char *p = "try(loadNamespace('utils'), silent=TRUE)";

PROTECT(cmdSexp = mkString(p));
cmdexpr = PROTECT(R_ParseVector(cmdSexp, -1, &status, R_NilValue));
Expand Down

0 comments on commit 055da36

Please sign in to comment.