The R Project SVN R

Rev

Rev 59039 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 59144
Line 8... Line 8...
8
\alias{setInternet2}
8
\alias{setInternet2}
9
\title{
9
\title{
10
Set or disable the use of Internet Explorer for Internet access.
10
Set or disable the use of Internet Explorer for Internet access.
11
}
11
}
12
\description{
12
\description{
13
With the \option{--internet2} startup option, or by calling this function, R
13
  With the \option{--internet2} startup option, or \emph{via}
-
 
14
  environment variable \env{R_WIN_INTERNET2} or by calling this
14
will make use of the \file{internet2.dll} library for Internet 
15
  function, R will make use of the \file{internet2.dll} library for
15
access, which makes use of Internet Explorer functions.  This allows specification
16
  Internet access, which makes use of Internet Explorer functions.  This
-
 
17
  allows specification of proxies, etc., in the \dQuote{Internet
16
of proxies, etc., in the \dQuote{Internet Options} applet in \dQuote{Control Panel}.
18
    Options} applet in \dQuote{Control Panel}.
17
}
19
}
18
\usage{
20
\usage{
19
setInternet2(use = TRUE)
21
setInternet2(use = TRUE)
20
}
22
}
21
\arguments{
23
\arguments{
Line 25... Line 27...
25
}
27
}
26
\value{
28
\value{
27
The previous setting is returned, invisibly if \code{use} is not \code{NA}.
29
The previous setting is returned, invisibly if \code{use} is not \code{NA}.
28
}
30
}
29
\details{
31
\details{
30
R does not load either \file{internet.dll} or \file{internet2.dll} until needed,
32
  R does not load either \file{internet.dll} or \file{internet2.dll}
31
so it is certainly safe to call this function before making any calls that access
33
  until needed, so it is certainly safe to call this function before
-
 
34
  making any calls that access the Internet
32
the Internet (e.g. \code{\link{download.file}}).  If one of the DLLs has already
35
  (e.g. \code{\link{download.file}}).  If one of the DLLs has already
33
been loaded, this function will switch to the other one without unloading the first
36
  been loaded, this function will switch to the other one without
34
one, so there is a potential resource leak.
37
  unloading the first one, so there is a potential resource leak.
35
}
38
}
36
\author{
39
\author{
37
Duncan Murdoch
40
Duncan Murdoch
38
}
41
}
39
\seealso{
42
\seealso{