Hi
I'm new to the board. Has anyone tried to install Rstudio onto the Nivida Jetson AGX Xavier? I'm working thought the older posts for arm64 but its not been working so far. This install is on Ubuntu 18.04.
Thanks in advance,
Jessica
Hi
I'm new to the board. Has anyone tried to install Rstudio onto the Nivida Jetson AGX Xavier? I'm working thought the older posts for arm64 but its not been working so far. This install is on Ubuntu 18.04.
Thanks in advance,
Jessica
What happens when you try to install and run RStudio?
As a place to get started, we have a trouble shooting guide here,
#### System Information:
- RStudio Edition: (Desktop or Server)
- RStudio Version:
- OS Version:
- R Version:
#### Also:
<!-- Depending on your issue, the following may be useful /-->
<!-- If a section isn't relevant or you can't collect it just delete that section below /-->
- RStudio diagnostics report: <!--see rstd.io/support-diagnostics-report /-->
- Your `sessionInfo()`:
- RStudio crash report: <!-- rstd.io/support-crash-report /-->
- RStudio application log files: <!-- rstd.io/support-ide-log-files /-->
I think Ubuntu doesn't officially support that particular SBC (I might be wrong) so there might be some missing system dependencies that you need to install on your own. Can you give more details about how you are installing the software and what specific problem you are having?. Console output with the actual error messages would useful.
Hi Andres,
I want to install edgyR
because the other option did not work
"Ubuntu Packages For R - Full Instructions"
Code for edgyR
Running an `edgyR` Container • edgyR
In this sense i use the following lines:
nvidia@nvidia-desktop:~ mkdir --parents ~/Projects
nvidia@nvidia-desktop:~ cd ~/Projects
nvidia@nvidia-desktop:~/Projects$ git clone GitHub - znmeb/edgyR: R on the Edge: NVIDIAⓇ Jetson™ tools for R developers
fatal: destination path 'edgyR' already exists and is not an empty directory.
nvidia@nvidia-desktop:~/Projects$ cd edgyR/container-run-scripts
nvidia@nvidia-desktop:~/Projects/edgyR/container-run-scripts$
nvidia@nvidia-desktop:~/Projects/edgyR/container-run-scripts$ ./pull-image
[sudo] password for nvidia:
Error response from daemon: pull access denied for znmeb/edgyr-ml, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
Acording to the installation guide I must:
edgyr
account in the container. For security reasons, the container will exit if you do not do this. The new password must be at least 12 characters long. Set the new password in the environment variable EDGYR_PASSWORD
. For example:export EDGYR_PASSWORD="12.angry%characters"
and I get :
nvidia@nvidia-desktop:~/Projects/edgyR/container-run-scripts$ sudo export EDGYR_PASSWORD="Tiz.6.bov.vyh"
sudo: export: command not found
I dont know how to solve this issue.
Is it possible to install R 4.1 and RStudio in aarch64 architecture in jetson AGX Xav with Ubuntu 18.04?
Thank you so much
I don't have experience running RStudio from containers so I can't help you with edgyR
. Maybe I could help with your problems installing natively if you told us what they are.
I don't have a Jetson SBC so I can't tell for sure but it should be possible. You can compile R pretty much everywhere so that is not an issue and since there are precompiled arm64 binaries of the RStudio IDE for Ubuntu 18, installation should be seamless. Can you specify what problems you have with this approach?
Hi Andres,
Finally I was able to install R-base 4.1.0 from source (ubuntu 18.04). Now I want to install Rstudio, due that I have aarch64 or arm64 architecture I am using this option i found in dailies.rstudio.com
https://s3.amazonaws.com/rstudio-ide-build/electron/bionic/arm64/rstudio-2022.12.0-352-arm64.deb
So I proceed as follow:
--2023-01-12 14:16:17-- https://s3.amazonaws.com/rstudio-ide-build/electron/bionic/arm64/rstudio-2022.12.0-354-arm64.deb
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.217.91.6, 54.231.170.96, 52.217.49.190, ...
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.217.91.6|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 82533434 (79M) [application/x-debian-package]
Saving to: ‘rstudio-2022.12.0-354-arm64.deb’
rstudio-2022.12.0-354-a 100%[==============================>] 78,71M 558KB/s in 2m 13s
2023-01-12 14:18:31 (605 KB/s) - ‘rstudio-2022.12.0-354-arm64.deb’ saved [82533434/82533434]
#nvidia@nvidia-desktop:~$ sudo apt install ./rstudio-2022.12.0-354-arm64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'rstudio' instead of './rstudio-2022.12.0-354-arm64.deb'
Suggested packages:
r-base
The following NEW packages will be installed:
rstudio
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/82,5 MB of archives.
After this operation, 409 MB of additional disk space will be used.
Get:1 /home/nvidia/rstudio-2022.12.0-354-arm64.deb rstudio arm64 2022.12.0+354 [82,5 MB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package rstudio.
(Reading database ... 258956 files and directories currently installed.)
Preparing to unpack .../rstudio-2022.12.0-354-arm64.deb ...
Unpacking rstudio (2022.12.0+354) ...
Setting up rstudio (2022.12.0+354) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
When I launch Rstudio I get this error.
/usr/lib/rstudio/resources/app/bin/rsession: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
I am having a look to this post you replied error while loading shared libraries: libR.so
But is not so clear for me if I must to compile again R-base to fix this issue.
Thank you in advance
You have not compiled R with the --enable-R-shlib
option. You can use these commands to compile R with the required options and system dependencies.
sudo su
# Set the R version to install
R_VERSION=4.2.2
apt install -y g++ gcc gfortran libreadline-dev libx11-dev libxt-dev \
libpng-dev libjpeg-dev libcairo2-dev xvfb \
libbz2-dev libzstd-dev liblzma-dev libtiff5 \
libssh-dev libgit2-dev libcurl4-openssl-dev \
libblas-dev liblapack-dev libopenblas-base \
zlib1g-dev openjdk-11-jdk \
texinfo texlive texlive-fonts-extra \
screen wget libpcre2-dev make cmake
cd /usr/local/src
wget https://cran.rstudio.com/src/base/R-${R_VERSION:0:1}/R-$R_VERSION.tar.gz
tar zxvf R-$R_VERSION.tar.gz
cd R-$R_VERSION
./configure --enable-R-shlib --with-blas --with-lapack #BLAS and LAPACK are optional
make
make install
cd ..
rm -rf R-$R_VERSION*
exit
Hi Andres,
Thank you for the commands. Unfortunately when I run " apt install.." I get an error:
"The following packages have unmet dependencies:
libgit2-dev : Depends: libcurl4-gnutls-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages"
Here all the command
#nvidia@nvidia-desktop:~$ sudo su
#root@nvidia-desktop:/home/nvidia# R_VERSION=4.2.2
#root@nvidia-desktop:/home/nvidia# apt install -y g++ gcc gfortran libreadline-dev libx11-dev libxt-dev \
libpng-dev libjpeg-dev libcairo2-dev xvfb \ libbz2-dev libzstd-dev liblzma-dev libtiff5 \ libssh-dev libgit2-dev libcurl4-openssl-dev \ libblas-dev liblapack-dev libopenblas-base \ zlib1g-dev openjdk-11-jdk \ texinfo texlive texlive-fonts-extra \ screen wget libpcre2-dev make cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
libblas-dev is already the newest version (3.7.1-4ubuntu1).
libjpeg-dev is already the newest version (8c-2ubuntu8).
liblapack-dev is already the newest version (3.7.1-4ubuntu1).
libreadline-dev is already the newest version (7.0-3).
libxt-dev is already the newest version (1:1.1.5-1).
make is already the newest version (4.1-9.1ubuntu1).
make set to manually installed.
libopenblas-base is already the newest version (0.2.20+ds-4).
libopenblas-base set to manually installed.
libpcre2-dev is already the newest version (10.31-2).
texinfo is already the newest version (6.5.0.dfsg.1-2).
texlive-fonts-extra is already the newest version (2017.20180305-2).
g++ is already the newest version (4:7.4.0-1ubuntu2.3).
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
gfortran is already the newest version (4:7.4.0-1ubuntu2.3).
libbz2-dev is already the newest version (1.0.6-8.1ubuntu0.2).
libcairo2-dev is already the newest version (1.15.10-2ubuntu0.1).
libcurl4-openssl-dev is already the newest version (7.58.0-2ubuntu3.22).
liblzma-dev is already the newest version (5.2.2-1.3ubuntu0.1).
libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2).
libtiff5 is already the newest version (4.0.9-5ubuntu0.9).
libtiff5 set to manually installed.
libx11-dev is already the newest version (2:1.6.4-3ubuntu0.4).
openjdk-11-jdk is already the newest version (11.0.17+8-1ubuntu2~18.04).
openjdk-11-jdk set to manually installed.
wget is already the newest version (1.19.4-1ubuntu2.2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2.2).
xvfb is already the newest version (2:1.19.6-1ubuntu4.13).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgit2-dev : Depends: libcurl4-gnutls-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages
When I compiled R 4.1.0 this error did not appear. What do you think about it?
Thank you so much
That system dependency is not available from the standard repositories for your Ubuntu version, you would need to look for a an arm64 deb repository that has that package or install it yourself from another alternative source.
Nevertheless, I think that system dependency is not required to compile R itself but some R packages so I think you could try simply ignoring it.
If you want to install R 4.1.0, simply change the version here
As I said, I think that system dependency is not needed to compile R but some R packages. If you don't have it installed and you don't need any of the packages that depend on it, then you are good to go.
If possible for you, I would recommend updating your Ubuntu version since Ubuntu 18 is not going to be a supported version for long, it is approaching "end of life" very soon.
I updated the ubuntu version, and now the issue is solved.
Thank you so much!
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.