Displaying 2 results from an estimated 2 matches for "subrout".
Did you mean:
subroot
2000 Apr 27
1
Equivalent of S> assign( , ,frame=1)
...inly miss an obvious point. I looked in the doc
and the archieve, but could not find what is the R equivalent of the S
assign( , ,frame=1). I guess the question is like what is the equivalent
of the S frames and how to access them. As an example:
oneprog <- function()
{
initial()
res <- subrout()
return(res)
}
initial <- function()
{
assign ("x", 2, frame=1)
assign ("y", 3, frame=1)
}
subrout <- function()
return(x+y)
This works perfectly with S. I know that if I put subrout inside oneprog
and replace the call to initial by a simple x <- 2;...
2019 Nov 19
2
Global number rewriting rules affecting ALL headers?
Hi Joshua
I had a shot at your suggestion, bug still no success.
I fear the 181 is sent before the macro is called.
I want to change the Diversion Header in the 181 message sent back to
the caller to put the number it contains in the correct e164 format
(stripping the 0 and adding +41 for Switzerland) but just any 'dialplan
set' value would do for an example :-)
Could you please make