diff --git a/src/r-bridge/shell.ts b/src/r-bridge/shell.ts index dc1540f97e..5ed9c3a8ef 100644 --- a/src/r-bridge/shell.ts +++ b/src/r-bridge/shell.ts @@ -176,7 +176,7 @@ export class RShell { // retrieve raw version: const result = await this.sendCommandWithOutput(`cat(paste0(R.version$major,".",R.version$minor), ${ts2r(this.options.eol)})`, { timeout: { - ms: 1000, + ms: 5000, resetOnNewData: false, // just resolve on timeout and handle the empty array case below onTimeout: resolve => resolve([])