Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List all packages available on CRAN to console [duplicate]

Tags:

r

Would like to get a list of all packages available on CRAN to the windows console. I know that it's gotta be pretty easy because on the windows gui there's an manu option to click install, at which time another menu interface pops up with all packages available on CRAN. If the menu were a function (which it probably is I just don't know what it is) I'd look at the code and figure out how they get that list.

So what you see here: (packages alphabetical LINK) I'd like to get to the console so I can assign it to an object.

like image 553
Tyler Rinker Avatar asked May 17 '12 15:05

Tyler Rinker


People also ask

How do I get a list of packages in R?

To see what packages are installed, use the installed. packages() command. This will return a matrix with a row for each package that has been installed. Below, we look at the first 5 rows of this matrix.

How many CRAN packages are there?

Currently, the CRAN package repository features 18787 available packages. CRAN Task Views aim to provide some guidance which packages on CRAN are relevant for tasks related to a certain topic. They provide tools to automatically install all packages from each view.

How do I see all package functions in R?

We can find the functions inside a package by using lsf.

How many R packages are there on CRAN?

R is the lingua franca of Data Science that comprises of a massive repository of packages. These packages appeal to various fields that make use of R for their data purposes. There are 10,000 packages in CRAN, making it an ocean of quintessential statistical functions.


1 Answers

?available.packages did not appear in the results of your search? You did search before asking, didn't you? ;-)

like image 60
Joshua Ulrich Avatar answered Oct 20 '22 16:10

Joshua Ulrich