Rev 59040 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/utils/man/windows/setInternet2.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2011 R Core Team% Distributed under GPL 2 or later\name{setInternet2}\Rdversion{1.1}\alias{setInternet2}\title{Set or disable the use of Internet Explorer for Internet access.}\description{With the \option{--internet2} startup option, or \emph{via}environment variable \env{R_WIN_INTERNET2} or by calling thisfunction, R will make use of the \file{internet2.dll} library forInternet access, which makes use of Internet Explorer functions. Thisallows specification of proxies, etc., in the \dQuote{InternetOptions} applet in \dQuote{Control Panel}.}\usage{setInternet2(use = TRUE)}\arguments{\item{use}{Whether to use \file{internet2.dll}. If \code{NA}, justreturn the current setting.}}\value{The previous setting is returned, invisibly if \code{use} is not \code{NA}.}\details{R does not load either \file{internet.dll} or \file{internet2.dll}until needed, so it is certainly safe to call this function beforemaking any calls that access the Internet(e.g. \code{\link{download.file}}). If one of the DLLs has alreadybeen loaded, this function will switch to the other one withoutunloading the first one, so there is a potential resource leak.}\author{Duncan Murdoch}\seealso{\code{\link{download.file}}, \code{\link{url}}}\examples{setInternet2(NA)}\keyword{ utilities }