Re: [Bioc-devel] faster gene id conversion?

2014-11-22 Thread Sean Davis
On Sat, Nov 22, 2014 at 12:53 AM, Karl Stamm karl.st...@gmail.com wrote: Question regarding gene name conversions. Once upon a time, I was doing a lot of gene name conversions, particularly from NM_ to HGNC symbol or Entrez GeneID. I used bioMaRt successfully, and developed a cache matrix

[Rd] Large size shared library

2014-11-22 Thread Chen, Han
Dear all, I have an R package that I plan to submit to CRAN in the near future, but it gave me a note when I ran R CMD check --as-cran saying that my libs directory is 7.0Mb. I wrote some functions in C++ and my source code included several low-level C++ libraries as header files. When I

Re: [Rd] Large size shared library

2014-11-22 Thread Prof Brian Ripley
On 22/11/2014 08:34, Chen, Han wrote: Dear all, I have an R package that I plan to submit to CRAN in the near future, but it gave me a note when I ran R CMD check --as-cran saying that my libs directory is 7.0Mb. I wrote some functions in C++ and my source code included several low-level C++

[Rd] R string comparisons may vary with platform (plain text)

2014-11-22 Thread Stuart Ambler
A colleague¹s R program behaved differently when I ran it, and we thought we traced it probably to different results from string comparisons as below, with different R versions. However the platforms also differed. A friend ran it on a few machines and found that the comparison behavior didn¹t

Re: [Rd] R string comparisons may vary with platform (plain text)

2014-11-22 Thread Duncan Murdoch
On 22/11/2014, 2:59 PM, Stuart Ambler wrote: A colleague¹s R program behaved differently when I ran it, and we thought we traced it probably to different results from string comparisons as below, with different R versions. However the platforms also differed. A friend ran it on a few

Re: [Rd] R string comparisons may vary with platform (plain text)

2014-11-22 Thread Stuart Ambler
You mean where it says that some platforms may not respect the locale (I assume, though don’t know, that en_US.UTF-8 and en_US.utf8 would be the same)? But I gather that the general problem has been looked into and is difficult to solve; thanks. On 11/22/14, 12:42 PM, Duncan Murdoch

Re: [Rd] R string comparisons may vary with platform (plain text)

2014-11-22 Thread Henrik Bengtsson
On Sat, Nov 22, 2014 at 12:42 PM, Duncan Murdoch murdoch.dun...@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 thought we traced it probably to different results from string comparisons as below, with different R

[Rd] Rprof(..., memory.profiling=TRUE) to profile C memory allocation?

2014-11-22 Thread Henrik Bengtsson
Could someone please confirm/refute that Rprof(..., memory.profiling=TRUE) can also be used to profile memory allocation done in a C function (src/*.c) that uses, e.g. allocVector(INTSXP, n) but also allocations such as R_alloc(n, sizeof(int)) ? Modulo how R was built, does the answer