similar to: memory misuse in subscript code when rep() is called in odd way

Displaying 19 results from an estimated 19 matches similar to: "memory misuse in subscript code when rep() is called in odd way"

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 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
2003 Dec 31
2
Calling primitive functions from C code
Does anyone have an example of calling primitive or internal functions from C code that they would share with me? I am having trouble trying to figure out how to construct the proper arguments to pass to "do_subset_dflt" Here is the prototype: SEXP do_subset_dflt(SEXP call, SEXP op, SEXP args, SEXP rho); The R_FunTab from "names.c" gives some additional information on the
2003 Dec 31
2
Calling primitive functions from C code
Does anyone have an example of calling primitive or internal functions from C code that they would share with me? I am having trouble trying to figure out how to construct the proper arguments to pass to "do_subset_dflt" Here is the prototype: SEXP do_subset_dflt(SEXP call, SEXP op, SEXP args, SEXP rho); The R_FunTab from "names.c" gives some additional information on the
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
2001 Apr 11
0
replicating lists (fwd) (PR#907)
Filed as a bug, as suggested by Brian R., Jonathan. Jonathan Rougier Science Laboratories Department of Mathematical Sciences South Road University of Durham Durham DH1 3LE tel: +44 (0)191 374 2361, fax: +44 (0)191 374 7388 http://www.maths.dur.ac.uk/stats/people/jcr/jcr.html ---------- Forwarded message ---------- Date: Wed, 11 Apr 2001 09:15:26 +0100
2013 Sep 30
1
how to interpose my own "[" function?
I want to create my own "[" function (for use on vectors, matrices, arrays, etc.), which calls the stock R "[", does some additional work, and then finally returns the modified result. But, how do I properly call the stock R "[" function? It takes a varying number of positional arguments, and its R-level closure is just: .Primitive("[") It's
2001 Apr 11
5
replicating lists
Hi Everyone, At the moment it is not possible to replicate complex lists, but only simple ones: > rep(list(fred = 1:10), 10) # works fine > rep(list(fred = 1:10, happy = "squash"), 10) Error in rep(list(fred = 1:10, happy = "squash"), 10) : Unimplemented feature in rep There is nothing in ?rep that suggests that the latter should not work, and I think it would
2011 Mar 18
0
New winetricks 20110317: two more games, some Dragon Age: Origins bugfixes
Another week, another Winetricks. Version 20110317 supports two more games: cojbib_demo "Call of Juarez: Bound in Blood Demo" (2009) luxor_ar "Luxor Amun Rising" (2006) and fixes a few bugs in Dragon Age: Origins. For bug tracker, mailing lists, and wiki, see http://winetricks.org In particular, http://code.google.com/p/winetricks/wiki/FeaturedGames has screencasts
2010 Sep 08
0
Correction to vec-subset speed patch
I found a bug in one of the fourteen speed patches I posted, namely in patch-vec-subset. I've fixed this (I now see one does need to duplicate index vectors sometimes, though one can avoid it most of the time). I also split this patch in two, since it really has two different and independent parts. The patch-vec-subset patch now has only some straightforward (locally-checkable) speedups for
2006 Jun 03
3
More on bug 7924
Hi, Again, sorry for the length of this post. Once I get my new office I will get a website set up on my work machine and will simply post a link to the log since I doubt many people are truly interested in these logs. To further analyze what is happening, I added my own routine in main.c called DEBUG_SET_NAMED and then redefined the SET_NAMED macro to use it and then rebuilt R. I
2004 Aug 06
1
Akos...Darkice questions
Can the bitsPerSample be set any higher than 16? I try to set it to 20 or 24 and get this error... DarkIce: LameLibEncoder.h:122: specified bits per sample not supported [24] teststream# <p>When I start Darkice I get the following error for about 5 seconds and then it stops with "broken pipe". 08:57:09: BufferedSink, new peak: 53112 08:57:09: BufferedSink, remaining: 28808
2004 Aug 06
0
Akos...Darkice questions
Hmmm...I raised my sample rate to 44100 from 22050 and now it seems to be more stable??? >>> Matt@cmitech.com 8/28/02 9:04:47 AM >>> Can the bitsPerSample be set any higher than 16? I try to set it to 20 or 24 and get this error... DarkIce: LameLibEncoder.h:122: specified bits per sample not supported [24] teststream# <p>When I start Darkice I get the following error
2004 Aug 06
0
Akos...Darkice questions
Actually...I think it's because I set it to mono instead of stereo...anyway, is there a way to set the bitsPerSample higher? Matt <p><p>>>> Matt@cmitech.com 8/28/02 9:09:03 AM >>> Hmmm...I raised my sample rate to 44100 from 22050 and now it seems to be more stable??? >>> Matt@cmitech.com 8/28/02 9:04:47 AM >>> Can the bitsPerSample be set any
2004 Apr 29
1
I'm trying to use package ts (decompose). How do you set up the data/ See attached. thanks
InDATA <-read.table("C:/Data/May 2004/season.txt",header=T) X <- decompose(InDATA) print(X) Period Connections Q1 67519 Q2 69713 Q3 68920 Q4 69452 Q1 70015 Q2 59273 Q3 57063 Q4 65596 Q1 73527 Q2 58586 Q3 69522 Q4 60091 Q1 51686 Q2 63490 Q3 55702 Q4 53200 Q1 51033 Q2 48175 Q3 52709 Q4 50106 Q1 50855 Q2 43466 Q3 48190 Q4 41702 Q1 48747 Q2 51441 Q3 42537
2017 May 17
0
Upgraded > Samba no longer listening on 192.168.0.x
Thank you. After adding "interfaces = eth0 lo" to smb.conf, I ran the following commands: ================ root at debian:~# systemctl status samba ● samba.service Loaded: masked (/dev/null) Active: inactive (dead) ================ root at debian:~# systemctl status samba-ad-dc ● samba-ad-dc.service - LSB: start Samba daemons for the AD DC Loaded: loaded
2017 May 17
2
Upgraded > Samba no longer listening on 192.168.0.x
that init script is ok. Try adding the following in your smb.conf Add : interfaces = 192.168.249.230 127.0.0.1 Or interfaces = eth0 lo ( change eth0 to your interface name) Check: systemctl status samba systemctl status samba-ad-dc If samba-ad-dc is enable, disable that one, and enable samba. systemctl disable samba-ad-dc systemctl enable samba Greetz, Louis >
2005 Dec 16
2
Google indexing wiki edit pages
Hi, I''ve been googling around trying to find out how to do something with rails, and found this page returned by google: <http://wiki.rubyonrails.___/rails/pages/Madeleine/versions/new> [You should replace the underscores in the URL with ''com'' to see what I mean -- didn''t want to exacerbate the situation should this message itself be indexed...]
2012 Jan 27
1
Wine release 1.4-rc1
The Wine development release 1.4-rc1 is now available. This is the first release candidate for the upcoming Wine 1.4. It marks the beginning of the code freeze period. Please give this release a good testing to help us make 1.4 as good as possible. What's new in this release (see below for details): - Improved crash dialog with support for saving the backtrace. - Support for the Back