Skip to content

byte coding compiling.....

2 messages · John Fox, akshay kulkarni

#
Dear Akshay,

All of this seems very confused, and you don't appear to attend to 
people's attempts to help you:

(1) All packages on CRAN are byte-compiled.

(2) The NeedsCompilation field in the package DESCRIPTION file refers 
not to byte-compilation but to the presence of C, C++, or Fortran code 
in the package, which needs to be compiled in the traditional sense.

(3) Oddly, the current version 1.5.1 of the pbmcapply package (not 
pbmclapply, which is a function in pbmcapply) does include C code and 
therefore sets NeedsCompilation to true (see 
<https://cran.r-project.org/web/packages/pbmcapply/index.html>).

(4) Most oddly of all, the pbmclapply() function calls the mclappy() 
function in the parallel package and indeed is described in ?pbmclapply 
as "a wrapper around the mclapply function." Simply look at the code for 
pbmclapply(). It is therefore very curious that pbmclapply() is faster 
than mclapply(), and in the absence of a reproducible example 
illustrating this phenomenon, I doubt that anyone will be able to tell 
you why. It might also help to know something about your system, as 
reported by Sys.info(). (My apologies if you've already reported that.)

Best,
  John
On 2022-07-07 12:48 p.m., akshay kulkarni wrote:
#
Dear John
                 Thanks for the reply....I will give the reprex when it is ready...

Yours sincerely,
AKSHAY M KULKARNI