Hi, I’ve been struggling to get working with R inside the AD workbench desktops.
I tried both Windows and Linux, with different issues…
On Linux, I ran the setup script, however Jupyter only lists Python3 as an available kernel.
R isn’t listed. I tried to re-run the setup script but it gets stuck because some files are already installed.
On Windows, installed Anaconda and R. Everything looks good. Then when I’m in Jupyter, I load the starter notebook, it shows the R kernel as connected, but can’t get any code to actually run.
As you might have noticed already, internet access is restricted in the workspace. You can find the list of allowed domains at https://portal.addi.ad-datainitiative.org/security. We will work with AD workbench team to get the repositories whitelisted in the meantime.
Cran mirrors are whitelisted, but it appears that when working from the Jupyter Notebook explicitly specifying a mirror is needed, as example from above: install.packages('caret', repos='http://cran.ma.imperial.ac.uk/')
There are also 4 mirrors that are allowed: www.stats.bris.ac.uk cran.ma.imperial.ac.uk cran.cnr.berkeley.edu mran.microsoft.com
Hi, thanks for your suggestions. I can now install and load R packages.
There are other issues I’m facing with the R starter notebook.
In the Setup AIcrowd Utilities section, I’m getting a Warning Message.
I’d love to show a screenshot, but fyi, can’t login into discourse in the Windows desktop. (only browse)
running command ‘curl -sL … > aicrowd.R’ had status 6
I went to the url and loaded manually the three functions.
However, when I try to submit, it says:
"Error in system(paste (“aicrowd login --api-key”, api_key), intern = TRUE): ‘aicrowd’ not found
Unfortunately, internet explorer is not fully supported. However, one workaround is to download the installer locally on your machine and copy it to the VM. In case you want to install chrome, you need to download the standalone version of the chrome installer (https://www.google.com/intl/en/chrome/?standalone=1)
We are seeing many participants facing issue with the internet connection on Windows VM. This issue is probably because of not setting up of proxy by default. There are 2 ways to potentially resolve this issue,
Reboot your system. Once your VM boots, you will notice a command prompt window. Please let it finish and do not close it.
Set up proxy manually by typing these commands on the Anaconda prompt,
set HTTP_PROXY=http://10.0.0.5:3128
set HTTPS_PROXY=http://10.0.0.5:3128
set NO_PROXY=localhost,127.0.0.1
jupyter-notebook
Hi,
I followed the instructions shared by @michael_bordeleau, and the first lines of code seem to work (no warning nor error). I managed to download aicrowd.R file.
I can’t reach CRAN url to download a library, but I can load already installed ones, load the datasets and made some explorations.
But I got an error when I tried to linked with my Aicrowd account.
aicrowd_login(AICROWD_API_KEY)
running command … had status 1
I copy-paste directly from my aicrowd page, so I don’t think I made an error. Do you know what could be the problem?