Behnoosh Zamanlooy
2019-Feb-19 14:40 UTC
[R-sig-Debian] Fwd: Running R from terminal in ubuntu 16.04 gives Fatal Error message
I removed my r-base package and installed it through the guide in Cran mirror but I am still getting the same error. Here is the output to the command above: r-base-core: Installed: 3.4.4-1xenial0 Candidate: 3.4.4-1xenial0 Version table: *** 3.4.4-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 100 /var/lib/dpkg/status 3.4.3-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.4.2-2xenial2 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.4.2-1xenial1 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.4.1-2xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.4.1-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.4.0-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.3.3-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.3.2-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.3.1-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.3.0-2xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.3.0-1xenial0 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.2.5-1xenial 500 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages 3.2.3-4 500 500 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages On Fri, Feb 15, 2019 at 4:32 PM Dirk Eddelbuettel <edd at debian.org> wrote:> > On 15 February 2019 at 16:17, Behnoosh Zamanlooy wrote: > | I just installed R 3.4.4 and Rstudio on my computer with the OS Ubuntu > | 16.04. Rstudio detects the Installation of R and works normally. > > That would mean R works. RStudio "just" calls the R on your system. > > | However, trying to run R in the terminal I get this error: > | > | *Fatal error: unable to open the base package* > > This is in conflict with the statement above. > > | I have trying setting the R_HOME using: > | > | *export R_HOME=/usr/lib/R* > | > | However it did not work. Any idea how to resolve this? > > We need to know more about your installation ... > > | Ps. I have used r-bloggers > | <https://www.r-bloggers.com/how-to-install-r-ubuntu-16-04-xenial/>, the > | "Add R Repository" version to install R. > > ... and I am not familiar with that article. We generally recommend to > follow > the README at CRAN and its mirrors: > https://cloud.r-project.org/bin/linux/ubuntu/README.html > > | Any help would be much appreciated. > > Start with showing us the output from the of > > apt-cache policy r-base-core > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org >[[alternative HTML version deleted]]
Dirk Eddelbuettel
2019-Feb-19 16:01 UTC
[R-sig-Debian] Fwd: Running R from terminal in ubuntu 16.04 gives Fatal Error message
On 19 February 2019 at 09:40, Behnoosh Zamanlooy wrote: | I removed my r-base package and installed it through the guide in Cran | mirror but I am still getting the same error. Here is the output to the | command above: | r-base-core: | Installed: 3.4.4-1xenial0 | Candidate: 3.4.4-1xenial0 | Version table: | *** 3.4.4-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 100 /var/lib/dpkg/status That looks fine and legit (assuming iu.edu is indeed a network-close mirror to you, and in good shape). What do which R # or 'type -p R' if which fails for some reason R --version say ? Dirk | 3.4.3-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.4.2-2xenial2 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.4.2-1xenial1 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.4.1-2xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.4.1-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.4.0-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.3.3-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.3.2-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.3.1-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.3.0-2xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.3.0-1xenial0 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.2.5-1xenial 500 | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ Packages | 3.2.3-4 500 | 500 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 | Packages | | | | | On Fri, Feb 15, 2019 at 4:32 PM Dirk Eddelbuettel <edd at debian.org> wrote: | | > | > On 15 February 2019 at 16:17, Behnoosh Zamanlooy wrote: | > | I just installed R 3.4.4 and Rstudio on my computer with the OS Ubuntu | > | 16.04. Rstudio detects the Installation of R and works normally. | > | > That would mean R works. RStudio "just" calls the R on your system. | > | > | However, trying to run R in the terminal I get this error: | > | | > | *Fatal error: unable to open the base package* | > | > This is in conflict with the statement above. | > | > | I have trying setting the R_HOME using: | > | | > | *export R_HOME=/usr/lib/R* | > | | > | However it did not work. Any idea how to resolve this? | > | > We need to know more about your installation ... | > | > | Ps. I have used r-bloggers | > | <https://www.r-bloggers.com/how-to-install-r-ubuntu-16-04-xenial/>, the | > | "Add R Repository" version to install R. | > | > ... and I am not familiar with that article. We generally recommend to | > follow | > the README at CRAN and its mirrors: | > https://cloud.r-project.org/bin/linux/ubuntu/README.html | > | > | Any help would be much appreciated. | > | > Start with showing us the output from the of | > | > apt-cache policy r-base-core | > | > Dirk | > | > -- | > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org | > -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Behnoosh Zamanlooy
2019-Feb-19 19:12 UTC
[R-sig-Debian] Fwd: Running R from terminal in ubuntu 16.04 gives Fatal Error message
Th output to which R : /home/bzamanlooy/anaconda3/bin/R The output to R --version: R version 3.4.3 (2017-11-30) -- "Kite-Eating Tree" Copyright (C) 2017 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under the terms of the GNU General Public License versions 2 or 3. For more information about these matters see http://www.gnu.org/licenses/. Do these look okay? On Tue, Feb 19, 2019 at 11:01 AM Dirk Eddelbuettel <edd at debian.org> wrote:> > On 19 February 2019 at 09:40, Behnoosh Zamanlooy wrote: > | I removed my r-base package and installed it through the guide in Cran > | mirror but I am still getting the same error. Here is the output to the > | command above: > | r-base-core: > | Installed: 3.4.4-1xenial0 > | Candidate: 3.4.4-1xenial0 > | Version table: > | *** 3.4.4-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 100 /var/lib/dpkg/status > > That looks fine and legit (assuming iu.edu is indeed a network-close > mirror > to you, and in good shape). > > What do > > which R # or 'type -p R' if which fails for some reason > R --version > > say ? > > Dirk > > | 3.4.3-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.4.2-2xenial2 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.4.2-1xenial1 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.4.1-2xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.4.1-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.4.0-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.3.3-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.3.2-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.3.1-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.3.0-2xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.3.0-1xenial0 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.2.5-1xenial 500 > | 500 https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/ > Packages > | 3.2.3-4 500 > | 500 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 > | Packages > | > | > | > | > | On Fri, Feb 15, 2019 at 4:32 PM Dirk Eddelbuettel <edd at debian.org> > wrote: > | > | > > | > On 15 February 2019 at 16:17, Behnoosh Zamanlooy wrote: > | > | I just installed R 3.4.4 and Rstudio on my computer with the OS > Ubuntu > | > | 16.04. Rstudio detects the Installation of R and works normally. > | > > | > That would mean R works. RStudio "just" calls the R on your system. > | > > | > | However, trying to run R in the terminal I get this error: > | > | > | > | *Fatal error: unable to open the base package* > | > > | > This is in conflict with the statement above. > | > > | > | I have trying setting the R_HOME using: > | > | > | > | *export R_HOME=/usr/lib/R* > | > | > | > | However it did not work. Any idea how to resolve this? > | > > | > We need to know more about your installation ... > | > > | > | Ps. I have used r-bloggers > | > | <https://www.r-bloggers.com/how-to-install-r-ubuntu-16-04-xenial/>, > the > | > | "Add R Repository" version to install R. > | > > | > ... and I am not familiar with that article. We generally recommend to > | > follow > | > the README at CRAN and its mirrors: > | > https://cloud.r-project.org/bin/linux/ubuntu/README.html > | > > | > | Any help would be much appreciated. > | > > | > Start with showing us the output from the of > | > > | > apt-cache policy r-base-core > | > > | > Dirk > | > > | > -- > | > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org > | > > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org >[[alternative HTML version deleted]]
Reasonably Related Threads
- Fwd: Running R from terminal in ubuntu 16.04 gives Fatal Error message
- Fwd: Running R from terminal in ubuntu 16.04 gives Fatal Error message
- Fwd: Running R from terminal in ubuntu 16.04 gives Fatal Error message
- Badness in local_bh_enable at kernel/softirq.c:140
- yum segfault - rpmforge problem?