similar to: Bug in socketConnection (PR#2535)

Displaying 20 results from an estimated 1000 matches similar to: "Bug in socketConnection (PR#2535)"

2003 Apr 03
5
cdf function: inverse to quantile?
Is there a function in R for calculating empirical cumulative distribution functions, i.e. the inverse of the quantile function? Perhaps in some library? I''d hate to have to re-invent the wheel. David Edwards, Biostatistics, Novo Nordisk A/S, Bagsværd, Denmark. DEd@novonordisk.com <mailto:DEd@novonordisk.com> Tlf: +45 44 42 62 35. Fax: +45 44 42 14 80 [[alternate HTML version
2003 Jun 30
2
R as COM client (rather than server)
Hello all Can R be used as a COM client (rather than as a COM server)? The following (Splus) code shows the sort of thing I'd like to do: pMIM <- create.ole.object("mim31.Server") NoOutputLines <- call.ole.method(pMIM, "SendCmdLine", "show w") for (i in 1:NoOutputLines) show(call.ole.method(pMIM, "GetOutputLine")) release.ole.object(pMIM)
2010 Feb 15
1
"EstimableS" in R
Hi I've just installed the R version 2.10.1 on my new PC and unfortunately I have problem to use the function Estimables. I have downloaded gmodels succesfully but have problems when I activate the package. I get following meassage; > utils:::menuInstallLocal() package 'gmodels' successfully unpacked and MD5 sums checked > local({pkg <-
2005 Mar 03
2
Putting different colors on labels in plot (hclust)
Hi All R-helpers This is my first (but probartly not last ;-) mail to R-help, so hello to everybody. My problem: Is there a way to give colors to the labels (sample labels) in plots for a hclust object for better visualization? I have looked through plot, points, hclust and more but cannot find anything on label color. Anybody know if this is doable? Best regards Jeppe
2016 Jan 15
1
Error in socketConnection(master, port = port, blocking = TRUE, open = "a+b", : cannot open the connection
Dear All I have sucessfully created cluster of four nodes using localhost in my local machine by executing the following command > cl<-makePSOCKcluster(c(rep("localhost",4)),outfile='',homogeneous=FALSE,port=11001) starting worker pid=4271 on localhost:11001 at 12:12:26.164 starting worker pid=4280 on localhost:11001 at 12:12:26.309 starting worker pid=4289 on
2011 Nov 22
0
snow package, socketConnection error, SSH, in Windows 7 x64
Hi. I have some problems trying to make cluster via "snow" package and haven't found a solution for my problem in archives and relative topics. I installed ssh server using cygwin and set a password-less SSH Login. In R session after starting ssh service: > system("ssh 10.10.5.15 date") Tue Nov 22 16:22:36 AST 2011 But when I make connection: > con <-
2006 Nov 25
1
"undefined symbol: _pam_make_env"
Hello, A while ago I downloaded and compiled PAM 0.99.x and installed it over the default CentOS PAM installation. Of course, this premature decision led to root and FTP access being fully locked down and inaccessible. When I `su -`, it prints "su: incorrect password" before it gives me the chance to type a password. When I `sudo su -`, it prints "sudo: pam_authenticate:
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 Jun 10
1
Sending Email with Attachment
Hi, I am trying to send an email through gmail or outlook from my Windows PC and finding trouble to send the email. The code which I am using is given below: Code : library("sendmailR") from <- "abcd@outlook.com" to <- <mailto:efgh@gmail.com> efgh@gmail.com subject <- "Run at" mailControl = list(smtpServer="blu-m.hotmail.com")
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
2008 May 08
1
problem with caretNWS on linux
Hi, I am using caretNWS on a RHEL x86_64 system and I am getting an error message that is nearly identical to the one occuring in http://www.r-project.org/nosvn/R.check/r-release-macosx-ix86/caretNWS-00check.txt Error in socketConnection(serverHost, port = port, open = "a+b", blocking = TRUE) : unable to open connection Calls: system.time ... .local -> tryCatch -> tryCatchList
2006 Oct 19
1
bi-directional sockets
Hello R-helpers! I am new to R, but having a rough time with the socketConnection function. I cannot seem to get bi-directional communication to work. I have tried loads of possible ways, based on the manual's examples, but the result is always one or the other process hanging. Could anyone give me a working example of R code that: - creates a socket, - listens for data , - reads the data, -
2009 May 18
2
readBin on binary non-blocking connections (Windows & Unix differences/bugs)
R-devel: I am encountering a consistency issue using socketConnection and readBin with *non-blocking* connections on Unix and Windows XP (no Vista to test). I am a bit confused by the behavior of *non-blocking* connections under Windows specifically. When calling readBin on a non-blocking connection when there is no data to read on the socket, the connection under Unix will return a vector of
2012 Dec 19
1
problem with opening more than one SOCK cluster with package snow
Dear list, i have some problems using the snow package to create a SOCK cluster. The errors just occour irregularly but it seems to me that they occour when I try to create more than one cluster on the same machine via different R instances started via submitting LSF jobs to a cluster. Does anyone have an idea how to solve this or where to start digging for solutions? The error messages
2019 Jun 04
2
MacOS parallel::makeCluster fails
Hi all, The call parallel::makeCluster(1L) hangs infinitely on my MacOS machine which seems to be already reported by some people (e.g., https://stat.ethz.ch/pipermail/r-devel/2018-February/075565.html). However, the solutions posted on SO, GH or R-devel do not work in my case. So far, I unsuccessfully tested ? 1. Couple of reboots 2. Adding 192.0.0.1 to /etc/hosts 3. Using R.app
2005 Feb 17
1
socket problems (maybe bugs?)
Dear R Gurus, for some purpose i have to use a socket connection, where i have to read and write both text and binary data (each binary data package will be preceeded by a header line). When experimenting, i encountered some problems (with R-2.0.1 under different Linuxes (SuSE and Gentoo)). Since the default mode for socket connections is non-blocking, i first tried socketSelect() in order to
2007 Feb 15
4
Anyone running Xen on HP DL380 G5? Intel 5150 and 5160 CPU''s?
I''ve got a client demanding the use of HP DL380 G5''s, for various historical reasons, for a server room. I''m going nuts trying to figure out if the available CPU''s for them support VT, so I can avoid building them a separate Windows box. Unfortunately, the local web proxy is overloaded, so actually browsing the JavaScript/image loaded web pages for HP is