SecurityError when previewing Notebook after R 3.5.0 upgrade

rmarkdown
rnotebook
r-update

#1

After updating to R 3.5.0 (Mac OS X 10.12.6) RStudio notebook behaviour has become flaky. Notebooks will sometimes fail to be generated at all, table formatting has been lost and there is frequently the message:

Error creating notebook: Exception caught: (SecurityError) : Blocked a frame with origin "http://127.0.0.1:44273" from accessing a cross origin frame.

This occurs even with a new .Rmd file and persists even with latest daily build (RStudio 1.2.612)


#2

Work is underway on the table formatting...

I don’t know if the rest is related or not, but posting as many details as you can (and steps to reproduce other flakiness, if possible) can’t hurt!


#3

Thanks @jcblum

I get the 'SecurityError' just by

session info:
R version 3.5.0 (2018-04-23)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

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

loaded via a namespace (and not attached):
[1] compiler_3.5.0 backports_1.1.2 magrittr_1.5 rprojroot_1.3-2 htmltools_0.3.6 tools_3.5.0
[7] base64enc_0.1-3 yaml_2.1.19 Rcpp_0.12.16 stringi_1.1.7 rmarkdown_1.9 knitr_1.20
[13] jsonlite_1.5 stringr_1.3.0 digest_0.6.15 evaluate_0.10.1


#4

This is still a problem in RStudio daily build 1.2.650.
Downgrading to R 3.4.4 (completely uninstalling 3.5.0 and re-installing 3.4.4) did not help.
Downgrading to RStudio release version 1.1.453 fixed the problem.
But I don't recall this happening with daily build 1.2.618.
Somehow this has cropped up between RStudio 1.1 and 1.2.


#5

New is not always better :confused:


#6

Yeah, duh. Well, I had upgraded to the daily build to resolve a different RStudio problem with rmarkdown / knitr. Go figure. :man_shrugging:


#7

roxygen2 does not work with R 3.5.0. OK with R 3.4.4


#8

2 posts were split to a new topic: File does not exist error - possibly connected with R 3.5.0 update