Error in setInternet2 (TRUE): use! = NA does not work

Since I upgraded to version R of version 3.3.1, when I try to exit R with q (), I get the following message: "Error in setInternet2 (TRUE): use! = NA is nonexistent"

This happens at every exit.

I have not used setInternet2 and it is not in .Rprofile or .Rprofile.site. I do not have a .Renviron.site file.

I checked that I had the correct settings files using:

file.path(getwd(),".Rprofile") file.path(getwd(),".Rprofile.Site") file.path(getwd(),".Renviron.site") 

I am using R version 3.3.1 (2016-06-21) and Windows 7 x64 Service Pack 1 (SP1)

+7
r
source share
1 answer

I know this later, but for the record:

This happened because

since R 3.3.0, setInternet2 is no longer functioning. Using setInternet2 should be replaced with the argument method = "wininet" for the url and download.file functions

So it doesn’t look like something else has changed or added just before it would not have caused such a message.

To know what this comes from, it may not be so simple, it may also be that you installed it in the past and saved your workspace and never cleaned up your workspace completely.

0
source share

All Articles