search for: mstr

Displaying 9 results from an estimated 9 matches for "mstr".

Did you mean: msr
2011 Oct 21
2
'Apply' giving me errors
So i have a simple function: bmass=function(y){ weight=y$WT*y$MSTR return(bio) } And want to apply to a whole bunch of rows in my data.frame: final1=apply(final,1,yldbu) BUT...recieve the following error: "Error in y$WT : $ operator is invalid for atomic vectors" However when i try: > final[1,]$WT*final[1,]$MSTR [1] 156.3 It gives me the corre...
2011 Mar 30
2
[PATCH] xenstore-stat v2
...xenstore/xenstore_client.c +++ b/tools/xenstore/xenstore_client.c @@ -37,6 +37,7 @@ enum mode { MODE_rm, MODE_write, MODE_watch, + MODE_stat, }; static char *output_buf = NULL; @@ -99,6 +100,9 @@ usage(enum mode mode, int incl_mode, const char *progname) case MODE_watch: mstr = incl_mode ? "watch " : ""; errx(1, "Usage: %s %s[-h] [-n NR] key", progname, mstr); + case MODE_stat: + mstr = incl_mode ? "stat " : ""; + errx(1, "Usage: %s %s[-h] [-s] key [...]", progname, mstr); } } @@ -286,6 +290,52 @@ d...
2008 Oct 17
2
Sendmail and deliver LDA exits with EX_TEMPFAIL on overquota
...fails to save in INBOX and returns an error, but the email stays in sendmail's queue.. Any suggestions on how to avoid this and produce a 5xx error for overquota users before accepting the email would be greatly appreciated.. TIA, Sotiris. ==> /var/log/maillog <== Oct 17 14:25:19 mx-mstr-07 sendmail[17289]: m9HBPJ99017288: to=<stsimb at t157.forthnet.gr>, ctladdr=<root at mx-mstr-07.forthnet.prv> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30603, dsn=4.0.0, stat=Deferred: local mailer (/usr/libexec/dovecot/deliver) exited with EX_TEMPFAIL ==> /var/...
2002 Jun 25
4
PAM kbd-int with privsep
...done; }; -int -auth2_pam(Authctxt *authctxt) +/* + * Send message to parent or child. + */ +static int +sshpam_send(struct sshpam_ctxt *ctxt, char *fmt, ...) { - int retval = -1; - - if (authctxt->user == NULL) - fatal("auth2_pam: internal error: no user"); + va_list ap; + char *mstr, buf[2048]; + size_t len; + int r; + + va_start(ap, fmt); + len = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + if (len == -1 || len > sizeof(buf)) + fatal("sshpam_send: message too long"); + mstr = xstrdup(buf); + if (ctxt->pid != 0) + debug2("to child: %d bytes&quot...
1999 Mar 07
1
ANOVA f-test
...t R to generate a ANOVA table and a f-value for a hypothesis test such as: Data: group1 values: 5.2 4.5 6.0 6.1 6.7 5.8 group2 values: 6.5 8.0 6.1 7.5 5.9 5.6 ... H0: mean1 = mean2 = mean3 = mean4 HA: at least two means different where I want to evaluate using a f test statistic? F = MSTr/MSE I'd like a table similar to one that Minitab would produce: Df Sum Sq Mean Sq F value mean1 mean2 mean3 Error Secondly, how can do a second evaluation using a multiple ANOVA compare using Tukey's procedure? Thanks BK ---------------------------------------------------...
2002 Apr 26
0
PAM keyboard-interactive
...uthctxt *authctxt) -{ - int retval = -1; +static void pam_free_ctx(void *); - if (authctxt->user == NULL) - fatal("auth2_pam: internal error: no user"); +/* + * Send message to parent or child. + */ +static int +pam_send(struct pam_ctxt *ctxt, char *fmt, ...) +{ + va_list ap; + char *mstr, buf[2048]; + size_t len; + int r; + + va_start(ap, fmt); + len = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + if (len == -1 || len > sizeof(buf)) + fatal("pam_send: message too long"); + mstr = xstrdup(buf); + if (ctxt->pam_pid != 0) + debug2("to child: %d bytes&quo...
2002 Jul 02
3
New PAM kbd-int diff
...done; }; -int -auth2_pam(Authctxt *authctxt) +/* + * Send message to parent or child. + */ +static int +sshpam_send(struct sshpam_ctxt *ctxt, char *fmt, ...) { - int retval = -1; - - if (authctxt->user == NULL) - fatal("auth2_pam: internal error: no user"); + va_list ap; + char *mstr, buf[2048]; + size_t len; + int r; + + va_start(ap, fmt); + len = vsnprintf(buf, sizeof(buf), fmt, ap); + va_end(ap); + if (len == -1 || len >= sizeof(buf)) + fatal("sshpam_send: message too long"); + mstr = xstrdup(buf); + if (ctxt->pid != 0) + debug2("to child: %d bytes&quo...
2007 Mar 19
3
cmd.exe behaviour
When I execute the following command from a wine cmd.exe and the file xxx exists, c:\windows\system32\cmd.exe /c copy h:xx h:xxx Overwrite file (Y/N) How do I over ride the behavior of asking for a y/n. Thanks chip
2006 Apr 26
1
RE nut 2.0 fentonups and Xanto S3000R
...} else + cooked = xstrdup(raw); for (i = 0; mtab2[i].id != NULL; i++) { if (!strcmp(cooked, mtab2[i].id)) { @@ -74,7 +77,7 @@ static void guessmodel(const char *raw) char mch, *mstr; /* first see if it's in the mtab2 */ - if (check_mtab2(raw)) + if (check_mtab2(raw, 1)) return; mch = raw[17]; @@ -175,28 +178,36 @@ static char *get_id(void) void upsdrv_initinfo(void) {...