search for: idris

Displaying 15 results from an estimated 15 matches for "idris".

2011 Jun 21
4
ddply to count frequency of combinations
I have a dataframe df with two columns x and y. I want to count the number of times a unique x, y combination occurs. For example x<- c(1,2,3,4,5,1,2,3,4) y<- c(1,2,3,4,5,1,2,4,1) df<-as.data.frame(cbind(x, y)) #what is the correct way to use ddply for this example? ddply(df, c('x','y', summarize, ??) #desired output -- format and order doesn't matter # (x, y)
2006 Jun 21
1
Monitor a particular SIP call for training purposes
Hi, You can try ChanSpy http://www.voip-info.org/wiki/view/Asterisk+cmd+ChanSpy. Idris _____ From: phil.dawson@marnock.com [mailto:phil.dawson@marnock.com] Sent: Wednesday, June 21, 2006 12:23 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Monitor a particular SIP call for training purposes Hi, I've been asked if it is possible to allow a use...
2006 Jun 15
7
Echo Problem with T411P
Hello, There are 3 PRI's connected to the card each from different operators. Especially echo occured on span 3 is really annoying. Configuration files are as follows. Is there something wrong in conf ? Zapata.conf -------------------------- [channels] context=default switchtype=euroisdn usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes
2007 Jul 26
1
Asterisk 1.2.23 and Sangoma a102 no incoming calldetected
Do you have any extension in default context of your extensions.conf file to accept incoming calls ? It must be something like; exten => 12345678,1,Answer() exten => 12345678,2,Playback(Welcome) ... 12345678 = The DID number you are calling to reach E1 Idris -----Original Message----- From: Erick Perez [mailto:eaperezh at gmail.com] Sent: Thursday, July 26, 2007 7:03 AM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Asterisk 1.2.23 and Sangoma a102 no incoming calldetected Hi, after many issues we finally managed to make our syste...
2011 Sep 16
1
plot(m, which = 1), where m is a lm linear model. What is 'which' doing?
Sample code from *R CookBook* (awesome book btw) *11.12: Finding the Best Power Transformation (Box-Cox) Procedure* require(MASS) x <- 10:100 eps <- rnorm(length(x), sd = 5) y <- (x + eps)^(-1 / 1.5) m <- lm(y ~ x) # ***************** What does the *which* in this line do??? ******************************************** plot(m, which = 1) [[alternative HTML version deleted]]
2012 Feb 09
1
Apply pmax to dataframe with different args based on dataframe factor
# I have a dataframe in the following form: track <- c(rep('A', 3), rep('B', 4), rep('C', 4)) value <- c(0.15, 0.25, 0.35, 0.05, 0.99, 0.32, 0.13, 0.80, 0.75, 0.60, 0.44) df <- data.frame(track=factor(track), value=value) #> print(df) #track value #1 A 0.15 #2 A 0.25 #3 A 0.35 #4 B 0.05 #5 B 0.99 #6 B 0.32 #7 B 0.13
2011 Jun 18
1
Vim-R-Plugin issue : Python interface must be enabled to run Vim-R-Plugin
I am trying to get the Vim-R-Plugin<http://www.vim.org/scripts/script.php?script_id=2628> to work with gvim and R on Windows 7. When I open a .R file in VIM, it complains and says ""Python interface must be enabled to run Vim-R-Plugin." I have installed pywin32 for python 2.7, and added the following 4 lines to my _vimrc per the instructions
2011 Jun 13
1
Heatmap in R and/or ggplot2
I have a dataframe df with columns x, y, and height. I want to create a heatmap-like plot that creates a grid of x by y, and then color codes the grid depending on the value of height. Is there a ggplot2 object to do this? I'm able to easily do this in Excel with pivot tables and conditional formatting so I'm including an image that is close to the output I want. I want to be able to
2012 Dec 28
5
[LLVMdev] Extending GC infrastructure for roots in SSA values
I'm working on an LLVM backend for Idris, a garbage-collected pure functional programming language, and have experienced some frustration that LLVM's GC support, specifically with regard to mapping roots, operates only on allocas. This entails a lot of otherwise unnecessary stack allocation (especially in a pure language, where in-pla...
2012 Dec 31
0
[LLVMdev] Extending GC infrastructure for roots in SSA values
...d to instruction- or value-level, metadata. Being both simpler and more general, this seems like a much better idea than my proposal, and I'd be happy to run with it if it checks out. In fact, I would have eventually ran into exactly the same problem with discriminated unions that you describe; Idris, like any other modern statically-typed functional language, has algebraic datatypes after all. Getting optimization passes to treat AnnotatedTypes the same as their contained type would be necessary for this to pay off completely; can anyone comment on what, if any, difficulties might be involved...
2011 Jun 20
1
Tell R where to look locally for library?
I have R library's installed in several places on my windows machine. They are in: 1) C:\Program Files\R\R-2.12.2\library 2) C:\Users\MyUser\Documents\R\win-library\2.12 I can access a library from either location with RStudio, but I can't access a library from 2) when using R from the command line. What do I need to change to tell R to look in another place for a library?
2009 Jan 30
3
How to elegantly set DEVSTATE values after restarting
Hi, Whenever Asterisk restarts, some values such as DEVSTATE ones, should be reset. How would you proceed to have those settings done anytime Asterisk restarts ? I was thinking of using #exec statement in appropriate .conf file. Ant better idea ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 20
5
SIP Softphone on Thinclient?
Is anyone doing this or has anyone tried? The thin clients are running WindowsCE, a browser, and 300mhz. They are Wyse units. I wonder if anyone has any practical advise or can recommend the best phone or method to load a stable softphone on one of these boxes? Thanks, Steve Totaro
2006 Oct 10
4
Inbound Callcenter with multiple DIDs
I'm curious what asterisk solutions there are out there for inbound call centers with multiple DIDs. I'm looking for solutions for a setup where single system may have 1000 DIDs going to it, one for each account. Each account may not get that many calls. Solutions that will all reporting on calls coming into different accounts, call routing for queues based on distribution groups. Like
2012 Dec 30
0
[LLVMdev] Extending GC infrastructure for roots in SSA values
...ckend code will need to unwrap the annotated type in order to operate upon it, and it would be all too easy to discard the associated metadata as part of this process. On Fri, Dec 28, 2012 at 1:09 PM, Benjamin Saunders <ralith at gmail.com> wrote: > I'm working on an LLVM backend for Idris, a garbage-collected pure > functional programming language, and have experienced some frustration > that LLVM's GC support, specifically with regard to mapping roots, > operates only on allocas. This entails a lot of otherwise unnecessary > stack allocation (especially in a pure la...