Search code examples
rinstallationgooglevis

Unable to install package googleVis with R 3.0.1


I need to install googleVis. I am using R version 3.0.1.

However on trying to install the package I get the below error :

> install.packages("googleVis")
Installing package into ‘/home/akash/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning message:
package ‘googleVis’ is not available (for R version 3.0.1) 
> 

I get the same error from Rstudio also.

R version info :

akash@akash:~$ R

R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

Kindly Help.


Solution

  • As @akrun said, you need to update your r version to 3.1.2. It seems like you're on Ubuntu, if yes, then you could run the below commands on terminal to update your r package.

    sudo apt-get update
    sudo apt-get install r-base
    

    Then try to install googleVis r package by running install.packages("googleVis") command on r prompt.