search for: listvar

Displaying 14 results from an estimated 14 matches for "listvar".

Did you mean: listvars
2011 Aug 17
3
Obtaining variable's names from a list of variables
Say I have a list of variables,  listVar <- list(age,sex) I am looking for a way to either 1- create a vector c("age","sex") from it, or 2- get the names one by one in a for loop such as these     a)  for (i in 1:length(listVar)) rownames(result)[i] <- ???     b)  for(i in listVar) print (variable's name)...
2011 Nov 08
3
lapply to list of variables
Hi Can someone help me with this? How can I apply a function to a list of variables. something like this listvar=list("Monday","Tuesday","Wednesday") func=function(x){x[which(x<=10)]=NA} lapply(listvar, func) were Monday=[213,56,345,33,34,678,444] Tuesday=[213,56,345,33,34,678,444] ... in my case I have a neverending list of vectors. Thanks!
2006 Aug 11
1
Perl UPS::Nut interface
...PS::Nut interface. I'm having problems making initial connections from the perl interface to upsd on another machine - the debug output looks as follows: DEBUG: Attempting login to upsd. DEBUG: Received OK from upsd. DEBUG: Login error: upsd reports ERR INVALID-ARGUMENT DEBUG: Sending "LISTVARS apcbelsambar" to upsd DEBUG: Received "ERR UNKNOWN-COMMAND" from upsd. DEBUG: Object destroyed. DEBUG: Sent LOGOUT to upsd DEBUG: Received "OK Goodbye" from upsd Looking at the syslog on the machine running upsd, I can see the connection come in and close again, but n...
2020 Mar 28
0
[klibc:update-dash] dash: eval: Replace with listsetvar with mklocal/setvareq
...6 @@ struct var *setvar(const char *name, const char *val, int flags); intmax_t setvarint(const char *, intmax_t, int); struct var *setvareq(char *s, int flags); struct strlist; -void listsetvar(struct strlist *, int); char *lookupvar(const char *); intmax_t lookupvarint(const char *); char **listvars(int, int, char ***); @@ -147,7 +146,7 @@ char **listvars(int, int, char ***); int showvars(const char *, int, int); int exportcmd(int, char **); int localcmd(int, char **); -void mklocal(char *); +void mklocal(char *name, int flags); struct localvar_list *pushlocalvars(void); void poplocalvar...
2013 Feb 27
1
some help in using the package NUT in a perl script
...ntation OK !n";_ _ }_ _if ($ups->Status() =~ /OB/) _ _ {_ _ print "UPS : PB alimentation, Fonctionne sur batterie !n";_ _ }_ _print " UPS ETAT : $ups->Status() n";_ _print " UPS charge batterie : $ups->BattPercent() n";_ _print " UPS liste : $ups->ListVar() n";_ _exit(0);_ Bu i got : something like : "UPS::Nut=HASH(0x8505ad0)->BattPercent()" instead of the value expected... Could somebody help me ? Thanks for all. -- Cordialement, Thill Llabr?s - THILL.LLABRES at ETU.UNICAEN.FR M2 E-Secure -------------- next part --------...
2016 Jul 28
0
[Announce] Samba 4.5.0rc1 Available for Download
...longer supports the "recmaster", "lvs" and "natgw" node specifications * Faster resetting of TCP connections to public IP addresses during failover * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored * "ctdb listvars" now lists all variables, including the first one * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following commands...
2016 Jul 28
0
[Announce] Samba 4.5.0rc1 Available for Download
...longer supports the "recmaster", "lvs" and "natgw" node specifications * Faster resetting of TCP connections to public IP addresses during failover * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored * "ctdb listvars" now lists all variables, including the first one * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following commands...
2016 Aug 10
0
[Announce] Samba 4.5.0rc2 Available for Download
...ger supports the "recmaster", "lvs" and "natgw" node specifications. * Faster resetting of TCP connections to public IP addresses during failover. * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored. * "ctdb listvars" now lists all variables, including the first one. * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed. These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following command...
2016 Aug 10
0
[Announce] Samba 4.5.0rc2 Available for Download
...ger supports the "recmaster", "lvs" and "natgw" node specifications. * Faster resetting of TCP connections to public IP addresses during failover. * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored. * "ctdb listvars" now lists all variables, including the first one. * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed. These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following command...
2016 Sep 07
3
[Announce] Samba 4.5.0 Available for Download
...ger supports the "recmaster", "lvs" and "natgw" node specifications. * Faster resetting of TCP connections to public IP addresses during failover. * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored. * "ctdb listvars" now lists all variables, including the first one. * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed. These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following command...
2016 Sep 07
3
[Announce] Samba 4.5.0 Available for Download
...ger supports the "recmaster", "lvs" and "natgw" node specifications. * Faster resetting of TCP connections to public IP addresses during failover. * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored. * "ctdb listvars" now lists all variables, including the first one. * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed. These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following command...
2016 Aug 29
0
[Announce] Samba 4.5.0rc3 Available for Download
...ger supports the "recmaster", "lvs" and "natgw" node specifications. * Faster resetting of TCP connections to public IP addresses during failover. * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored. * "ctdb listvars" now lists all variables, including the first one. * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed. These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following command...
2016 Aug 29
0
[Announce] Samba 4.5.0rc3 Available for Download
...ger supports the "recmaster", "lvs" and "natgw" node specifications. * Faster resetting of TCP connections to public IP addresses during failover. * Tunables MaxRedirectCount, ReclockPingPeriod, DeferredRebalanceOnNodeAdd are now obsolete/ignored. * "ctdb listvars" now lists all variables, including the first one. * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been removed. These are not needed because "ctdb reloadips" should do the correct rebalancing. * Output for the following command...
2016 Sep 07
0
[Announce] Samba 4.5.0 Available for Download
...uot;lvs" and > "natgw" node specifications. > > * Faster resetting of TCP connections to public IP addresses during > failover. > > * Tunables MaxRedirectCount, ReclockPingPeriod, > DeferredRebalanceOnNodeAdd are now obsolete/ignored. > > * "ctdb listvars" now lists all variables, including the first one. > > * "ctdb xpnn", "ctdb rebalanceip" and "ctdb rebalancenode" have been > removed. > > These are not needed because "ctdb reloadips" should do the correct > rebalancing. > &g...