Can `parallelly::supportsMulticore()` return `FALSE` for Positron / Ark?

Aperta
#147 4 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
r
Ambito
backend

Direzione di ricerca

Start by tracing how parallelly::supportsMulticore() detects whether multicore is supported, then check how the package can identify an Ark R session. The issue asks whether that detection should return FALSE for Ark; clarify the expected behavior and add a focused test for the Ark case before considering the change complete.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature request

Ark, the engine that powers R in Positron, does not support multicore parallelism at all

We've had issue with users trying to use it https://github.com/posit-dev/positron/issues/6163

So much so that we've finally had to shim forking functions on the ark side to throw an informative error https://github.com/posit-dev/ark/pull/1308

I think it is unlikely we will ever formally support forking in ark.

Do you think it would be appropriate for parallelly to be aware of this, and to return FALSE when being called from an ark R session? I think that may help with bullet 3 here https://github.com/posit-dev/positron/issues/6163#issuecomment-5304666259

Lingua principale
R
Stelle
140
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di futureverse/parallelly

Tutte le issue di futureverse/parallelly

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.