Displaying 20 results from an estimated 2000 matches similar to: "Questions about the intersection area under two kernel densities"
2006 Apr 21
2
[LLVMdev] successfully bootstraped on a i686-linux-gnu
Building with --enable-llvm failed latter on when compiling libojc:
configure:5099: checking for exception model to use
configure:5131: /home/rafael/dev/gcc/build/gcc/xgcc
-B/home/rafael/dev/gcc/build/gcc/ -B/i686-pc-linux-gnu/bin/
-B/i686-pc-linux-gnu/lib/ -isystem /i686-pc-linux-gnu/include -isystem
/i686-pc-linux-gnu/sys-include -c -xobjecti
ve-c -fgnu-runtime -fobjc-exceptions -S conftest.c
2006 Apr 28
0
[LLVMdev] successfully bootstraped on a i686-linux-gnu
On Fri, 21 Apr 2006, [UTF-8] Rafael Esp?ndola wrote:
> To work aroud the problem I edited gcc/objc/config-lang.in and removed
> the comment from the line
> #target_libs=target-libobjc
>
> With this change it is again possible to build without objc. The
> complete configure line was
>
> ../llvm-gcc4-1.7.source/configure --prefix=$CFEINSTALL
> --enable-languages=c,c++
2006 May 01
1
[LLVMdev] successfully bootstraped on a i686-linux-gnu
Hi,
I recently bootstrapped gcc4 frontend on a i686-linux-gnu too.
As I notice, if the llvm "tools-only " was build with srcdir != objdir ,
the building of llvm-gcc4-1.7.source encountered mistakes of unable to find some header files.
So I just edited llvm-gcc4-1.7.source/gcc/Makefile.in and a line like this:
INCLUDES += -I$(LLVMOBJDIR)/include
With this change, the building errors
2003 Nov 30
1
Sound Breaks
Hi I'm currently running asterisk with an fxo X100P and aTDM one port card
in a small not world connected subnet, I've sucessfully setup two sip phone
and one analog extension everything works fine with the analog phone but
when you talk to someone on the sip phone the person at the sip phone can be
heard with inteference.
I've looked aroud the archives and found nothing specific.
2007 May 02
2
delay in switching between contexts
Hi,
I am facing this issue, where I get a delay of aroud five seconds when
switching between contexts (through extension.conf) . This is how my
extensions looks like.
[salesivr]
exten => _X.,1,NoOp(Incoming call from user ${EXTEN} and caller id
${CALLERID})
exten => _X.,2,Playback(emptyy)
exten => _X.,3,Background(Main_Sales)
exten => _X.,4,WaitExten(2)
exten => _X.,5,Goto(_X.,3)
2013 Jan 24
3
DECT Solution
Hello,
I need to setup system of aroud 60 DECT phones with asterisk.
So far I found
http://www.grandstream.com/index.php/products/ip-voice-telephony/enterprise-ip-phones/dp715_710
However is there some cheap base station(similar to GSM cell) so I can
handle all DECT phones centralized and plug it inside asterisk ?
Thanks,
Peter
2005 Nov 23
3
Infinite recursion in S3 methods crashes R on windows (related to PR#8203?)
Hi,
Infinite recursion in S3 methods seem to crash R on Windows 2000 (R
terminating with the ("Rgui.exe has generated errors...") message,
rather than throwing an error. This happens with both Rgui and Rterm.
The following toy example triggers this:
myf <- function(x, ...)
UseMethod("myf")
myf.default <- function(x, ...)
myf(x)
myf(1)
...R crashes...
Which I
2005 Jun 07
1
Variables values on intersected intervals
Dear R-list,
i have a problem, in the framework of simulations, i want to vectorize for
earning time: a variable, say X, has values on intervals and an other
variable, say Y, has values on other intervals. For example
Inf Sup X
0 2 1
2 4 2
4 6 3
and
Inf Sup Y
1 3 1
3 5 2
5 7 3
i want to create a matrix like this
Inf Sup
2005 Apr 05
1
summing columns using partial labels
I have a dataset of the form
Year tosk.fai tosk.isd tosk.gr ....... tosk.total hysa.fai
hysa.isd ...
and so on. I want to sum all the columns using the first four letters in
the columns label(e.g. 'tosk', 'hysa' etc.). How can you do that? Also,
the sums should be without the '.total'column (e.g. 'tosk.total') as
this serves as a check that
2005 Apr 20
2
Suggestions for manipulating formula objects
I'm trying to manipulate/change a formula prior to passing it to another
function. A simplified example:
User passes formula to my function: y~x
My function does: lm(transform(y)~x)
Here, transform() is added to the model's response.
What is the best way to accomplish this?
2005 Apr 06
1
read.table with header and text data
Hi R!
I am reading in a text file which has one column of alpha data and 5 columns
of numeric data.
There is a header row.
I would like the alpha data column to just be character rather than factor.
Is there a way to do this, please? I'm thinking that it might be I() but
can't figure out exactly how.
Thanks,
Laura
mailto: lauraholt_983 at hotmail.com
R 2.0.1 Windows
2005 Apr 13
1
how to separate a string
hello,
i wonder how is string represent in R. if i have a string s= "hello", how can i refer to first character in the string s?
also if i have s1 = "hello.1", s2 = "ok.1", how can i separate the s1 into "hello" "1" and s2 into "ok" and "1"? I have tried to use the substring function, but i don't where i can get the index
2005 Apr 13
1
i param in "for" loop does not takes zeros?
Hi all
Is there any reason why the parameter i in a "for" loop ignores a value of
zero? For example
sim=c()
p=.2
for(i in 0:5)
{sim[i]=dbinom(i,5,p)
}
sim
[1] 0.40960 0.20480 0.05120 0.00640 0.00032
In this example the quantile i= 0 was ignored since
dbinom(0,5,p)
[1] 0.32768
The same behaviour occurs if I use a while loop to perform the same
calculation:
sim=c()
p=.2
i=0
2008 Apr 11
2
How to fill out some columns?
Dear R users,
I'm working with 2 data sets which look like (for example) dx and dy in the
next code:
# Seed
set.seed(4)
# First data frame
dx=matrix(rnorm(6*5),ncol=6)
colnames(dx)=LETTERS[1:6]
# Second data frame
dy=matrix(rnorm(3*5),ncol=3)
colnames(dy)=c('A','C','E')
As you will notice, some columns in both data sets have the same names. At
the end, what I need
2009 Aug 11
3
Lattice: How to do error bars
I am trying to add 2 stdev error bars to lattice type plots:
panel.ebar<-function(x,y,dy=NULL,...) {
panel.xyplot(x,y,...)
panel.segments(x,y-dy,x,y+dy,...)
}
Then:
xyplot(y~x|fc,data=dat,dy=dat$dy,panel=panel.ebar)
This adds error bars but they are not conditioned on the factor fc.
xyplot(y+I(y-dy)+I(y+dy)~x|fc,data=dat)
This produces 3 series of points in different colors, conditioned
2005 Apr 21
2
local average
Hello,
probably this isn't hard, but I can't get R to do this. Thanks for your
help!
Assume I have a matrix of two covariates:
n <- 1000
Y <- runif(n)
X <- runif(n,min=0,max=100)
data <- cbind(Y,X)
Now, I would like to compute the local average of Y for each X interval 0-1,
1-2, 2-3, ... 99-100. In other words, I would like to obtain 100 (local)
Ybars, one for each
2012 Oct 10
3
Generating random geographical coordinates
Dear all,
I have two coordinates vectors, say X and Y of length n.
I want to generate for each couple of coordinates X1,Y1 X2,Y2
X3,Y3....Xn,Yn a random coordinate which is located in a square define
as X +/- dx and Y +/- dy.
I saw the runif function which can generate for just one value at a time
what I want : runif(1, X - dx, X + dx) for X and runif(1, Y - dy, Y +
dy) for Y.
I would like
2005 Apr 06
2
HP-UX and IRIX recent builds? Any other rare platforms?
I am revising the section in R-admin on platforms. When I asked about
locales earlier this year I got no reply about HP-UX and IRIX, so I will
presume that no one has built R on those OSes recently. If you have,
please send me the OS number and the flags you used.
Platforms where I have seen recent reports:
Linux
MacOS X
Solaris 8, 9, 10 (any Solaris 7 users please let me know)
AIX 5.1
2002 Oct 06
6
error bars in line plots
Hi!
Could you tell me how I can draw a graph with error bars?
Sorry, I don't use R that often and I couldn't find it easily in the
documentation.
TIA
--
myriam
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2011 Aug 11
1
Splitting data
I want to implement the following algorithm in R:
I want to split my data, use a t test to compare both means of the groups to see if they significantly differ from each other. If this is a yes (p < alpha) I want to split again (into 4 groups) and do the same procedure twice, and stop otherwise (here the problem arises). As a final result I would have different groups of data.
I made some