Promise not printed in Rstudio server IDE

shiny
rstudio
promises
rstudioserver

#1

Hi,
On my Rstudio server (Version 1.0.136) using R 3.3.2 the following dows not print an output to the console:

library(future)
library(promises)
plan(multisession)
future("test") %...>% print()

The command is executed and the cursor goes to the next line, awaiting a new input but nothing is printed. When opening a R session outside of Rstudio everything works as expected. Restart of R in Rstudio does not solve the issue.

Anyone experienced the same problem? How can it be solved?

edit. I do not have the possibility to upgrade on this machine, so unluckily need to use the versions installed


#2

I cannot reproduce this on Linux with R 3.5.1 - the string prints in both a regular R terminal as well as in RStudio 1.1.453. Session info:

> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

other attached packages:
[1] promises_1.0.1 future_1.9.0  

loaded via a namespace (and not attached):
 [1] drat_0.1.4          compiler_3.5.1      BiocManager_1.30.1 
 [4] magrittr_1.5        R6_2.2.2            later_0.7.3        
 [7] parallel_3.5.1      tools_3.5.1         listenv_0.7.0      
[10] yaml_2.2.0          Rcpp_0.12.18        codetools_0.2-15   
[13] digest_0.6.16       globals_0.12.1      rlang_0.2.2