Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

67 results for “from:Balamuta, James Joseph”

Catalina and gfortran (also: My silliness)
Balamuta, James Joseph · Oct 10, 2019 · r-sig-mac

Greetings and Salutations All,

Error compiling C++ code in R 4.0 on Mac OS X Catalina
Balamuta, James Joseph · Aug 10, 2020 · r-sig-mac

Isaac, To build off of what Bob mentioned, you may wish to check that Rcpp and RcppArmadillo are indeed installed.

Apple Clang does support OpenMP (if libomp is available)
Balamuta, James Joseph · Jun 6, 2019 · r-sig-mac

Greetings and Salutations Jon, > Lack of OpenMP support in Apple?s build of Clang is cited as one reason for not using it in CRAN builds

[Rcpp-devel] Exporting rcpp-based function into parLapply workers in an R package
Balamuta, James Joseph · May 14, 2021 · rcpp-devel

Naeem, The best path for including compiled code in a package is to place it within the `src/` directory instead of using `Rcpp::cppFunction()` to compile. The reasons for this are stated succiently here: https://stackoverflow.com/a/6074391/1345455

clang: error: unsupported option '-fopenmp'
Balamuta, James Joseph · May 7, 2019 · r-sig-mac

Greetings and Salutations Spencer, Modifying the path traditionally was done in `~/.R/Makevars` by setting the implicit variables: `CXX`, `CXX11` , ... I've found a better approach is to modify the `~/.Renviron` file. Since `.Renviron` is a "dot file", macOS will...

Robust compiler toolchain for R-devel
Balamuta, James Joseph · Feb 18, 2020 · r-sig-mac

All, First, macos-rtools isn't an officially sanctioned R project installer. I created it in the Summer of 2017 to quickly get students and collaborators setup with minimal effort under a configuration that mirrored CRAN. This was primarily due...

Process to Incorporate Functions from {parallely} into base R's {parallel} package
Balamuta, James Joseph · Nov 6, 2020 · r-devel

Hi all, Henrik Bengtsson has done some fantastic work with {future} and, more importantly, greatly improved constructing and deconstructing a parallelized environment within R. It was with great joy that I saw Henrik slowly split off some functionality of {future...

Catalina and gfortran
Balamuta, James Joseph · Oct 10, 2019 · r-sig-mac

Erich, Try to install gfortran with this installer: https://cran.r-project.org/bin/macosx/tools/gfortran-6.1.pkg Sincerely, JJB ?On 10/10/19, 10:28 AM, "R-SIG-Mac on behalf of Erich Subscriptions" <r-sig-mac...

[Rcpp-devel] Status of ARMA_64BIT_WORD in RcppArmadillo
Balamuta, James Joseph · Dec 14, 2014 · rcpp-devel

Greetings and Salutations All, Recently, I've had the need to collide large matrices 1x10^7 using code written in RcppArmadillo. Initially, I triggered: Error: Mat::init(): requested size is too large; suggest to enable ARMA_64BIT_WORD Upon a...

[Rcpp-devel] OpenMP and Parallel BLAS
Balamuta, James Joseph · May 31, 2015 · rcpp-devel

Greetings and Salutations, The answer is yes, multiple processes can concurrently modify different parts of the object. So, the object is not ?locked.? In this case, it?s important to note the scope of the object being ?shared? and not...

[Rcpp-devel] Help with WARNING msg: checking line endings in C/C++/Fortran sources/headers ...
Balamuta, James Joseph · Nov 17, 2016 · rcpp-devel

Greetings and Salutations, Odd that the warning would end up being triggered as file is automatically generated with appropriate line endings. Within the package directory, try running: Rcpp::compileAttributes() This will recreate the export files (e.g. src/RcppExports.cpp...

[Rcpp-devel] Segmentation faults
Balamuta, James Joseph · Dec 6, 2019 · rcpp-devel

Greetings and Salutations Brook, The segfault is related to `int main() {}`. There is no need to use `int main() {}` unless you want to make this standalone in which case you want to use RInside to embed R within a C...

[Rcpp-devel] Limit of 20
Balamuta, James Joseph · Dec 15, 2021 · rcpp-devel

For those interested, the few other instances can be found by looking under the inst/include/Rcpp/generated/ folder: https://github.com/RcppCore/Rcpp/tree/master/inst/include/Rcpp/generated In the case of Vector__create.h, one would need...

Install r-devel with homebrew?
Balamuta, James Joseph · Mar 23, 2020 · r-sig-mac

Rainer, Download the R-devel build from http://mac.r-project.org The build is available under "Universal nightly builds for Mac OS X (10.6+ and 10.9+)" table. R-devel-el-capitan-sa-x86_64.tar.gz (67Mb...

code-signing for builds of R from the developer page?
Balamuta, James Joseph · Sep 21, 2019 · r-sig-mac

Greetings and Salutations All, I think `launchd` jobs would properly sign the installer. `launchd` is Apple's re-envisioning of `cron`. So, would it be possible to port over the cron job to `launchd`? Sincerely, JJB ?On 9/20/19...

New {macrtools} package to help setup compiled code environments on Intel and ARM-based macs
Balamuta, James Joseph · Mar 24, 2023 · r-sig-mac

All, Hope all is well. About a month or so back, we revisited the **unofficial** macOS R compilation toolchain setup wizard with a focus on making it more maintainable without an Apple developer subscription. The result is the new {macrtools...

[Rcpp-devel] Exporting rcpp-based function into parLapply workers in an R package
Balamuta, James Joseph · May 14, 2021 · rcpp-devel

For code searches, consider using the {searcher} package: https://github.com/r-assist/searcher In particular, the search_github() function handles the query formatting. As an example, try: searcher::search_github("clusterEvalQ ") This opens a web browser with: https://github...

'math.h' file not found
Balamuta, James Joseph · Dec 18, 2018 · r-sig-mac

Roger, Due to macOS Mojave shift where system headers are located, you'll need to run: sudo installer -pkg \ /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg \ -target / This installs the headers back to the default...

[Rcpp-devel] Fwd: Calling R function in Rcpp returns compatibility issues
Balamuta, James Joseph · Jul 27, 2017 · rcpp-devel

Greetings and Salutations Sharat, Could you supply some test data? Sincerely, JJB From: rcpp-devel-bounces at lists.r-forge.r-project.org [mailto:rcpp-devel-bounces at lists.r-forge.r-project.org] On Behalf Of Sharat Sent: Thursday...

[Rcpp-devel] Sparse matrix and RcppEigen
Balamuta, James Joseph · Jun 10, 2015 · rcpp-devel

Thanks for the reproducible example! Here is the solution: library(Matrix) Omega <- Matrix(c(1,0.8,0.8,1),2,2) invSqrtV <- Diagonal(2,1) Omega.M <- as(as.matrix(Omega),"dgCMatrix") invSqrtV.M <- as.vector(diag(invSqrtV)) partialsolveCS...

Can't find what you're looking for? Try searching with Google .