Package: future.p2p 0.6.0-9007

Henrik Bengtsson

future.p2p: Parallel Future Backend for Peer-to-Peer Clusters using 'pico.sh'

Implementation of the Future API <doi:10.32614/RJ-2021-048> that resolves futures on a peer-to-peer ('P2P') cluster, where you and your friends share your spare compute resources with each other. The backend is fully compliant with the Future API, as validated by the 'future.tests' conformance test suite, meaning that code using futures gives identical results and behaves the same regardless of which future backend is used. A common use is to parallelize existing map-reduce calls via the 'futurize' package <doi:10.48550/arXiv.2601.17578>, e.g. 'plan(future.p2p::cluster)' followed by 'lapply(xs, fcn) |> futurize()' or 'purrr::map(xs, fcn) |> futurize()'.

Authors:Henrik Bengtsson [aut, cre, cph]

future.p2p_0.6.0-9007.tar.gz
future.p2p_0.6.0-9007.zip(r-4.7-any)future.p2p_0.6.0-9007.zip(r-4.6-any)future.p2p_0.6.0-9007.zip(r-4.5-any)
future.p2p_0.6.0-9007.tgz(r-4.6-any)future.p2p_0.6.0-9007.tgz(r-4.5-any)
future.p2p_0.6.0-9007.tar.gz(r-4.7-any)future.p2p_0.6.0-9007.tar.gz(r-4.6-any)
future.p2p_0.6.0-9007.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
future.p2p/json (API)

# Install 'future.p2p' in R:
install.packages('future.p2p', repos = c('https://futureverse-devel.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/futureverse/future.p2p/issues

Pkgdown/docs site:https://future.p2p.futureverse.org

On CRAN:

Conda:

distributed-computingfuturefutureversep2pparallelparallel-computing

5.76 score 16 stars 2 mentions 6 exports 10 dependencies

Last updated from:d602f020fc (on develop). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK109
source / vignettesOK160
linux-releaseOK97
macos-releaseOK111
macos-oldrelOK72
windows-develOK70
windows-releaseOK69
windows-oldrelOK62
wasm-releaseOK86

Exports:clusterhost_clusterp2p_cluster_namepico_usernamePicoP2PFutureBackendworker

Dependencies:callrcodetoolsfutureglobalslistenvotelparallellyprocessxpsR6

future.p2p: A Shared P2P Cluster among Friends
Hosting a P2P cluster | Adding P2P workers | Using P2P cluster

Last update: 2026-03-08
Started: 2025-08-08

future.p2p: A Personal P2P Cluster

Last update: 2026-01-25
Started: 2025-08-08

future.p2p: Getting Started
⚠️ Security ⚠️ | Setup instructions | 1. Generating an SSH public-private key pair | 2. Create P2P user account

Last update: 2026-01-25
Started: 2025-08-08

Readme and manuals

Help Manual

Help pageTopics
Peer-to-Peer (P2P) futurescluster
Hosts a shared P2P clusterhost_cluster
Gets the default name of the P2P clusterp2p_cluster_name
Gets your pico.sh usernamepico_username
Launches a P2P worker and adds it to a P2P clusterworker
Options used by future.p2pfuture.p2p.debug future.p2p.options future.p2p.wormhole R_FUTURE_P2P_DEBUG R_FUTURE_P2P_WORMHOLE zzz-future.p2p.options