#问题如下, 谢谢帮忙了;
#参考:
https://gist.github.com/stephenturner/4a599dbf120f380d38e7
#想画出:Volcano plot
getwd()#check the workign directory;
[1] "C:/Program Files/RStudio"
> setwd("C:/N/R-3.1.1/bin/i386");#the R install path;
> getwd()[1] "C:/N/R-3.1.1/bin/i386"
> install.packages('devtools');
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/devtools_1.6.1.zip'Content type 'application/zip' length 284100 bytes (277 Kb)opened URLdownloaded 277 Kbpackage ‘devtools’ successfully unpacked and MD5 sums checkedThe downloaded binary packages are in C:\Users\suzh3\AppData\Local\Temp\RtmpM5LH46\downloaded_packages
> library(devtools);#为啥这次会出错;
WARNING: Rtools is required to build R packages, but is not currently installed.Please download and install Rtools 3.1 from
http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
> library(devtools);#这次就没有问题了, 怎么回事?
> devtools::install_github('stephenturner/Tmisc')#想装这个包,为啥不行?
Downloading github repo stephenturner/Tmisc@masterError in function (type, msg, asError = TRUE) : Could not resolve host: api.github.com; Host not found