Re: [R-pkg-devel] [EXTERNAL] Re: Fast Matrix Serialization in R?

2024-05-08 Thread Sameh Abdulah
To: Sameh Abdulah Cc: r-package-devel@r-project.org Subject: [EXTERNAL] Re: [R-pkg-devel] Fast Matrix Serialization in R? On 9 May 2024 at 03:20, Sameh Abdulah wrote: | I need to serialize and save a 20K x 20K matrix as a binary file. Hm that is an incomplete specification: _what_ do you want to do

[R-pkg-devel] Fast Matrix Serialization in R?

2024-05-08 Thread Sameh Abdulah
Hi, I need to serialize and save a 20K x 20K matrix as a binary file. This process is significantly slower in R compared to Python (4X slower). I'm not sure about the best approach to optimize the below code. Is it possible to parallelize the serialization function to enhance performance?

[R-pkg-devel] Cannot see the failure output on Fedora clang/gcc falvor (page not found)

2024-01-21 Thread Sameh Abdulah
Recently, our package was removed from CRAN due to failures across all systems. We've fixed the issue on MacOS systems. However, we cannot access the webpage (page not found) to identify and address the failures on Fedora systems.

Re: [R-pkg-devel] [EXTERNAL] Re: CMake on CRAN Systems

2024-01-17 Thread Sameh Abdulah
Thank you, Ivan and everyone else, for your help. We are working on modifying the package in line with your suggestions. Regarding the Rcpp template we previously advertised, we are updating it to align better with the rules and constraints of R-exts. If you believe the template is still a

[R-pkg-devel] CMake on CRAN Systems

2024-01-16 Thread Sameh Abdulah
Hi All, We recently encountered an installation issue with our package on CRAN. We've been depending on CMake, assuming it is readily available by default, but it appears to be only available on the M1mac system but not on the others. Should we include the CMake installation within our

[R-pkg-devel] A template R package to incorporate C++ code via Rcpp

2023-12-02 Thread Sameh Abdulah
Hi All, I want to share that we have developed a template R package that easily incorporates C++ code via Rcpp. This template streamlines the process of integrating R and C++. The template package facilitates: Flexibility in Building: It employs the CMake build system, offering more

[R-pkg-devel] Link to MKL instead of RBLAS on CRAN

2023-09-27 Thread Sameh Abdulah
Hi, Is it possible to link with MKL instead of RBLAS when submitting my package to CRAN? Do CRAN support other BLAS libraries? Best, --Sameh -- This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have

Re: [R-pkg-devel] [EXTERNAL] Re: Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Sameh Abdulah
technically on topic here. On September 26, 2023 12:58:25 AM PDT, Sameh Abdulah wrote: >Dear Colleagues, > > >I've encountered a warning in my package that states: > >'warning: a function declaration without a prototype is deprecated in all >versions of C [-Wstrict-prototyp

[R-pkg-devel] Warning: a function declaration without a prototype is deprecated in all versions of C

2023-09-26 Thread Sameh Abdulah
Dear Colleagues, I've encountered a warning in my package that states: 'warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes].' This warning originates from one of the libraries I depend on, specifically OpenBLAS. So, I have no control

[R-pkg-devel] Linking Problem on MacOS

2023-05-25 Thread Sameh Abdulah
Hi, We are developing an R-C++ package that relies on several libraries, including Rcpp, blas, lapack, blaspp, and lapackpp. The flow of our package is as follows: When running the package, we only require Rcpp. If any other necessary libraries are not found, they will be automatically