Names of R's available packages

前端 未结 4 1103
抹茶落季
抹茶落季 2020-12-05 19:06

I\'m eager to know,

  • how many package names on CRAN have two, three, N characters?
  • which combinations have not yet been used (\"unpoppler\")
  • h
4条回答
  •  忘掉有多难
    2020-12-05 19:20

    Make a vector of all the packages using

    myList <- available.packages()[,'Package']
    

    Then you can analyze however you want. For example, a list of packages with just two character names

    myList[grep('^..$', myList)]
    

提交回复
热议问题