search for: markknown

Displaying 4 results from an estimated 4 matches for "markknown".

Did you mean: markdown
2008 Mar 17
1
Inconsistency in gsub in R.2.6.2 (PR#10978)
Hi, May this be an oversight? R version 2.6.2 Patched (2008-03-13 r44783) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 ... > x <- "ab?" > Encoding(x) [1] "latin1" > Encoding(gsub("?","", x)) [1] "unknown" > Encoding(gsub("?","", x, perl = TRUE)) [1] "latin1"
2016 Jun 01
2
segfault / crash when asking for large memory via strrep()
We've had this more general topic on R-help, and also in R-devel recently. There's one case here where I get the feeling R never gets into swapping but more directly aborts possibly from a bug we can more easily fix. Today I've been working (successfully! - not yet committed) at fixing str() for very large strings. In this process, I've found that pc <- function(.)
2016 Jun 01
0
segfault / crash when asking for large memory via strrep()
...is. It might be more future-proof to change the declaration of int j, ni, nc; to R_xlen_t j, ni, nc; and let the character allocation code reject, but that would create a memory leak since the Free call isn't reached. This is a problem in any case though, as SET_STRING_ELT(s, is, markKnown(cbuf, STRING_ELT(x, ix))); could throw errors for a number of reasons and then the Free() is not reached. It would be better to use R_alloc or register a cleanup function to call Free on a jump. Best, luke On Wed, 1 Jun 2016, Martin Maechler wrote: > We've had this more general topic on...
2010 Sep 08
0
Correction to vec-subset speed patch
...================ --- src/include/Defn.h (revision 52822) +++ src/include/Defn.h (working copy) @@ -1003,7 +1003,7 @@ void KillAllDevices(void); SEXP levelsgets(SEXP, SEXP); void mainloop(void); -SEXP makeSubscript(SEXP, SEXP, int *, SEXP); +SEXP makeSubscript(SEXP, SEXP, int *, SEXP, int); SEXP markKnown(const char *, SEXP); SEXP mat2indsub(SEXP, SEXP, SEXP); SEXP matchArg(SEXP, SEXP*); Index: src/main/subassign.c =================================================================== --- src/main/subassign.c (revision 52822) +++ src/main/subassign.c (working copy) @@ -448,7 +448,7 @@ } s...