search for: p1name

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

2010 Sep 15
1
retrieving object names passed indirectly to a function
...ow(arg.table)) { for (j in 1:arg.table$replicates[i]) { # somehow retrieve objects named in cols p1 and p2 and # pass them to foo with their original names # (e.g. some clever use of get and assign ?) } } } foo <- function(p1, p2) { # retrieve and store arg names p1name <- deparse(substitute(p1)) p2name <- deparse(substitute(p2)) # run simulation with values of p1 and p2 then # store results together with names of objects # passed as args to output database } My actual simulation function involves a large number of arguments of various classes and...
2007 May 24
1
Parking Lot CallerID
...nores it and uses the parking lot extension for callerid instead. I believe this is because the phone is calling out instead of a call coming in, is there anyway around this? This is a basic idea of what I've done to try to capture the CID in testing: exten => 200,1,SetGlobalVar(P1NAME=${CALLERID(NAME)}) exten => 200,n,SetGlobalVar(P1NUM=${CALLERID(NUM)}) exten => 200,n,Park() exten => _20x,1,Wait(1) exten => _20x,n,NoOp(${DIAL_OPTIONS}) exten => _20x,n,Set(CALLERID(NAME)=${P1NAME}) exten => _20x,n,Set(CALLERID(NUM...