Displaying 20 results from an estimated 27 matches for "2e9".
Did you mean:
29
2020 Sep 08
4
Operations with long altrep vectors cause segfaults on Windows
...> on Tue, 8 Sep 2020 10:40:24 +0200 writes:
>>>>> Hugh Parsonage
>>>>> on Tue, 8 Sep 2020 18:08:11 +1000 writes:
>> I can only reproduce on Windows, but reliably (both 4.0.0 and 4.0.2):
>> $> R --vanilla
>> x <- c(0L, -2e9:2e9)
>> # > Segmentation fault
>> Tried to reproduce on Linux but the above worked as expected. Not an
>> issue merely with the length of the vector; for example, x <-
>> rep_len(1:10, 1e10) works, though the altrep vector must be long to
>>...
2020 Sep 08
2
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...wrote:
> Thanks Martin. On further testing, it seems that the segmentation
> fault can only occur when the amount of obtainable memory is
> sufficiently high. On my machine (admittedly with other processes
> running):
>
> $ R --vanilla --max-mem-size=30G -e "x <- c(0L, -2e9:2e9)"
> Segmentation fault
>
> $ R --vanilla --max-mem-size=29G -e "x <- c(0L, -2e9:2e9)"
> Error: cannot allocate vector of size 14.9 Gb
> Execution halted
Unfortunately I don't have access to a Windows machine with enough
memory to get to the point of failure...
2020 Sep 08
2
Operations with long altrep vectors cause segfaults on Windows
I can only reproduce on Windows, but reliably (both 4.0.0 and 4.0.2):
$> R --vanilla
x <- c(0L, -2e9:2e9)
# > Segmentation fault
Tried to reproduce on Linux but the above worked as expected. Not an
issue merely with the length of the vector; for example, x <-
rep_len(1:10, 1e10) works, though the altrep vector must be long to
reproduce:
x <- c(0L, -1e9:1e9) #ok
Segmentation faults oc...
2020 Sep 08
0
Operations with long altrep vectors cause segfaults on Windows
Thanks Martin. On further testing, it seems that the segmentation
fault can only occur when the amount of obtainable memory is
sufficiently high. On my machine (admittedly with other processes
running):
$ R --vanilla --max-mem-size=30G -e "x <- c(0L, -2e9:2e9)"
Segmentation fault
$ R --vanilla --max-mem-size=29G -e "x <- c(0L, -2e9:2e9)"
Error: cannot allocate vector of size 14.9 Gb
Execution halted
On Tue, 8 Sep 2020 at 18:52, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
>
> >>>>> Martin Maec...
2020 Sep 08
1
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...>>> Hugh Parsonage
>>>>>>> on Tue, 8 Sep 2020 18:08:11 +1000 writes:
>>
>> >> I can only reproduce on Windows, but reliably (both 4.0.0 and 4.0.2):
>>
>> >> $> R --vanilla
>> >> x <- c(0L, -2e9:2e9)
>>
>> >> # > Segmentation fault
>>
>> >> Tried to reproduce on Linux but the above worked as expected. Not an
>> >> issue merely with the length of the vector; for example, x <-
>> >> rep_len(1:10, 1e10...
2020 Sep 08
0
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...in. On further testing, it seems that the segmentation
> > fault can only occur when the amount of obtainable memory is
> > sufficiently high. On my machine (admittedly with other processes
> > running):
> >
> > $ R --vanilla --max-mem-size=30G -e "x <- c(0L, -2e9:2e9)"
> > Segmentation fault
> >
> > $ R --vanilla --max-mem-size=29G -e "x <- c(0L, -2e9:2e9)"
> > Error: cannot allocate vector of size 14.9 Gb
> > Execution halted
>
> Unfortunately I don't have access to a Windows machine with enough
>...
2020 Sep 08
0
Operations with long altrep vectors cause segfaults on Windows
>>>>> Hugh Parsonage
>>>>> on Tue, 8 Sep 2020 18:08:11 +1000 writes:
> I can only reproduce on Windows, but reliably (both 4.0.0 and 4.0.2):
> $> R --vanilla
> x <- c(0L, -2e9:2e9)
> # > Segmentation fault
> Tried to reproduce on Linux but the above worked as expected. Not an
> issue merely with the length of the vector; for example, x <-
> rep_len(1:10, 1e10) works, though the altrep vector must be long to
> reproduce:
>...
2020 Sep 08
0
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...40:24 +0200 writes:
>
>>>>>> Hugh Parsonage
>>>>>> on Tue, 8 Sep 2020 18:08:11 +1000 writes:
>
> >> I can only reproduce on Windows, but reliably (both 4.0.0 and 4.0.2):
>
> >> $> R --vanilla
> >> x <- c(0L, -2e9:2e9)
>
> >> # > Segmentation fault
>
> >> Tried to reproduce on Linux but the above worked as expected. Not an
> >> issue merely with the length of the vector; for example, x <-
> >> rep_len(1:10, 1e10) works, though the altrep vector must...
2020 Sep 08
2
[External] Re: Operations with long altrep vectors cause segfaults on Windows
...testing, it seems that the segmentation
>>> fault can only occur when the amount of obtainable memory is
>>> sufficiently high. On my machine (admittedly with other processes
>>> running):
>>>
>>> $ R --vanilla --max-mem-size=30G -e "x <- c(0L, -2e9:2e9)"
>>> Segmentation fault
>>>
>>> $ R --vanilla --max-mem-size=29G -e "x <- c(0L, -2e9:2e9)"
>>> Error: cannot allocate vector of size 14.9 Gb
>>> Execution halted
>> Unfortunately I don't have access to a Windows machine w...
2004 Jun 25
1
ties in runif() output
I get ties in output from runif() when I generate as few as 10^5
variates and get quite a lot when I generate 10^6. Is this
expected?? I haven't seen any duplication with rnorm(10^6), but
see varying amounts of duplication using rexp(), rbeta() and
rgamma(). I would have thought that there'd be enough precision
that one wouldn't get ties until generating samples larger than this..
2017 Nov 21
1
Truncating vectors by reference in C-backend
...body = paste0("SETLENGTH(x, 1);",
"SET_TRUELENGTH(x,
1);",
"return(R_NilValue);"))
## create a large vector that only fits into memory once
x <- 1 : 2e9
## shrink it
shrinkVector(x)
## shrinking seems to have worked
print(length(x) == 1)
# [1] TRUE
print(object.size(x))
# 48 bytes
## but I can't reuse the memory for a large x2:
x2 <- 1 : 2e8
# Error: cannot allocate vector of size 762.9 Mb
## if I remove x, it works
rm(x)
gc()
x2 <- 1 : 2...
2007 Jul 17
1
problem with length()
...uot;2001-01-03" ...
Many thanks in advance,
Jacob Etches
Doctoral candidate, Epidemiology Program
Department of Public Health Sciences, University of Toronto Faculty
of Medicine
Research Associate
Institute for Work & Health
800-481 University Avenue, Toronto, Ontario, Canada M5G 2E9
T: 416.927.2027 ext. 2290
F: 416.927.4167
jetches at iwh.on.ca
www.iwh.on.ca
This e-mail may contain confidential information for the sol...{{dropped}}
2007 Feb 23
1
Repeated measures in Classification and Regresssion Trees
...f several data points measured on the
same subject, or from the same plot over time.
Any perspectives will be welcome,
Andy Park (Assistant Professor)
Centre for Forest Interdisciplinary Research (CFIR),
Department of Biology,
University of Winnipeg,
515 Portage Avenue,
Winnipeg, Manitoba, R3B 2E9,
Canada
Phone: (204) 786-9407
2011 Jan 03
0
dclone 1.3-0
...39;dclone' supports parallel computations via the
'snow' package.
Have fun,
Peter
Peter Solymos
Alberta Biodiversity Monitoring Institute
and Boreal Avian Modelling project
Department of Biological Sciences
CW 405, Biological Sciences Bldg
University of Alberta
Edmonton, Alberta, T6G 2E9, Canada
Phone: 780.492.8534
Fax: 780.492.7635
email <- paste("solymos", "ualberta.ca", sep = "@")
http://www.abmi.ca
http://www.borealbirds.ca
http://sites.google.com/site/psolymos
--
Main functions in the 'dclone' package include:
* dclone, dcdim: clonin...
2006 Dec 05
0
Wombling
...ut I am not a
good programmer and I am a little bit concerned with efficiency.
Thank you for any information,
--
Jos?-Manuel Blanco-Moreno
-----------------------------------
Department of Biological Sciences
University of Alberta
CW-405 Biological Sciences Bldg.
Edmonton, Alberta, Canada
T6G 2E9
-----------------------------------
Phone: (1) 780 492 3289
Fax: (1) 780 492 9457
2008 Feb 05
0
xYplot, error bars, log scale
...r.get("superpose.symbol")
$col[1:4])
)
)
Doctoral candidate, Epidemiology Program
Department of Public Health Sciences, University of Toronto Faculty of
Medicine
Research Associate
Institute for Work & Health
800-481 University Avenue, Toronto, Ontario, Canada M5G 2E9
T: 416.927.2027 ext. 2290
F: 416.927.4167
jetches at iwh.on.ca
www.iwh.on.ca
2011 Jan 03
0
dclone 1.3-0
...39;dclone' supports parallel computations via the
'snow' package.
Have fun,
Peter
Peter Solymos
Alberta Biodiversity Monitoring Institute
and Boreal Avian Modelling project
Department of Biological Sciences
CW 405, Biological Sciences Bldg
University of Alberta
Edmonton, Alberta, T6G 2E9, Canada
Phone: 780.492.8534
Fax: 780.492.7635
email <- paste("solymos", "ualberta.ca", sep = "@")
http://www.abmi.ca
http://www.borealbirds.ca
http://sites.google.com/site/psolymos
--
Main functions in the 'dclone' package include:
* dclone, dcdim: clonin...
2012 Feb 14
0
New version: dclone 1.7-1 and dcmle 0.1-4 rolled out
...ion, and to Khurram Nadeem for catching the
most annoying bugs on the test run.
Cheers,
Peter
Peter Solymos
Alberta Biodiversity Monitoring Institute
and Boreal Avian Modelling project
Department of Biological Sciences
CW 405, Biological Sciences Bldg
University of Alberta
Edmonton, Alberta, T6G 2E9, Canada
Phone: 780.492.8534
Fax: 780.492.7635
email <- paste("solymos", "ualberta.ca", sep = "@")
http://www.abmi.ca
http://www.borealbirds.ca
http://sites.google.com/site/psolymos
_______________________________________________
R-packages mailing list
R-packages a...
2012 Feb 14
0
New version: dclone 1.7-1 and dcmle 0.1-4 rolled out
...ion, and to Khurram Nadeem for catching the
most annoying bugs on the test run.
Cheers,
Peter
Peter Solymos
Alberta Biodiversity Monitoring Institute
and Boreal Avian Modelling project
Department of Biological Sciences
CW 405, Biological Sciences Bldg
University of Alberta
Edmonton, Alberta, T6G 2E9, Canada
Phone: 780.492.8534
Fax: 780.492.7635
email <- paste("solymos", "ualberta.ca", sep = "@")
http://www.abmi.ca
http://www.borealbirds.ca
http://sites.google.com/site/psolymos
_______________________________________________
R-packages mailing list
R-packages a...
2014 Sep 07
0
format(object.size(...), units): KB, MB, and GB instead of Kb, Mb, and Gb?
...en used to indicate sizes in kilobits, megabits and gigabits,
e.g.
> format(structure(2e3, class="object_size"), units="auto")
[1] "2 Kb"
> format(structure(2e6, class="object_size"), units="auto")
[1] "1.9 Mb"
> format(structure(2e9, class="object_size"), units="auto")
[1] "1.9 Gb"
> format(structure(2e12, class="object_size"), units="auto")
[1] "1862.6 Gb"
BTW, I suggest to add support for terabytes too (and maybe beyond);
we're soon/already there.
TOPIC #2...