similar to: Error in socketConnection(master, port = port, blocking = TRUE, open = "a+b", : cannot open the connection

Displaying 20 results from an estimated 700 matches similar to: "Error in socketConnection(master, port = port, blocking = TRUE, open = "a+b", : cannot open the connection"

2013 Oct 03
1
Problem with makePSOCKcluster R3.0.1
Hello, I am using function makePSOCKcluster to make parallel computation on 3 EC2 Amazon machines. I have a passwordless between machines and ssh is correct. In the R 2.15.1 release this function works correctly. Installing R 3.0.1 on my EC2 machines makePSOCKcluster does not produce the cluster. If I run the function with outfile="" option, I obtain this message Error in
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
BACKGROUND: While troubleshooting random, occasionally occurring, errors from parallel::makePSOCKcluster("localhost", port = 11000); Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE, : cannot open the connection I had another look at parallel:::newPSOCKnode(), which is used internally to set up each background worker. It is designed to,
2018 Mar 09
2
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
A solution is to have parallel:::.slaveRSOCK() attempt to connect multiple times before failing, e.g. makeSOCKmaster <- function(master, port, timeout, useXDR, maxTries = 10L, interval = 1.0) { port <- as.integer(port) for (i in seq_len(maxTries)) { con <- tryCatch({ socketConnection(master, port = port, blocking = TRUE,
2018 Mar 10
1
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
Great. For the record of this thread, I've submitted patch PR17391 (https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17391). I've patched it against the latest R-devel on the SVN, passes 'make check-all', and I've verified it works with the above tests. /Henrik On Fri, Mar 9, 2018 at 4:37 AM, <luke-tierney at uiowa.edu> wrote: > I'm happy to look at a
2019 Mar 18
2
SUGGESTION: Proposal to mitigate problem with stray processes left behind by parallel::makeCluster()
(Bcc: CRAN) This is a proposal helping CRAN and alike as well as individual developers to avoid stray R processes being left behind that might be produced when an example or a package test fails to set up a parallel::makeCluster(). ISSUE If a package test sets up a PSOCK cluster and then the master process dies for one reason or the other, the PSOCK worker processes will remain running for 30
2013 Oct 09
2
Error while running MR using rmr2
Hi, I have trying to run a simple MR program using rmr2 in a single node Hadoop cluster. Here is the environment for the setup Ubuntu 12.04 (32 bit) R (Ubuntu comes with 2.14.1, so updated to 3.0.2) Installed the latest rmr2 and rhdfs from here<https://github.com/RevolutionAnalytics/RHadoop/wiki/Downloads>and the corresponding dependencies Hadoop 1.2.1 Now I am trying to run a simple MR
2018 Feb 23
1
Bug in installing rgdal
*@* *BLAS: /usr/lib/libblas/libblas.so.3.6.0LAPACK: /usr/lib/lapack/liblapack.so.3.6.0locale: [1] LC_CTYPE=en_IN.UTF-8 LC_NUMERIC=C LC_TIME=en_IN.UTF-8 [4] LC_COLLATE=en_IN.UTF-8 LC_MONETARY=en_IN.UTF-8 LC_MESSAGES=en_IN.UTF-8 [7] LC_PAPER=en_IN.UTF-8 LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=en_IN.UTF-8
2023 Jun 08
1
Cryptic error from stargazer
Dear All, Here is my reproducible example: > library(stargazer) Please cite as: Hlavac, Marek (2018). stargazer: Well-Formatted Regression and Summary Statistics Tables. R package version 5.2.2. https://CRAN.R-project.org/package=stargazer > x1=1:1000 ; y = 2 * x1+ rnorm(1000) > stargazer(lm(y~x1)) Error in (.format.s.statistics.list != "p25") &&
2023 Jun 08
1
Cryptic error from stargazer
Dear All, I had done an automatic upgrade of my Debian 10 system which had also upgraded R. I reinstalled the stargazer package and the error went away. Query : Do I need to reinstall all packages with each upgrade of R ? Best, Ashim On Thu, Jun 8, 2023 at 11:11?AM Ashim Kapoor <ashimkapoor at gmail.com> wrote: > > Dear All, > > Here is my reproducible example: > >
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
I just noticed that parallel:::.slaveRSOCK() passes 'timeout' to socketConnection() as a character, i.e. there's a missing timeout <- as.integer(timeout), cf. port <- as.integer(port) and useXDR <- as.logical(value): > parallel:::.slaveRSOCK function () { makeSOCKmaster <- function(master, port, timeout, useXDR) { port <- as.integer(port) con
2009 Jun 10
1
Unable to load package:lme4 [ Ubuntu 9.04 ]
Hi folks, When I try to load package 'lme4' on my Linux box (64-bit Ubuntu 9.04), I get the following error: ------------------------------------- > library(lme4) Error in dyn.load(file, DLLpath = DLLpath, ...) : function 'cholmod_start' not provided by package 'Matrix' Error: package/namespace load failed for 'lme4' ------------------------------------ I
2023 Jun 08
1
Cryptic error from stargazer
On Thu, 08 Jun 2023, Ashim Kapoor writes: > Dear All, > > I had done an automatic upgrade of my Debian 10 system which had also > upgraded R. > > I reinstalled the stargazer package and the error went away. > > Query : Do I need to reinstall all packages with each upgrade of R ? > > Best, > Ashim Your session info says "stargazer 5.2.2". What version
2010 Sep 28
2
Use R in Visual Basic Environment
I need your kind help regarding the following: I wish to know is there any way to use R in Visual Basic environment. I want to develop a VB application where R can be embedded (R will work as a back end statistical engine). If available, please provide me some source of study materials/articles available on the internet related to this. -- Thanks & Regards, Soumen Pal [[alternative HTML
2006 Jun 06
2
Language 'en_IN' was not recognized, defaulting to 'en_US'.
hey friends, I am using wine 0.9.12 on centos 4.0 kernel version is 2.6.9-34.0.1.EL. Whenever I try to run any application through wine I get the below warning and the application does not run. Langauge settings before were Indian English but later on I changed it to US_English but still I am getting the below error. Warning: Language 'en_IN' was not recognized, defaulting to
2018 Mar 09
0
parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)
I'm happy to look at a patch that does this. I'd start with a small interval and increase it by 50%, say, on each try wit a max retry time limit. This isn't eliminating the problem,only reducing the probability, but still worth it. I had considered doing something like this but it didn't seem necessary at the time. You don't want to retry indefinitely since the connection
2010 Sep 04
2
Query regarding Windows based statistical software development using R as programming language
Hi, I am a beginner in R. I have a query as below: Is it possible to develop a Windows based statistical software (user-friendly) like SPSS using R as a programming language? Otherwise, is it possible to use R code directly (no command-line execution) in Windows based programming language such as Visual Basic? Please help me, if possible, with some link to study materials related to such topic.
2003 Feb 07
1
Bug in socketConnection (PR#2535)
Platform: Windows Version: 1.6.2 When first called, socketConnection gives an error. On subsequent calls it performs correctly. Thus the first call has the effect of "priming" the connection. Eg > socketConnection(port=50) Error in socketConnection(port = 50) : unable to open connection In addition: Warning message: localhost:50 cannot be opened > MIM <-
2012 Nov 09
0
(no subject)
Hi all, The TWS on my system is unable to connect to my R session. Here is the error that I'm getting: *> tws<-twsConnect() Error in socketConnection(host = host, port = port, open = "ab", blocking = blocking) : cannot open the connection In addition: Warning message: In socketConnection(host = host, port = port, open = "ab", blocking = blocking) : localhost:7496
2012 Nov 16
0
TWS and R
Hi all, The TWS on my system is unable to connect to my R session. Here is the error that I'm getting: /> tws<-twsConnect() Error in socketConnection(host = host, port = port, open = "ab", blocking = blocking) : cannot open the connection In addition: Warning message: In socketConnection(host = host, port = port, open = "ab", blocking = blocking) : localhost:7496
2016 Oct 01
2
socketSelect(..., timeout): non-integer timeouts in (0, 2) (?) equal infinite timeout on Linux - weird
There's something weird going on for certain non-integer values of argument 'timeout' to base::socketSelect(). For such values, there is no timeout and you effectively end up with an infinite timeout. I can reproduce this on R 3.3.1 on Ubuntu 16.04 and RedHat 6.6, but not on Windows (via Linux Wine). # 1. In R master session > con <- socketConnection('localhost', port