Displaying 3 results from an estimated 3 matches for "replc".
Did you mean:
reply
2004 Mar 02
3
using object reference
...39;) <- 'some new text'
}
So that when I call f(x)
attr(x,'a')
gives
'some new text'
I went by the example below
g <- function(z) eval(eval(substitute(expression(z[1] <<- z[1]+1))))
a <- 1:5
g(a) # increments first element of a by 1
a # c(2,2,3,4,5)
replcing the innermost bracket with attr(z,'a') <- 'some new text' but
the the after returning from the function the attribute of x does not
get changed.
Could anybody point out how I could achieve this? Do I need to use the
R.oo package or can this be done without external packages?...
2003 Feb 17
4
inserting elements in a list
..."3" "5" "6" "3"
and we want to insert a "7" after
any given "3", i.e., we want vector a
to become:
[1] "1" "2" "3" "7" "5" "6" "3" "7"
That is, how can we replce one
element by more than one elements?
(...causing the vector to go beyond its
length)
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
2006 Mar 20
5
Numbered Voicemails even with delete option!
...e a sequential number. I found that
if I set the option delete=1 in my voicemail.conf file for the mailbox,
then the numbering would keep being restarted.
I wrote this shell script to fool Asterisk into numbering my voicemails
sequentially even though I delete them. The files asterisk required are
replced with 2 byte files with the same name. It's these files that
asterisk uses for numbering the voicemails.
In voicemail.conf change your voicemail user so that emails are no
longer deleted.
1234 => 4242,Eicon Support,voicemail
Here is the shell script. Watch out for line wraps!! This scrip...