Currently, I am not using any antivirus, other than Windows Defender (with just the default settings).
Also, my working directory is not being synchronized to the cloud.
I have more than 100 GB left in my hard drive, and I don't think that a simple program like this can consume my entire 8 GB RAM.
Just for your information, I installed Rstudio in a new machine, and the exact same error repeated, with both anaconda and native python.
The session info for this machine is,
> library(reticulate)
> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] reticulate_1.7
loaded via a namespace (and not attached):
[1] compiler_3.5.0 Matrix_1.2-14 tools_3.5.0 Rcpp_0.12.17 grid_3.5.0 jsonlite_1.5 lattice_0.20-35
> py_config()
python: C:\Users\aniray\AppData\Local\Programs\Python\Python36\python.exe
libpython: C:/Users/aniray/AppData/Local/Programs/Python/Python36/python36.dll
pythonhome: C:\Users\aniray\AppData\Local\Programs\Python\Python36
version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD64)]
Architecture: 64bit
numpy: C:\Users\aniray\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy
numpy_version: 1.14.3
python versions found:
C:\Users\aniray\AppData\Local\Programs\Python\Python36\python.exe
C:\Users\aniray\AppData\Local\Programs\Python\Python36\\python.exe
C:\PROGRA~3\ANACON~1\python.exe
C:\ProgramData\Anaconda3\python.exe
C:\ProgramData\Anaconda3\envs\tensorflow\python.exe