search for: lnv

Displaying 2 results from an estimated 2 matches for "lnv".

Did you mean: ln
2008 Mar 22
1
Geting names of variables
I wanted to create a list with the names of variables and their values. So I wrote the following function. add.to.list.names.vars.1 <- function(lnv, vnv) { i <- 1 while (i < length(vnv)) { z <- as.character(eval(substitute(quote(vnv[i+1])))[[2]][[i + 2]]) lnv[[vnv[i]]] <- list(Name = z, Value = vnv[i+1]) i <- i + 2 } lnv } It works, but it is very cumbersome. I wonder if there is a smarter way to do it. Her...
2004 Jul 23
1
routing mail on a different gateway
...ly generated packets. echo 201 mail.out >> /etc/iproute2/rt_tables ip rule add fwmark 1 table mail.out /sbin/ip route add default via [Second''s ISP Gateway] dev ppp1 table mail.out I get no error message, and ip rule ls and ip route show params where recorded, iptables -t mangle -lnV shows no problem too. When I do telnet smtp.someisp.com 25, I see with tcpdump the packets going out through the interface ppp1 : 14:32:40.693429 62.212.120.196.34515 > 193.252.22.80.smtp: S 4069327741:4069327741(0) win 5808 <mss 1452,sackOK,timestamp 929359 0,nop,wscale 0> (DF) [tos...