Displaying 14 results from an estimated 14 matches for "2e5".
Did you mean:
25
2004 Feb 27
1
Regular expressions & large strings (PR#6617)
...d (although perhaps not a bug):
function(n) {
line <- paste(as.character(trunc(runif(n)*100)),collapse=" ")
system.time( rep <- gsub("[[:space:]]", "-", line) )
}
gives rather long times rising v sharply for big strings (eg
2.2s at n=2e4, 360s at n=2e5 on AMD 1.2GHz). Other languages
aren't so slow on this task (eg n=2e5: 0.4s ruby 1.8.1, and
5.2s python 2). Doubtless my extremely-quick-hack benchmarks
aren't fair, but the difference still seems rather big.
Mark <><
2015 Aug 28
4
HP EFI binaries
Sorry guys; I got a bit lost about Gene's request on this thread;
usually a handle dump like
# dh > handles.txt
it's all we need to see the relationship between the
NBP's device handle and the Service Binding handles.
Did you get handles.txt? is it available for download somewhere?
>>>
Gene, after modifying some of Patrick's code I have been able to get the
2015 Aug 28
0
HP EFI binaries
...oadFile DevicePath(065F36E00EF,0x1)/IPv4(0.0.0.0))
2A6: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
2BB: SimpleNetwork PXEBaseCode LoadFile DevicePath(CDCD40CA5F0,0x0)/IPv4(0.0.0.0))
2D0: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
2E5: SimpleNetwork PXEBaseCode LoadFile DevicePath(CDCD40CA5F4,0x0)/IPv4(0.0.0.0))
23E: MTFTPv4ServiceBinding DHCPv4ServiceBinding UDPv4ServiceBinding UnknownDevice TCPv4ServiceBinding IPv4ServiceBinding ARPServiceBinding UnknownDevice EfiMtftp6ServiceBindingProtocolGuid IPv4Config EfiDhcp6ServiceBind...
2005 Feb 01
0
Convergence problems with survreg()
Dear R mailing list,
I'm trying to fit a censored regression model to a large (dimension of the
design matrix is 2e5 by 7) right truncated data by means of the
survreg(Surv()) function, as suggested by Paul Johnson on his "R Tips" web
page.
Possibly due to the sensitivity to the initial values of the Newton-Raphson
routine in use by survreg(), resulting regression outputs turn out to be
unreliable....
2003 May 11
2
gee
I am trying to use gee() to calculate the robust standard errors for a
logit model. My dataset (zol) has 195019 observations; winner, racebl,
raceas, racehi are all binary variables. ID is saved as a vector of
length 195019 with alternating 0's and 1's. I get the following error
message. I also tried the same command with corstr set to "independence"
and got the same
2015 Aug 28
6
HP EFI binaries
...65F36E00EF,0x1)/IPv4(0.0.0.0))
> 2A6: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
> 2BB: SimpleNetwork PXEBaseCode LoadFile DevicePath(CDCD40CA5F0,0x0)/IPv4(0.0.0.0))
> 2D0: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
> 2E5: SimpleNetwork PXEBaseCode LoadFile DevicePath(CDCD40CA5F4,0x0)/IPv4(0.0.0.0))
>
> 23E: MTFTPv4ServiceBinding DHCPv4ServiceBinding UDPv4ServiceBinding UnknownDevice TCPv4ServiceBinding IPv4ServiceBinding ARPServiceBinding UnknownDevice EfiMtftp6ServiceBindingProtocolGuid IPv4Config EfiDhcp6Se...
2009 Nov 19
2
Efficient cbind of elements from two lists
Hi!
I have a data.frame "data" and splitted it.
data <- split(data, data[,1])
This is a quite slow procedure; and I do not want to do it again. So,
any unsplit and "resplit" is no option for me.
But: I have to cbind "variables" to the splitted data from another list,
that contains of vectors with matching sizes, so
for (i in 1:length(data)) {
data[[i]]
2009 Nov 27
1
problem tick marker and text
Hi R-ers,
I am struggling with my x-axis in a association plot. What I would like is
to place the labels of the x-axis between the tick markers and normally the
labels are printed at the place where the tick marker is placed. I don???t
want to move the tick marker (it gives the switch between one chromosome and
the next) but I just want to put the chromosome number in between the
2003 Feb 14
0
FW: [Fwd: Re: [S] Exact p-values]
...ot;approximations" in place of the "exact" algorithms.
>
> The standard deviation for a binomial is sqrt(p*(1-p)/n) =
> 0.5/sqrt(2e15), which is roughly 1e-8 in your case.
>
>
> I get the following from both S-Plus and R:
>
> > pbinom(1e5+c(-1, 0, 1), 2e5, .5)
> [1] 0.4991079 0.5008921 0.5026762
>
> For the problem you cite, the correct answer should be 0.5 to about 8
> significant digits. Instead, I get 1 from R (as you did) and the
> following from S-Plus:
>
> > pbinom(1e15,2e15,0.5)
> [1] 0.7411209
>
> Both...
2004 Dec 16
8
counting numbers without replicates in a vector
Hi,
I am just wondering if there is an easy way to count
in a numeric vector how many numbers don't have
replicates.
For example,
a=c(1,1,2,2,3,4,5), how can I know there are three
numbers (3, 4 and 5) without replicates?
Thank you!
Jun
=====
2012 Jun 28
2
Aggregate weights for a unique set of rows
Hi, all together. I have - a maybe trivial - problem with aggregating a
list of weights.
Here is the problem:
- At first I have set of nodes (X/Y-coordinates) and associated weights,
where the set
of nodes is typically not unique
- I want to get a set of unique nodes and the sum of associated weights
I am grateful for any help
See for example:
# weights:
w <- c(1, 1, 1, 1, 1)
#
2011 Feb 17
2
amount of data R can handle in a single file
Dear Sir/Madam,
I would like to know what is the maximum number of observations a
single file must have when using R. I am asking this because am trying
to do research on banking transactions and i have around 49million
records. Can R handle this? Advise with regard to this.
Mark Nasila
Quantitative Analyst
CBS Risk Management
Personal Banking
7th Floor, 2 First Place,
Cnr
2003 Feb 14
1
FW: [Fwd: Re: [S] Exact p-values]
Dear all
Just for fun, I have just downloaded the paper mentioned below and checked
it with R-1.6.1.
Everything is ok with exception of Table 2b, where I get always 1 instead of
0.5:
> pbinom(1e15,2e15,0.5)
[1] 1
Which value should be correct?
Best regards
Christian Stratowa
==============================================
Christian Stratowa, PhD
Boehringer Ingelheim Austria
Dept NCE Lead
2005 Dec 06
3
reading in data with variable length
I have very large csv files (up to 1GB each of ASCII text). I'd like to be able to read them directly in to R. The problem I am having is with the variable length of the data in each record.
Here's a (simplified) example:
$ cat foo.csv
Name,Start Month,Data
Foo,10,-0.5615,2.3065,0.1589,-0.3649,1.5955