R - Shiny - Where can we find the .tar.gz file of the master version of DT package?

喜夏-厌秋 提交于 2019-12-12 18:26:35

问题


I need to install the version 0.1.40 of the DT package (https://github.com/rstudio/DT) on a Linux server which is not connected to internet. Thus I can't use the statement devtools::install_github('rstudio/DT').

Thus I need to get the DT_0.1.40.tar.gz file to install this development version of DT.

Where can I find the tar.gz file of the version 0.1.40 of DT ?

Thanks.


回答1:


If you are fine with the version on CRAN, you can go to DT's page on CRAN to download the package tarball. There is a link beside the text "Package source:". Here's the link for linux.

However, it looks like you want the development version that is currently not the version found on CRAN. You can actually download the source from github as a tarball using this link:

https://github.com/rstudio/DT/archive/master.tar.gz

then just transfer it to your linux box and install the package from source.

install.packages("/path/to/master.tar.gz", repos = NULL, type = "source")


来源:https://stackoverflow.com/questions/34140704/r-shiny-where-can-we-find-the-tar-gz-file-of-the-master-version-of-dt-packa

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!