Displaying 20 results from an estimated 100 matches similar to: "ReleaseLargeFreeVectors SIGSEGV (?) (PR#1008)"
2001 Jul 03
0
(PR#1008) SIGSEGV began at 1.2.0
This behaviour is confirmed for RH70, RH62, Debian 2.2 on 3 different
Pentium-class i386. I've checked back and package ann_0.2-2 works on
1.1.1, but fails with seg. faults on 1.2.0 (ann_0.2-2.pre3.tar.gz to
accommodate the change in Makeconf) and subsequent (1.2.0 checked today on
RH62 with gcc 2.95.3 19991030 (prerelease)).
It is most likely that 1.1.1 was too forgiving, and that better
2001 Jul 03
0
(PR#1008) SIGSEGV under 1.1.1 too
It looks as though the problem isn't in R - I provoked a SIGSEGV under R
1.1.1 on RH62:
> for (i in 1:100) an1 <- ann(cbind(runif(1000), runif(1000)), k = 4)
> for (i in 1:100) an1 <- ann(cbind(runif(1001), runif(1001)), k = 4)
Program received signal SIGSEGV, Segmentation fault.
0x40111109 in chunk_free (ar_ptr=0x401a5d40, p=0x8849a30) at malloc.c:3111
3111 malloc.c: No such
2003 Jun 24
1
S4 method setClass prototype definition question
Dear list,
this is not a problem report -- I would like to ask for advise what the
recommended and safe way to perform the following is or what problems might
arise in doing it differently.
The question is: What is the recommended way of providing a default value in a
prototype statement for a derived class for a slot provided from a parent class?
I have first consulted the methods package
2012 Dec 07
1
how to add a column from another dataset with "merge"
kiotoqq wrote
> I want to add a shorter column to my dataset with the function "merge",
> it
> should be filled with NAs wo be as long as the other colums, like this:
>
> id age
> 9 46
> 8 56
> 6 52
> 5 NA
> 4 NA
> 3 NA
> 1 NA
>
> i did this:
> pa1 <- merge(pa1, an1, by="mergeid")
>
> and it says
2011 Dec 07
1
Output table from for loop
Hi, this might be basic but can't get it to work and it is hampering my R
usage:
#the loop is checking variance of rows, and cutting out rows with
var>numVec[i]
#I define outMat as object names I want to output to (does this make sense?
how else
#can I define sequential numbered output?)
#numVec is numbers I use in the loop
head(Counts)
AN1 AN2 AN3 AN4 var
GENE1
2004 Mar 01
2
dynamic linking
Hi,
I want to set up a dynamic link between a library e.g. myLibrary.a and a
C++ file myProgram.cc to use in R. Is this possible? If so how does one
go about doing it?
Any help will be greatly appreciated.
Cheers,
Sam.
2019 Feb 27
2
Intermittent crashes with inset `[<-` command
Valgrind (without gctorture) reports memory misuse:
% R --debugger=valgrind --debugger-args="--leak-check=full --num-callers=18"
...
> x <- 1:200000
> y <- rep(letters[1:5], length(x) / 5L)
> for (i in 1:1000) {
+ # x[y == 'a'] <- x[y == 'b']
+ x <- `[<-`(x, y == 'a', x[y == 'b'])
+ cat(i, '')
+ }
1 2 3 4 5 6 7 8 9 10
2006 Oct 19
0
Memory leak
This is a followup to the R-help thread, "Error: STRING_ELT() can only
be applied to a 'character vector', not a 'builtin'". Thanks to Prof.
Brian Ripley for suggesting the use of gctorture and valgrind. I am
getting segmentation faults that appear to come from a memory leak.
I now have a reproducible example (below). It requires the "g.data"
package
2019 Feb 27
0
Intermittent crashes with inset `[<-` command
On an azure centos VM, I can reproduce this bug which reports either:
*** caught segfault ***
address 0x70000006a, cause 'memory not mapped' (crash)
Or
incompatible types (from builtin to integer) in subassignment type fix
(no crash)
Like Gabriel, I could not reproduce the bug on a mac laptop. Both R
versions 3.5.1.
Travers
On Wed, Feb 27, 2019 at 9:08 AM William Dunlap via R-devel
2019 Feb 26
8
Intermittent crashes with inset `[<-` command
The following code crashes after about 300 iterations on my?x86_64-w64-mingw32?machine on R 3.5.2 --vanilla.??
Others have duplicated this (see?https://github.com/tidyverse/magrittr/issues/190?if necessary), but I don't know how machine/OS-dependent it may be.??
If it doesn't crash for you, please try increasing the length of the x vector.
Substituting the commented-out line for the one
2007 Jun 21
2
segfault during cbind
The following code results in a seg fault.
> sessionInfo()
R version 2.6.0 Under development (unstable) (2007-06-21 r42013)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics
2001 Jan 18
0
Release of R/GRASS GIS interface for R >= 1.2.x
Release of revised version of R/GRASS GIS raster and sites data interface.
The latest version of the R contributed package "GRASS", release 0.1-6,
may be downloaded from CRAN (cran.r-project.org) - contributed packaged
section, "Devel" directory, file: GRASS_0.1-6.tar.gz. It may also be
downloaded from ftp://reclus.nhh.no/pub/R/GRASS_0.1-6.tar.gz. This version is
intended for
2011 Jan 17
1
isoreg memory leak?
I believe there is a memory leak in isoreg in the current version of R,
as I believe the following shows
> gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 120405 3.3 350000 9.4 350000 9.4
Vcells 78639 0.6 786432 6.0 392463 3.0
> for(k in 1:100) {
+
+ y <- runif(10000)
+ isoreg(x,y)
+ }
> rm(x)
> rm(y)
> gc()
used (Mb) gc
2006 Jan 20
1
Problem loading package with version, S4 classes and NAMESPACE
I've run into a problem that I hope has an obvious solution. The sp
package uses S4 classes and has a NAMESPACE, and when installed without
package versions, runs OK, passes R CMD check, and so on.
A user reported that he installed it --with-package-versions, and that
from then on it would fail at first use of a class defined in the package.
I've reconstructed the problem in a
2004 Nov 18
1
Method dispatch S3/S4 through optimize()
I have been running into difficulties with dispatching on an S4 class
defined in the SparseM package, when the method calls are inside a
function passed as the f= argument to optimize() in functions in the spdep
package. The S4 methods are typically defined as:
setMethod("det","matrix.csr", function(x, ...) det(chol(x))^2)
that is within setMethod() rather than by name before
2005 Feb 19
2
Memory Fragmentation in R
I have a data set of roughly 700MB which during processing grows up to
2G ( I'm using a 4G linux box). After the work is done I clean up (rm())
and the state is returned to 700MB. Yet I find I cannot run the same
routine again as it claims to not be able to allocate memory even though
gcinfo() claims there is 1.1G left.
At the start of the second time
===============================
2005 Feb 19
2
Memory Fragmentation in R
I have a data set of roughly 700MB which during processing grows up to
2G ( I'm using a 4G linux box). After the work is done I clean up (rm())
and the state is returned to 700MB. Yet I find I cannot run the same
routine again as it claims to not be able to allocate memory even though
gcinfo() claims there is 1.1G left.
At the start of the second time
===============================
2004 Sep 13
6
Spare some CPU cycles for testing lme?
If anyone has a few extra CPU cycles to spare,
I'd appreciate it if you could verify a problem that I
have encountered. Run the code
below and tell me if it crashes your R before
completion.
library(lme4)
data(bdf)
dump<-sapply( 1:50000, function(i) {
fm <- lme(langPOST ~ IQ.ver.cen + avg.IQ.ver.cen, data = bdf,
random = ~ IQ.ver.cen | schoolNR);
cat("
2002 Jul 25
0
ANNOUNCEMENT: New release on Vorbis
UK: 24th July 2002
10pTV today unveiled the soundtrack to the upcoming animation short,
"Shit
Happens", which is slated for release in August. A bizarre tale of
Geeks,
Girls and Guns, "Shit Happens" features comic artwork by the reclusive
Nigel Lowry, artist for the cult classic "The Jock" and a super slick
soundtrack written by ex Bennett front man Jason Applin.
2004 Aug 27
1
selecting unique columns of a matrix/data frame
Hi all,
I have a very high dimensional data and apparently there are several
columns that contain similar information (some columns are equal). I
want to form a matrix/data frame consisting of unique columns. Does
anyone have an efficient way of getting out these columns. A small
section of the data frame is given below.
Thanks for helping.
Stephen.
> newdata
[,1] [,2] [,3] [,4] [,5]