首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

在R中静默执行install.packages中的download.file

在R中,静默执行install.packages()函数中的download.file参数是用于指定是否在安装包时显示下载进度条的选项。默认情况下,download.file参数的值为TRUE,即会显示下载进度条。

如果你想在安装包时不显示下载进度条,可以将download.file参数设置为FALSE。这样,安装包时将不会显示任何下载进度信息。

以下是install.packages()函数的完整参数列表:

代码语言:R
复制
install.packages(pkgs, lib, repos = getOption("repos"), contriburl = contrib.url(repos, type),
                 method, available = NULL, destdir = NULL, dependencies = NA,
                 type = getOption("pkgType"), configure.args = getOption("configure.args"),
                 configure.vars = getOption("configure.vars"), clean = FALSE,
                 Ncpus = getOption("Ncpus", 1L), verbose = getOption("verbose"),
                 libs_only = FALSE, INSTALL_opts, quiet = FALSE, keep_outputs = FALSE,
                 ...)

在上述参数中,并没有直接提到download.file参数,因为它是install.packages()函数内部使用的参数。

页面内容是否对你有帮助?
有帮助
没帮助

相关·内容

领券