Displaying 1 result from an estimated 1 matches for "menusearchrsit".
Did you mean:
menusearchrsite
2005 Apr 12
5
patch to add a menu item in Rgui for RSiteSearch
...mmanlang, mmanadmin, mman0, mapropos, mhelpstart, mhelpsearch,
+ msearchRsite,
mFAQ, mrwFAQ, mpkgl, mpkgm, mpkgi, mpkgil, mpkgu, /*mpkgb, mpkgbu,*/
mde, mCRAN, mrepos;
static int lmanintro, lmanref, lmandata, lmanlang, lmanext, lmanadmin;
@@ -485,6 +486,21 @@
}
}
+static void menusearchRsite(control m)
+{
+ char *s;
+ static char olds[256] = "";
+
+ if (!ConsoleAcceptCmd) return;
+ s = askstring(G_("Search R Site"), olds);
+ if (s && strlen(s)) {
+ snprintf(cmd, 1024, "RSiteSearch(\"%s\")", s);
+ if (strlen(s) > 255) s[...