Displaying 20 results from an estimated 200 matches similar to: "pgamma discontinuity (PR#7307)"
2004 Jan 15
1
Exactness of ppois
Hello,
by checking the precision of a convolution algorithm, we found the
following "inexactness":
We work with R Version 1.8.1 (2003-11-21) on Windows systems (NT, 2000,
XP).
Try the code:
## Kolmogorov distance between two methods to
## determine P(Poisson(lambda)<=x)
Kolm.dist <- function(lam, eps){
x <- seq(0,qpois(1-eps, lambda=lam), by=1)
max(abs(ppois(x,
2007 Aug 24
1
uneven list to matrix
Hello,
I am sure I am not the only person with this problem.
I have a list with n elements, each consisting of a single column matrix
with different row lengths. Each row has a name ranging from A to E. Here
is an example:
alph[[1]]
A 1
B 2
C 3
D 4
alph[[2]]
A 1
C 3
D 4
alph[[3]]
A 1
D 4
E 5
I would like to create a matrix from the elements in the list with n
columns such that the row names
2006 Jan 27
0
pgamma - inadequate algorithm design and poor coding (PR#8528)
R versions 2.1.0 to present.
Examples shown were computed under Windows R-devel, current SVN, but ix86
Linux shows similar behaviour (sometimes NaN or -Inf rather than Inf,
depending on the compiler and optimization level used).
The replacement pgamma algorithm used from R 2.1.0 has an inadequate
design and no supporting documentation whatsoever. There is no reference
given to support the
2017 Sep 21
4
List of occuring values
Dear all,
ftable produces a list of the frequencies of all occuring values.
But how about the occuring values?
How can I retrieve a list of occuring values?
How can I retrieve a table with both the list of occuring values and their respective frequencies?
Thank you in advance,
Yours, Ferri
2011 Mar 03
1
Does RSpec interfere with Pathname#dirname or Pathname#realpath ?
Hi,
I starting a new project, and have run into behavior I cannot
replicate in irb, (i.e. outside of using rspec) when the directory?
returns true, so I thought I''d ask here, in case any one has seen this
badhavior.
ruby-1.9.2-p136
rspec (2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
When I try to run this spec:
require Pathname(__FILE__).ascend { |d|
2017 Sep 21
0
List of occuring values
unique(x) will give you the distinct values in x. table(x) will give you
the distrinct values and their frequencies as an array with dimnames.
data.frame(table(x)) will give you a 2-column data.frame with the distinct
values and their frequencies.
> values <- c("Small", "Large", "Large", "Large")
> unique(values)
[1] "Small"
2020 May 05
2
Missing vectorization of loop due to load late in the loop
Hi,
TL;DR: A loop doesn't get vectorized due to the interaction of loop-
rotate, licm and instcombine. What to do about it?
Full story:
In the benchmarks for our out-of-tree target we have a case that we
would like to get vectorized, but currently it isn't. I've done some
digging to see why and have some kind of idea what prevents it, but I
don't know what the best way to fix
2003 Oct 29
3
PXELinux cannot load the config file
I have DHCP and TFTP on a Solaris machine, pxelinux.0 loads, but it
can't load the configuration file. The tftp server on Solaris tries to
send the file, but data transfers do not receive ACKs. Previous posts
to this list have indicated that the suspect was the PXE BIOS (ref
"PXELinux can't load the config file?" dated March 20, 2003). Does that
still appear to be the case
2013 Feb 01
29
cumulative sum by group and under some criteria
Thank you very much for your reply. Your code work well with this example.
I modified a little to fit my real data, I got an error massage.
Error in split.default(x = seq_len(nrow(x)), f = f, drop = drop, ...) :
Group length is 0 but data length > 0
On Thu, Jan 31, 2013 at 12:21 PM, arun kirshna [via R] <
ml-node+s789695n4657196h87@n4.nabble.com> wrote:
> Hi,
> Try this:
>
2009 Apr 06
2
Bonpower Crashes Trying Sparse Matrix (Igraph)
Hello All,
I have been trying to do bonpow for a while now.Bonpow works for few graphs
and for few others it goes out of memory.
I did see reply to one of the posting Alph Centrality Crashed in Igraph
memory error.
The solution in the posting was to use sparse matrix. This is the link of
the message.
http://lists.gnu.org/archive/html/igraph-help/2008-04/msg00071.html
I was able to obtain
2012 Oct 24
2
Ceph samba size reporting troubles
Dear developement team,
I want to share a massive storage casted with Ceph by samba with
windows workstations.
All works well. My problem so is that in windows the ceph storage size
statistics are wrong. Instead of seeing a 44TB hard drive I see a 176GB
hard drive.
Under linux that issue doesn't show. The size are properly reported.
I investigated around and it seems that the problem
2013 Apr 24
1
URGENT:Rails application crashed for 700 request per minute.
Hi,
We have our rails application running on AWS. we have two application
servers and one database(postgres) server of C1.xlarge
<http://aws.amazon.com/ec2/instance-types/> AWS instance type.
Our passengermaxpoolsize is set to 30. And postgresql max connection limit
is 100.
Recently we found that when we got nearly 700 request per minute, our
application created nearly crossed the
2011 Jul 07
2
kripp.alph error message
Hi! I fairly new to R, have only done pretty basic things so far, so this may
be a very basic question..... But I did search the forums and didn't see a
solution....
I'm trying to get going with kripp.alpha(). I'm loading data from a file,
like this:
> library(irr)
Loading required package: lpSolve
> x <- read.table("foo", comment.char="#", header=TRUE,
2018 Mar 12
1
Equivalent of gtools::mixedsort in R base
x <- c( "a1", "a10", "a2" )
y <- c( "b10", "b2", "a12", "ca1" )
DF <- expand.grid( x = x, y = y )
# randomize
set.seed( 42 )
DF <- DF[ sample( nrow( DF ) ), ]
# missing from gtools
mixedrank <- function( x ) {
seq.int( length( x ) )[ gtools::mixedorder(x) ]
}
o <- do.call( order, lapply( DF, mixedrank ) )
2006 Jan 13
8
swf''s and rails
Hi I have started using rails eg: rform and typo, but mostly I do flash
dev (I know you guys decided you did not want flash content and used the
name for something else!). Anyway what experiments have people been
doing, anyone been Ajaxing flash content within rails application or
even just embedding in rails, I did not really find anything on using
flash in Typo, not that you can''t
2011 Apr 18
4
splom, plotmath: how to add three lines of information with alignment?
Dear expeRts,
I would like to create a scatter plot matrix with splom(). The lower panel should
contain some additional information about the samples shown in the upper panel
plot, see the splom() call below. Now two questions came up:
(1) The lower panels show "tau" and "alpha" on top of each other. How can I plot
*three* expressions on top of each other? I tried several
2011 Jan 19
2
tuning gluster performance vs. nfs
I have been tweaking and researching for a while now and can't seem to
get "good" performance out of Gluster.
I'm using Gluster to replace an NFS server (c1.xlarge) that serves
files to an array of web servers, all in EC2. In my tests Gluster is
significantly slower than NFS on average. I'm using a distributed
replicated volume on two (m1.large) bricks:
Volume Name: ebs
2014 May 12
2
LMTP SSL?
Can I enable STARTTLS/SSL on the LMTP listener in Dovecot 2.1.x?
service lmtp {
unix_listener lmtp {
}
inet_listener lmtp {
address = *
port = 24
--> ssl=yes
}
}
--
Ralf Hildebrandt
Gesch?ftsbereich IT | Abteilung Netzwerk
Charit? - Universit?tsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30
2002 Jan 11
3
Wine Newbee
Dear Friends,
I am new to Linux and Wine. I have just d/l wine and trying to
configure it. I would like to know that after loading wine on Linux
can i get windows like start button and menu ? I want to
install Interbase Client on wine. It has normal windows style
setup program i.e. setup.exe file. Can somebody tell me how to
use setup programs with wine and later use them ?
Thanks
R. S.
2018 Mar 12
0
Equivalent of gtools::mixedsort in R base
???
> y <- sort( c("a1","a2","a10","a12","a100"))
> y
[1] "a1" "a10" "a100" "a12" "a2"
> mixedsort(y)
[1] "a1" "a2" "a10" "a12" "a100"
**Please read the docs!** They say that mixedsort() and mixedorder() both
take a **single