[Rd] Conflicts between 'parallel' and 'Rprof', and between two parallel R sessions

From: Zepu Zhang <zepu.zhang_at_gmail.com>
Date: Thu, 26 Jan 2012 11:27:08 -0900

Dear list,

I observed two problems that I suppose are generic.

First, using 'Rprof' to profile a parallel (based on the package 'parallel') code caused

.... Error in unserialize(node$con) : error reading from connection....

Second, on a multicore desktop, I concurrently opened two terminals and ran two separate R sessions, both running (actually identical) parallel code (which sets up a cluster with as many nodes as there are cores). I got

 ...Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :   cannot open the connection In addition: Warning message:
In socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :  port 10187 cannot be opened

Are there ways to do the two things above without problems?



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 26 Jan 2012 - 20:36:29 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 26 Jan 2012 - 23:20:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive