Displaying 2 results from an estimated 2 matches for "sape".
Did you mean:
same
2007 Jun 13
1
passing (or obtaining) index or element name of list to FUN in lapply()
Hello everyone,
I wonder if there is a way to pass the index or name of a list to a
user-specified function in lapply(). For instance, my desired effect is
something like the output of
> L <- list(jack=4098,sape=4139)
> lapply(seq(along=L),function(i,x) if(i==1) "jack" else "sape",x=L)
[[1]]
[1] "jack"
[[2]]
[1] "sape"
> lapply(seq(along=L),function(i,x) if(names(x)[i]=="jack") 1 else 2,x=L)
[[1]]
[1] 1
[[2]]
[1] 2
But by passing L as the first ar...
2003 Nov 10
1
Group sharing between NT and Linux domains
I need a little better information regarding the mapping of groups
between an NT PDC and a SAMBA PDC, which trust each other.
On the NT machine is a group called "ntgreen." On the Linux box (running
RH9 with Samba 3.0), there is a group called "lxgreen".
I've done a: net groupmap add ntgroup=ntgreen unixgroup=lxgreen. The
mapping shows up in a net groupmap list.