How do I install an R package from source?

后端 未结 6 719
半阙折子戏
半阙折子戏 2020-11-22 01:46

A friend sent me along this great tutorial on webscraping NYtimes with R. I would really love to try it. However, the first step is to installed a package called RJSONIO fro

6条回答
  •  梦毁少年i
    2020-11-22 02:12

    From cran, you can install directly from a github repository address. So if you want the package at https://github.com/twitter/AnomalyDetection:

    library(devtools)
    install_github("twitter/AnomalyDetection")
    

    does the trick.

提交回复
热议问题