How can I diagnose "cannot create socket"?

Suddenly, RStudio gives me this error when I enter a string in the help search field:

starting httpd help server ...Error in tools::startDynamicHelp() : unable to create socket

I get the same error when I enter the following on the console:

> ?grep

I updated the current version of RStudio and ran the current version of R. I tried the same command in R itself, and there were no problems.

Perhaps by accident, when I try to get RStudio to update packages, I get this message:

Warning: unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.1
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.1

Here is what RStudio offers in the diagnostic report file:

July 19, 2014 17:13:51 [rsession-John Smith] ERROR r 4 error (R code execution error) [errormsg = Error in the tools :: startDynamicHelp (): cannot create socket |||]; OCCURRED AT: core :: Error r :: exec :: evaluate ExpressionsUnsafe (SEXPREC *, SEXPREC *, SEXPREC **, r :: sexp :: Protect *) C: \ Users \ Administrator \ rstudio \ src \ cpp \ r \ RExec .cpp: 145; LANGUAGE FROM: core :: Session error :: modules :: help :: initialize () C: \ Users \ Administrator \ rstudio \ src \ cpp \ session \ modules \ SessionHelp.cpp: 894

I have UNINSTALLED R and RStudio and then re-installed and the problem persists. Now when I start RStudio, I get:

Error in tools::startDynamicHelp() : unable to create socket
+4
source share
1 answer

, - - - , . , 64- R ( RStudio), 32- ! , :  Chose the 32-bit version of R

32- ! RStudio , , !

+3

All Articles