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 comp
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++
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 co
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 mach
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" wrote:
>O
On Sat, Nov 22, 2014 at 12:42 PM, Duncan Murdoch
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 versions. However
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 depen