Lastly, for installing the RStudio IDE deb file, as you would do on an x86_64 system, you might want to install gdebi: sudo apt install gdebi I have tried using an alternative source for the Deno binary but I can’t find an alternative source for the Deno DOM plug-in so I guess we will have to live without Quarto capabilities on arm64 for the time being (or if you are more clever than me you can find out a way around this and share with the rest of us). Quarto is a different story, the problem with it is that one of its dependencies, Deno (and its Deno DOM plug-in) is not available for arm64 because of the lack of arm64 GitHub Actions runners which makes CI/CD workflows unpractical. Pandoc you can easily install from the Ubuntu repositories and the IDE will recognize the system version automatically: sudo apt install pandoc pandoc-citeproc The experimental RStudio IDE builds do not come with Pandoc nor Quarto bundled since they do not offer official support for arm64. I'll wait for a Debian 11 compatible build, fingers crossed!- Andrés Castro August 22, 2022 Sadly, no luck for me, since you compile for Bullseye, and the RStudio experimental builds are compiled for Ubuntu 22.04 (Debian 12) there is a problem with a library version mismatch ( ). I’ll update this section if things change in the future since it would be a very nice option. Just to rule this option out, for the time being, using a precompiled binary from the R4Pi project is not a viable option for this particular application, there is no arm64 R binary publicly available from them yet but the people from the R4Pi project have been kind enough to make a link available with an experimental arm64 binary for me to try out, sadly, it has been compiled for Raspberry Pi OS 64-bit which, at the time of writing, is based on Debian 11, and Ubuntu 22.04 is Debian 12 based so it is not compatible. configure -enable-R-shlib -with-blas -with-lapack #optional Libblas-dev liblapack-dev libopenblas-base \ Libssh-dev libgit2-dev libcurl4-openssl-dev \ Libbz2-dev libzstd-dev liblzma-dev libtiff5 \ Libpng-dev libjpeg-dev libcairo2-dev xvfb \ You can install the R version that comes with Ubuntu standard repositories, which is 4.1.2, this is the easiest option but this version is a little old: sudo apt install r-baseĪnother option is to compile the latest R version yourself (4.2.1 at the moment of writing), this is time-consuming but it gives you the most flexibility since you can choose options like compiling with BLAS and LAPACK: sudo apt install -y g++ gcc gfortran libreadline-dev libx11-dev libxt-dev \ You have some options for installing R in Ubuntu 22.04 (arm64), each one with its own pros and cons. Then, the most important dependency for RStudio is, unsurprisingly, the R language. The first thing you need is a Raspberry Pi SBC (2/3/4) with Ubuntu 22.04.1 LTS installed and updated, make sure to update your system libraries before you start.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |