search for: listvars

Displaying 14 results from an estimated 14 matches for "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) Any help much appreciated. [[alternative HTML version
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 no...
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 poplocalvars...
2013 Feb 27
1
some help in using the package NUT in a perl script
Hello, I want use the package NUT in a script perl, i wonder how use the result of method such as BattPercent() for example. here is my code : _#!/usr/bin/perl -w_ _# server_ _use strict;_ _#use /etc/nut/dev/modules;_ _#use IO::Socket::Multicast;_ _use UPS::Nut;_ _my $message = localtime;_ _$message .=" `who` . n";_ _print "-- test : $message n";_ _my $ups = new
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 h...
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 h...
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 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 commands...
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 commands...
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 commands...
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 commands...
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 commands...
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. > &gt...