Base R on Power 9 CPU working (ppc64le architecture)? - r

There is an r-base package available for the IBM Power9 CPU architecture (ppc64le) on Ubuntu Linux
and I am wondering if R can really be used on this architecture beyond "does-it-run" experiments.
I did use this search engine to find the r-base package:
https://developer.ibm.com/linuxonpower/open-source-pkgs/
Since this architecture is not officially supported by the R consortium: Does anybody successfully use R on this architecture in a production environment?
Edit 1: RStudio Server seems to be running at least within docker (but there is no official support by RStudio):
A Guide to Enable RStudio on IBM Power System
Running RStudio Server on IBM/Power8
Edit 2: I have found this post at r-devel regarding a solved build failure.

Related

ArrayFire OpenCL Issue

I have installed ArrayFire 3.8.0 using the binary installer as per the instructions mentioned in the documentation. All dependencies were installed before installing it. NVIDIA CUDA Toolkit 11.3 is also installed. Installation was successful.
To test the installation, I have also build the examples as mentioned in the guide. There was no error during the build process. CPU & CUDA builds are running fine but OpenCL samples are not running. When I execute ./helloworld_opencl example, nothing happens on terminal. No process is shown in top & nvidia-smi.
Please guide me what could be the issue here. Clinfo command is running fine. I am on Ubuntu 20.04.
Thanks

can't install httpuv on AWS EC2 Ubuntu instance (for Shiny)

I'm following the many online tutorials for setting up a Shiny server using AWS. I created a free tier EC2 instance with Ubuntu 20.04 (64-bit), and I've installed R 3.6.3.
I can't install the httpuv package, which is a dependency of shiny. (Other packages, such as dplyr, work just fine.) This gist shows the output I see when I try to install httpuv; it's extremely long, and unfortunately the beginning of the output is cut off. Before terminating, it sat at line 1205 for hours with no movement.
I'm not the first user to encounter this problem. This RStudio community post from just a week ago looks like the same thing I'm experiencing. This SO question has some suspiciously similar warning messages, but in that case the user solved the problem by re-installing R. I have a brand-new R installation, so that solution doesn't help me. One of the comments mentions encountering problems with limited memory on AWS and suggests installing from source; I get the same output. I've also tried using a larger EC2 instance (30 GiB) and an older Ubuntu version (16.04); no difference.
This GitHub issue also involves httpuv, but the output seems to be different and the problem may have been specific to Raspberry Pi. The first post in this issue mentions that it takes a long time to install httpuv, but installation didn't actually fail.

mxnet packages with Rstudio on Virtual machine

I want to install r studio on virtual machine to work with mxnet package.
Here is how to configure Rstudio on microsoft azzure linux virtual machine:
http://moresi.de/posts/2016-04-02-setting-up-r-studio-server-on-microsoft-azure.html
And there is how to install mxnet packages for linux:
https://mxnet.incubator.apache.org/get_started/install.html
My question is: If I will install R-studio and Mxnet package following the step in this 2 tutorial will I be able to use mxnet package from R Studio workspace?
Another question is: It is possible to install all availible r packages in this configuration from R studio workspace?
I know that maybe this is a trivial question, but i am completly new to microsoft azzure, and spend a lot of time looking for an answer on web. Its seems that there wasn't any exemple of using mxnet packages with R on cloud.I would be very grateful even for some tips : )
Yes and no. Yes, you can run mxnet through Rstudio server, I currently do this on my AWS linux instance and login via the browser.
No, you cannot install everything from Rstudio and will have to ssh in and compile/install mxnet and a few other things. Unless you want the CPU mxnet instead of the GPU verion, that might be precompiled. The GPU installation process is a nightmare, I wouldn't recommend unless you have a moderate level of linux experience.

Compiling R package in parallel on multiple platforms

I am developing a new R package using Rcpp.
We reached the point were compile times become significantly long.
So I was wondering how to compile an R package in parallel.
We develop on Linux, OSX and Windows for max compatability and so far I was only able to answer my question for Linux (sudo MAKE="make -j8" R CMD INSTALL package).
Can some one tell me how to do the same thing on a Windows and OSX system?
thanks
Cedric

Compiling R packages for a memory-profiling configuration

Say I have two R installations. Same version but one built for Ubuntu Linux (locally) with memory profiling and the other without. Do I need to compile the installed packages for each separately?
Short answer is 'Nope' as packages are unaffected by this optional feature in the R engine.
If you have particular questions concerning R use on Debian and Ubuntu, come to the r-sig-debian list.

Resources