Displaying 20 results from an estimated 300 matches similar to: "valgrind false positive on R startup?"
2020 Jun 10
0
valgrind false positive on R startup?
It is known, with a known workaround, see e.g.
https://www.stats.ox.ac.uk/pub/bdr/memtests/README.txt . Set
suppressions in ~/.valgrindrc, e.g. the CRAN check machine has
--suppressions=/data/blackswan/ripley/wcsrtombs.supp
It is an issue in your OS (glibc), not TRE nor R.
On 10/06/2020 00:21, Toby Hocking wrote:
> Hi all,
>
> I'm on Ubuntu 18.04, running R-4.0.0 which I
2019 Feb 20
2
Bug: time complexity of substring is quadratic as string size and number of substrings increases
Hi all, (and especially hi to Tomas Kalibera who accepted my patch sent
yesterday)
I believe that I have found another bug, this time in the substring
function. The use case that I am concerned with is when there is a single
(character scalar) text/subject, and many substrings to extract. For example
substring("AAAA", 1:4, 1:4)
or more generally,
N=1000
2016 Jan 28
2
More Capability for Capabilities
Hi Dario,
Here are another couple of other fun functions you can utilize besides the
ones Dirk recommended :)
extSoftVersion()
grSoftVersion()
Below is an example:
> grSoftVersion()
cairo libpng jpeg
"1.10.2" "1.6.16" "9.1"
libtiff
"LIBTIFF, Version 4.0.3"
2019 Feb 22
1
Bug: time complexity of substring is quadratic as string size and number of substrings increases
On 2/20/19 7:55 PM, Toby Hocking wrote:
> Update: I have observed that stringi::stri_sub is linear time complexity,
> and it computes the same thing as base::substring. figure
> https://github.com/tdhock/namedCapture-article/blob/master/figure-substring-bug.png
> source:
> https://github.com/tdhock/namedCapture-article/blob/master/figure-substring-bug.R
>
> To me this is a
2010 Feb 10
2
wcstombs error when compiling package with Debian/Ubuntu
Dear Debian/Ubuntu experts,
For the second time users of my BioC package reported problems when
trying to compile it on Debian/Ubuntu.
The error is always the same: "'wcstombs' was not declared in this
scope", see:
https://www.stat.math.ethz.ch/pipermail/bioconductor/2010-February/031739.html
https://stat.ethz.ch/pipermail/bioconductor/2009-August/029192.html
Since I have no
2006 May 17
1
install.packages bug (PR#8873)
Hello,
I've been using R for about 3 years now and I'm pretty sure this is a bug.
I'm using R 2.2.0.
The way R is set up to get packages from CRAN using install.packages is
really convenient --- if you are installing to your system's main package
directory. However, I observe the following problem:
I want package X but it requires package Y. Further, I have neither
package
2019 Feb 19
1
patch for gregexpr(perl=TRUE)
Hi all,
Several people have noticed that gregexpr is very slow for large subject
strings when perl=TRUE is specified.
-
https://stackoverflow.com/questions/31216299/r-faster-gregexpr-for-very-large-strings
-
http://r.789695.n4.nabble.com/strsplit-perl-TRUE-gregexpr-perl-TRUE-very-slow-for-long-strings-td4727902.html
- https://stat.ethz.ch/pipermail/r-help/2008-October/178451.html
I figured out
2023 Mar 30
1
write.csv performance improvements?
Dear R-devel,
I did a systematic comparison of write.csv with similar functions, and
observed two asymptotic inefficiencies that could be improved.
1. write.csv is quadratic time (N^2) in the number of columns N.
Can write.csv be improved to use a linear time algorithm, so it can handle
CSV files with larger numbers of columns?
For more details including figures and session info, please see
2005 Aug 26
1
wchar and wstring.
Hello all, I am writing an R interface to some C++ files which make use
of std::wstring classes for internationalization. Previously (when I
wanted to make R strings from C++ std::strings), I would do something
like this to construct a string in R from the results of the parse.
SET_VECTOR_ELT(vals, i++, mkString(header.GetHeader().c_str()));
However, now the call header.GetHeader().c_str()
2015 Sep 02
4
mclapply memory leak?
Dear R-devel,
I am running mclapply with many iterations over a function that modifies
nothing and makes no copies of anything. It is taking up a lot of memory,
so it seems to me like this is a bug. Should I post this to
bugs.r-project.org?
A minimal reproducible example can be obtained by first starting a memory
monitoring program such as htop, and then executing the following code
while
2007 Sep 13
1
chartr better
For example, the following changes are necessary when i convert a
Japanese hiragana into katakana in chattr.
R code:
> chartr("\u3041-\u3093","\u30a1-\u30f3","\u3084\u3063\u305f\u30fc")
--- R-alpha.orig/src/main/character.c 2007-09-05 07:13:27.000000000 +0900
+++ R-alpha/src/main/character.c 2007-09-13 16:10:21.000000000 +0900
@@ -2041,6 +2041,16 @@
2010 Feb 22
2
Compiling R on Linux with SunStudio 12.1: "wide-character type" problems
I am trying to compile R on Linux using SunStudio. Configure flags are
mostly as suggested in the R install guide.
CC=/opt/sun/sunstudio12.1/bin/suncc
CFLAGS="-g -xc99 -xlibmil -xlibmieee"
MAIN_CFLAGS=-g
SHLIB_CFLAGS=-g
CPPFLAGS="-I. -I/opt/sun/sunstudio12.1/prod/include
-I/opt/sun/sunstudio12.1/prod/include/cc"
CPPFLAGS+="-I/opt/sun/sunstudio12.1/prod/include/cc/sys
2014 Nov 23
2
R string comparisons may vary with platform (plain text)
On 23/11/2014 09:39, peter dalgaard wrote:
>
>> On 23 Nov 2014, at 01:05 , Henrik Bengtsson <hb at biostat.ucsf.edu> wrote:
>>
>> On Sat, Nov 22, 2014 at 12:42 PM, Duncan Murdoch
>> <murdoch.duncan at gmail.com> wrote:
>>> On 22/11/2014, 2:59 PM, Stuart Ambler wrote:
>>>> A colleague?s R program behaved differently when I ran it, and we
2020 Jun 08
1
Potential issue with perl-based pattern matching with Unicode characters on Windows R 4.0 and above
Hi everyone,
I've noticed new behavior in `regexpr(..., perl = TRUE)` on Windows with
R4.0 and above with Unicode characters. Here's a minimal example where I'd
expect to see a start value of `5` (as R 3.6.2 and below gives), but R
4.0.0 (and R 4.0.1) now returns:
```
> regexpr("b", "foo\U0001F937bar", perl = TRUE)
#> [1] 6
#>
2005 May 18
2
Networking functionality?
Is there (if not, can we get) the functionality to query for
workstations in the local workgroup or domain?
Zach
2005 Apr 14
2
Using idmap_rid backend, cannot browse home directory from XP
Samba version is 3.0.10 on Gentoo linux. I am trying
to use idmap_rid backend in a Windows AD environment,
the Linux PC acting only as a domain member. I am
using idmap_rid because I need UID/GID predictability.
I can log in to console correctly, and it shows the
right user and the "Domain Users" as the group.
When I use default winbind TDB, I can browse the home
directory from an XP
2006 May 04
1
[LLVMdev] Idea for the Summer of Code
Hi all,
I have an idea for a proposal for the summer of code which I think is pretty
cool, but I wanted to run it past you all to see what you thought of it
first.
Basically, the proposal is to use LLVM as a test bed for a more theoretical
idea I have. I want to develop a grammar-level way of formally specifying
how to translate between two languages. Borrowing from XSLT (a way of
transforming
2023 Nov 22
1
R-4.3 version list.files function could not work correctly in chinese
FWIW, a user on Stack Overflow just reported the same issue with list.files
running R 4.3.z on Windows. They do not observe the issue running R-devel,
with Tomas' patch (r84960). It is still the case that their file names did
not exceed 260 wide characters.
https://stackoverflow.com/q/77527167/12685768
Mikael
On 2023-08-17 6:00 am, r-devel-request at r-project.org wrote:
>
2017 Jun 22
1
Compiling R-devel - missing some expected features (zlib, bzlib, lzma, PCRE)
Hi All,
I am compiling R-devel on Linux (Ubuntu 16.04.2) and that works just fine, but I am missing some of the expected features, as shown here:
https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Linux
In particular, after configure (using all defaults), I see:
R is now configured for x86_64-pc-linux-gnu
[...]
Interfaces supported: X11
External libraries:
2015 Nov 18
3
Outdated information in regex.Rd
The NEWS for R-devel has the following item:
> The previously included versions of zlib, bzip2, xz and PCRE have
> been removed, so suitable external (usually system) versions are
> required (see the ?R Installation and Administration? manual).
Therefore I believe the following information in
'src/library/base/man/regex.Rd' is no longer valid:
> If PCRE support was compiled