Displaying 4 results from an estimated 4 matches for "returni".
Did you mean:
return
2011 Mar 30
4
a for loop to lapply
Dear all,
I am trying to learn lapply.
I would like, as a test case, to try the lapply alternative for the
Shadowlist<-array(data=NA,dim=c(dimx,dimy,dimmaps))
for (i in c(1:dimx)){
Shadowlist[,,i]<-i
}
---so I wrote the following---
returni <-function(i,ShadowMatrix) {ShadowMatrix<-i}
lapply(seq(1:dimx),Shadowlist[,,seq(1:dimx)],returni)
So far I do not get same results with both ways.
Could you please help me understand what might be wrong?
Regards
Alex
2011 Mar 29
0
Many cores support in R (Multicore Package)
Dear all,
I am trying to improve my code for many cores.
I have started with multicore package and the function mclapply. A multicore version of the lcapply.
One problem I have is that when I use this function (you can copy and paste the below)
require('multicore')
returni <-function(i) {i}
system.time(mclapply(seq(1:100000),returni))
I get 4 more versions of rkward.bin running (my gui is rkward). I would not care that much about that instances if each one consumed 1 GB of memory.
I am not sure why this happens. Did you ever have this type of problem with mclapp...
2006 May 24
2
asterisk amportal start/stopped/start/stopped for all the time
...y 23 04:06:36 ERROR[4327] chan_zap.c: Unknown signalling method
'bri_net_ptmp'
May 23 04:06:36 ERROR[4327] chan_zap.c: Signalling must be specified before
any channels are.
May 23 04:06:36 WARNING[4327] loader.c: chan_zap.so: load_module failed,
returni ng -1
May 23 04:06:36 WARNING[4327] loader.c: Loading module chan_zap.so failed!
Now in a second time I make again amportal start and start this:
Asterisk died with code 1.
Automatically restarting Asterisk.
Asterisk ended with exit status 1
Asterisk...
2006 May 23
1
chan_zap.so error, asterisk stopped
...y 23 04:06:36 ERROR[4327] chan_zap.c: Unknown signalling method
'bri_net_ptmp'
May 23 04:06:36 ERROR[4327] chan_zap.c: Signalling must be specified before
any channels are.
May 23 04:06:36 WARNING[4327] loader.c: chan_zap.so: load_module failed,
returni ng -1
May 23 04:06:36 WARNING[4327] loader.c: Loading module chan_zap.so failed!
I've a Digium Wildcard TE110P TE/E1 card 0 and in the /ect/zaptel.conf the
configuration is the following:
# Autogenerated by /usr/local/sbin/genzaptelconf -- do not...