rcranxtable

Manually installing CRAN to access xtable library


I tried installing CRAN into R using

install.packages("cran")

The code would run but in the console the following message would appear

  package ‘cran’ is not available for this version of R

How can I install cran on my version of R?


Solution

  • CRAN is a repo not package, have you tried this:

    install.packages("xtable",repos = "http://cran.us.r-project.org")