是否可以在 R 中强制安装包?
> install.packages("gsubfn")
Installing package(s) into ‘/home/sebastian/R/x86_64-unknown-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘gsubfn’ is not available (for R version 2.14.2)
在这种情况下,包需要 R >= 2.15 而我只有 R 2.14.2 。想知道我是否可以强制安装。