Displaying 20 results from an estimated 4000 matches similar to: "A faster way to aggregate?"
2007 Sep 13
1
Collapsing data frame; aggregate() or better function?
Hello r-help,
I am trying to collapse or aggregate 'some' of a data frame. A very
simplified version of my data frame looks like:
> tester
trip set num sex lfs1 lfs2
1 313 15 5 M 2 3
2 313 15 3 F 1 2
3 313 17 1 M 0 1
4 313 17 2 F 1 1
5 313 17 1 U 1 0
And I want to omit sex from the picture and just get an addition of num,
2008 Apr 15
1
by inconsistently strips class - with fix
summary:
The function 'by' inconsistently strips class from the data to which
it is applied.
quick reason:
tapply strips class when simplify is set to TRUE (the default) due to
the class stripping behaviour of unlist.
quick answer:
This can be fixed by invoking tapply with simplify=FALSE, or changing
tapply to use do.call(c instead of unlist
executable example:
2008 Apr 03
1
rtc issue
Hi all,
I have installed centos 5.1 x86_64. 2.6.18-53.1.14.el5
Everything seems to be working fine except that the rtc module is not
working.
cat /proc/interrupts shows:
CPU0 CPU1
0: 129 0 XT-PIC-XT timer
1: 330797 0 XT-PIC-XT i8042
2: 0 0 XT-PIC-XT cascade
3: 4 0
2009 Jun 16
2
tdm loosing interrupts and latency
Hi
I have come across a problem, with my tdp410 and soekris board
(basically pc on a chip amd geode cpu).
I am using the box as a firewall/asterisk box. The problem occurs when I
drop ppp and I get dead loop dectiotn going, I seem to lose interrupts
and get lots of messages in syslog from wctdm24xx saying missed
interrupt increasing latency
its out lined here
1997 May 11
2
R-alpha: Logarithmic scales
Here are another three problems with logarithmic scales:
1) segments() does not work with logarithmic scales. I suggest to change
lines 962-973 in "plot.c":
for (i = 0; i < n; i++) {
if (FINITE(xt(x0[i%nx0])) && FINITE(yt(y0[i%ny0]))
&& FINITE(xt(x1[i%nx1])) && FINITE(yt(y1[i%ny1]))) {
GP->col = INTEGER(col)[i % ncol];
2005 Jul 24
1
Do I have to worry about interrupt sharing here?
Hello
I am using a Junghanns QuadBRI ISDN card - the module name is qozap. If I like at my interrupt assignment, qozap is sharing interrupt 10 with libata and uhci_hcd.
I think libata is the IDE hard drive module and uhci_hcd is a USB module.
linux:~ # modprobe qozap
linux:~ # cat /proc/interrupts
CPU0
0: 12634579 XT-PIC timer
1: 10 XT-PIC i8042
2004 Nov 20
2
zaphfc sound problems
hi list.
after my unsuccessfull experiences with mISDN i tried again to implement
a zaphfc based solution.
problem is: sound on calls via capi is stuttering/broken and therefore
unuseable.
my conf:
- cel 1300, 256mb ram
- avm b1 via capi connected to my outgoing ISDN
- acer surf pci via zaphafc and crosslink cable with termination as
internal bus
- siemens gigaset 3035 as internal phone
-
2004 Apr 12
1
Re: Booting error - Unable to specify channel 2:
> Subject: Re: [Asterisk-Users] Booting error - Unable to specify channel 2:
> No such device
I just went through all this as well. The best thing to do IMHO is to
try to find a way to manually assign IRQ in the BIOS. Also, and this is
what I didn't see at first, some slots SHARE IRQ. Avoid this! If you are
not using USB at all, turn it off in BIOS if possible. Tell the BIOS
2011 Dec 10
1
Unplugging DVI causes Disabling IRQ #11
I have some new PC hardware I'm using with the Intel H67 chipset. I
created a bzImage I use for a PXE environment for a recovery mode,
installing OS images, etc. The new mobo doesn't have a VGA port but
instead DVI.
Everytime I unplug the DVI cable it seems to cause "Disabling IRQ
#11". After that the PC is basically unusable. The /proc/interrupts
shows that hdd, usb, nic,
2003 Sep 23
3
Port problem
Hi All,
I have an equipment loaded with 4 X100P (numbered 1-4)) and one T400P
(numbered 5-8). Everything works fine except that I cannot use one of
the FXS ports (number 5).
If I configure zapata.conf to recognize it, the whole system voice
quality suffers. I've tried already to switch PCI slots, with no
results.
Below is a snapshot of my /proc/interrupts, maybe this can shed some
light on
2007 Apr 30
3
ZAPTEL PROBLEM
Hi all,
I am using a TDM400P card with 2 FXS and 2 FXO modules. Everything
seems nice, but i'm not able to make calls nor to receive any. When I
try to make a call, I keep receiven the "all circuits are busy now"
message, and when I receive calls, asterisk doesn't seems to care
(don't get anything on the CLI)
I'm using Asterisk 1.2.17 and Zaptel 1.2.16 from Xorcom's
2005 Mar 22
6
IRQ headaches
Excuse my ignorance here, but I am desperately trying to isolate the IRQ for
my TE110P card (shown below as t1xxp) Ive gone into my bios and disabled all
usb , parallel, serial and some other devices, those that I needed to keep,
I have moved off of IRQ 10 and onto IRQ 5, but everytime I boot up, I get
usb-uhci and ehci_hcd using IRQ 10 as well as my Digium card. Does anybody
know what these are
2005 Jan 09
2
X100P random hangups - Please help with suggestions
Thanks for the reply Bill.
I am aware of the interrupts problem. To solve it I have already disabled
my serial ports freeing up interrupts 3 and 4 and these are allocated to
the two cards. This was done 2 months ago and has not solved the problem.
Is there any way that something can wake up every now and then and generate
these two interrupts? My current /proc/interrupts is as follows:
2013 Jan 03
2
simulation
Dear R users,
suppose we have a random walk such as:
v_t+1 = v_t + e_t+1
where e_t is a normal IID noise pocess with mean = m and standard deviation = sd and v_t is the fundamental value of a stock.
Now suppose I want a trading strategy to be:
x_t+1 = c(v_t – p_t)
where c is a costant.
I know, from the paper where this equations come from (Farmer and Joshi, The price dynamics of common
2004 Apr 25
2
PRI Error T100P
I have seen this posted around the list a few times, but have never
found my exact error or even a solution to this.
I was getting this error every few seconds...... After moving the card
to a different PCI slot and turning off some devices that are not
needed. I was able to get the messages down to about every 10 minutes
and the T1 card now is sitting in it's own intterupt.
Apr 25 23:49:15
2006 May 10
4
ethernet interface shares interrupts with tdm card
Hello.
I have a MinITX motherboard with only one pci slot and one onboard ethernet
interface, I have a TDM04B card plugged into that motherboard and the
/proc/interrupts:
CPU0
0: 169626332 XT-PIC timer
1: 1270 XT-PIC i8042
2: 0 XT-PIC cascade
8: 4 XT-PIC rtc
12: 170166219 XT-PIC eth0, wctdm
14:
2004 Aug 26
5
TDM400P Problems
Hi,
I have just started to setup and configure my asterisk box and am
having trouble with it. I have a dlink nic in the box as well as the
digium card. When the nic is in there by itself it works, but when I
put the tdm400p in, there seems to be some sort of conflict with the
network card. The tdm appears as another type of network card, which I
don't think it should, should it? It shows
2010 Jun 04
2
Build Design Matrix with avoiding loops
Dear R users,
I'd like to build a simple design matrix in a efficient way. I naively
wrote the code below.
####
n = 15
k = 3
nbPerGrp = c(5,5,5)
xT <- list()
for (i in 1:k){
xT[[i]] <- rep(0, k)
xT[[i]][i] <- 1
}
X <- matrix(nrow = n, ncol = k) #design matrix
for (i in 1:nbPerGrp[1]){
X[i,] <- xT[[1]]
}
for (i in 1:k-1){
for (j
2004 Dec 21
1
zaptel ppp HDLC Receiver Overrun messages
I have a pair of sites tied together with a T1 line running zaptel PPP
on either end. The system works, but I keep getting these messages in
the kernel logs, and users are reporting connection problems (TCP
timeouts, and hangs) especially under high usage.
--snip--
HDLC Receiver overrun on channel WCT1/0/1 (master=WCT1/0/1)
HDLC Receiver overrun on channel WCT1/0/1 (master=WCT1/0/1)
HDLC
2006 Feb 09
1
Static problems with Asterisk + Polycom phones
Hey all,
I'm having problems where there is significant static when making SIP ->
PSTN calls. SIP -> SIP and SIP -> VM calls are totally clear and fine.
Here's the setup:
Polycom 601,501, and ten 301s.
Digum 2400 TDM card w/echo cancelling, 12 FXO ports.
The TDM card is on IRQ 5 with nothing else on it.
Server Specs:
Asus P4P800E Deluxe
P4 3.0 Ghz
1 GB Ram
80 GB SATA HD
-