Displaying 3 results from an estimated 3 matches for "askstr".
Did you mean:
asmstr
2005 Apr 12
5
patch to add a menu item in Rgui for RSiteSearch
...gu, /*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[255] = '\0';
+ strcpy(olds, s);
+ consolecmd(RConsole, cmd);
+ }
+}
+
static void menuapropos(control m)
{
c...
2008 Mar 28
1
cpu usage high with windows change dir / winDialogString (PR#11045)
...ear 2008
month 02
day 08
svn rev 44383
language R
version.string R version 2.6.2 (2008-02-08)
I am not familiar with the R sources, so the following should be taken
with a large grain of salt... to my uninitiated eyes it appears to be
something to do with askstring() in src\extra\graphapp\dialogs.c
or possibly handle_message_dialog() - I'm afraid I have never
programmed windows at a low level so I'm not sure what's going on
here...
I am of course available to help pin this down - but unfortunately I
don't have a development environment her...
2008 Mar 29
0
cpu usage high with windows change dir / winDialogString (PR#11051)
...; day 08
> svn rev 44383
> language R
> version.string R version 2.6.2 (2008-02-08)
>
> I am not familiar with the R sources, so the following should be taken
> with a large grain of salt... to my uninitiated eyes it appears to be
> something to do with askstring() in src\extra\graphapp\dialogs.c
> or possibly handle_message_dialog() - I'm afraid I have never
> programmed windows at a low level so I'm not sure what's going on
> here...
>
> I am of course available to help pin this down - but unfortunately I
> don't have...