{"id":15361326,"url":"https://github.com/thequackdaddy/r-openblas","last_synced_at":"2025-04-15T07:31:33.396Z","repository":{"id":201334237,"uuid":"121575551","full_name":"thequackdaddy/R-OpenBLAS","owner":"thequackdaddy","description":"64-bit R for Windows compiled with openblas","archived":false,"fork":false,"pushed_at":"2019-04-14T23:46:10.000Z","size":10778,"stargazers_count":15,"open_issues_count":5,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T18:50:36.214Z","etag":null,"topics":["data-science","mingw-w64","openblas","r","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thequackdaddy.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-02-15T00:01:13.000Z","updated_at":"2023-12-19T07:31:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"5739a2e9-e708-4be9-9a57-3e432777da64","html_url":"https://github.com/thequackdaddy/R-OpenBLAS","commit_stats":null,"previous_names":["thequackdaddy/r-openblas"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thequackdaddy%2FR-OpenBLAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thequackdaddy%2FR-OpenBLAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thequackdaddy%2FR-OpenBLAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thequackdaddy%2FR-OpenBLAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thequackdaddy","download_url":"https://codeload.github.com/thequackdaddy/R-OpenBLAS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249026807,"owners_count":21200509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-science","mingw-w64","openblas","r","windows"],"created_at":"2024-10-01T12:54:29.405Z","updated_at":"2025-04-15T07:31:29.640Z","avatar_url":"https://github.com/thequackdaddy.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"|Appveyor Build Status|\n\nOverview\n========\n\nThis project is used to compile R_ on Windows using the fast openblas_\nBLAS library as a fast alternative to R's native BLAS.\n\nAcknowledgement\n===============\n\nFirst, I am grateful to Avraham Adler for his excellent `blog post`_ covering\nthis topic. If you want to read his script--which this package mostly follows--\nplease do so.\n\nProcedure\n=========\n\nPrerequisites:\n\nThe key difficultly in getting this to work is R is built using the GNU tools\nwhich have sometimes spotty and confusing windows support. However, the key\nelemenets are that you need to download the following:\n\n- Rtools_ Used for the actual ``gcc`` and ``gfortran`` compilers.\n- `MiKTeX Portable`_ R builds a ton of documentation as HTML and PDF files.\n- Appveyor_ Is an online continuous integration system that essentially runs Windows buils.\n- openblas_ is needed. A version specfically compiled for R for Windows can be found here: https://github.com/thequackdaddy/OpenBLASR\n\nStrategy:\n\nThe GNU make tools can be configured using environment variables. For the most\npart, that's the approach I have taken. The environment variables are configured\nusing the ``appveyor.yml`` file. In addition, one file must be edited/copied\nbecause it explicitly uses driver names which are not used for Windows R. This\nfile is:\n\n``src/extra/blas/Makefile.win``\n\nThe name of the BLAS library file--something like\n``openblas_haswellp-r0.2.20``--needs to replace the currently existing\nreferences. Note that the ``lib`` that starts the file and the ``.a`` extension\nare expected by the compiler and so the makefile should only need all the\ncharacters after the ``lib`` and before the ``.a``\n\nLaTeX is required for the build to complete. I've used `MiKTeX Portable`_ only\nbecause its easy to download and install. The LaTeX bin directory needs to be\nadded to the PATH. MiKTeX also must download smörgåsbord of extra packages--\nand must do so without user interaction. There's a ``initexmf`` command\nwhich can help set that up.\n\nAdditionally, QPDF_ is needed for processing some of the completed PDFs. The\nlocation of the install can be specified in the environment variables\nas part of the installation. QPDF is auto-downloaded from its GitHub releases\npage.\n\nA compatible openblas_ library is required. You can make your own--and\ncompile for a processor other than Intel's Haswell family  using the openblasr_\nproject. A Haswell library is provided in this build for simpolicity. If you\nwant to download the openblasr file, you may do so here:\n\nhttps://ci.appveyor.com/project/thequackdaddy/openblasr\n\nPick the most recent build that succeeded and select the Artifact tab to\ndownload it.\n\nPlease note that it is important to set the ``PATH`` so that the Rtools_ ``gcc``\ncompiler and ``make`` will be found before any other installation on the system.\nAdditionally, ``pdflatex.exe`` needs to be in the path. ``MiKTeX`` needs\na few additional packages to install everything, so be sure to either download\nthem or configure ``MiKTeX`` so that dependencies are auto-downloaded and\ninstalled.\n\nDownload\n========\n\nA compiled 64-bit R, with OpenBLAS compiled for Intel Core i7 processors is\navailable here:\n\nhttps://github.com/thequackdaddy/R-OpenBLAS/releases\n\nSelect the most recent successful build and download the executable artifact.\n\n.. code-block::\n\n   cd r-source\n   git checkout -t origin/tags/\u003cversion number\u003e\n   cd ..\n   git add r-source\n   git commit -m \"Updated OpenBLAS\"\n   git push origin \u003cbranchname\u003e\n\n.. _openblas: http://www.openblas.net/\n.. _R: https://www.r-project.org/\n.. _Rtools: https://cran.r-project.org/bin/windows/Rtools/\n.. _MSYS2: http://www.msys2.org/\n.. _QPDF: https://github.com/qpdf/qpdf\n.. _`MiKTeX Portable`: https://miktex.org/\n.. _Appveyor: http://appveyor.com/\n.. _`blog post`: https://www.avrahamadler.com/r-tips/build-openblas-for-windows-r64/\n.. _openblasr: https://github.com/thequackdaddy/openblasr\n.. |Appveyor Build Status| image:: https://ci.appveyor.com/api/projects/status/fm8mj3hq6v053gul/branch/master?svg=true\n   :target: https://ci.appveyor.com/project/thequackdaddy/r-openblas/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthequackdaddy%2Fr-openblas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthequackdaddy%2Fr-openblas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthequackdaddy%2Fr-openblas/lists"}