R studio 2023.12.1- 402 Running incredibly slowly

I just got a new windows 11 machine and installed R studio along with R 4.3.3. Whenever I load, it takes a long time, and then it can take up to 10 minutes to run anything. Today it took 10 minutes to run : start_date <- as.character(as.Date(as.yearmon(as.Date(Sys.Date()))-2.0, frac=0))

I've looked through some questions on Stack Overflow and here on the forum and haven't found anything quite like this.
My memory usage is 70% and cpu usage <20% so I don't think it's slowing from that.

Many have suggested it was a network issue for others, but I ran Sys.getenv() and got these results:
ALLUSERSPROFILE
C:\ProgramData
APPDATA C:\Users.D_Mick\AppData\Roaming
CLICOLOR_FORCE
1
CommonProgramFiles
C:\Program Files\Common
Files
CommonProgramFiles(x86)
C:\Program Files
(x86)\Common Files
CommonProgramW6432
C:\Program Files\Common
Files
COMPUTERNAME
LIVN8HC2QW3
ComSpec C:\windows\system32\cmd.exe
CURL_CA_BUNDLE
C:/PROGRA~1/R/R-43~1.3/etc/curl-ca-bundle.crt
DISPLAY :0
DriverData
C:\Windows\System32\Drivers\DriverData
FPS_BROWSER_APP_PROFILE_STRING
Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING
Default
GFORTRAN_STDERR_UNIT
-1
GFORTRAN_STDOUT_UNIT
-1
GIT_ASKPASS
rpostback-askpass
HOME C:\Users.D_Mick\Documents
HOMEDRIVE C:
HOMEPATH \Users.D_Mick
LOCALAPPDATA
C:\Users.D_Mick\AppData\Local
LOGONSERVER
\US-AUS-DC04
MPLENGINE tkAgg
MSYS2_ENV_CONV_EXCL
R_ARCH
NUMBER_OF_PROCESSORS
12
OneDrive C:\Users.D_Mick\OneDrive
- LivaNova USA, Inc
OneDriveCommercial
C:\Users.D_Mick\OneDrive
- LivaNova USA, Inc
ORIGINAL_XDG_CURRENT_DESKTOP
undefined
OS Windows_NT
PATH c:\rtools43\x86_64-w64-mingw32.static.posix\bin;c:\rtools43\usr\bin;C:\Program
Files\R\R-4.3.3\bin\x64;C:\ProgramData\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program
Files\PolicyPak;C:\Program
Files (x86)\Box\Box
Edit;C:\Program
Files\Git\cmd;C:\Users.D_Mick\AppData\Local\Programs\Python\Launcher;C:\Users.D_Mick\AppData\Local\Microsoft\WindowsApps;C:\Users.D_Mick\AppData\Local\Programs\Azure
Data
Studio\bin;C:\Program
Files\RStudio\resources\app\bin\quarto\bin;C:\Program
Files\RStudio\resources\app\bin\postback
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model
186 Stepping 3,
GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
ba03
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program
Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
PYTHONIOENCODING
utf-8
R_ARCH /x64
R_CLI_HAS_HYPERLINK_IDE_HELP
true
R_CLI_HAS_HYPERLINK_IDE_RUN
true
R_CLI_HAS_HYPERLINK_IDE_VIGNETTE
true
R_COMPILED_BY
gcc 12.3.0
R_DOC_DIR C:/PROGRA~1/R/R-43~1.3/doc
R_HOME C:/PROGRA~1/R/R-43~1.3
R_INCLUDE_DIR
C:/PROGRA~1/R/R-43~1.3/include
R_LIBS_SITE
C:/PROGRA~1/R/R-43~1.3/site-library
R_LIBS_USER
C:\Users.D_Mick\AppData\Local/R/win-library/4.3
R_RTOOLS43_PATH
c:/rtools43/x86_64-w64-mingw32.static.posix/bin;c:/rtools43/usr/bin
R_RUNTIME ucrt
R_SHARE_DIR
C:/PROGRA~1/R/R-43~1.3/share
R_USER C:/Users/.D_Mick/Documents
RMARKDOWN_MATHJAX_PATH
C:/Program
Files/RStudio/resources/app/resources/mathjax-27
RS_LOCAL_PEER
\.\pipe\45997-rsession
RS_LOG_LEVEL
WARN
RS_RPOSTBACK_PATH
C:/Program
Files/RStudio/resources/app/bin/rpostback.exe
RS_SHARED_SECRET
59996112-5509-4a67-b155-f7ff2f6f99e7
RSTUDIO 1
RSTUDIO_CLI_HYPERLINKS
true
RSTUDIO_CONSOLE_COLOR
256
RSTUDIO_CONSOLE_WIDTH
40
RSTUDIO_DESKTOP_EXE
C:\Program
Files\RStudio\rstudio.exe
RSTUDIO_MSYS_SSH
C:/Program
Files/RStudio/resources/app/bin/msys-ssh-1000-18
RSTUDIO_PANDOC
C:/Program
Files/RStudio/resources/app/bin/quarto/bin/tools
RSTUDIO_PROGRAM_MODE
desktop
RSTUDIO_SESSION_PID
27856
RSTUDIO_SESSION_PORT
45997
RSTUDIO_USER_IDENTITY
.D_Mick
RSTUDIO_WINUTILS
C:/Program
Files/RStudio/resources/app/bin/winutils
SAPLOGON_LSXML_FILE
c:\windows\SAPUILandscape.xml
SESSIONNAME
Console
SSH_ASKPASS
rpostback-askpass
SystemDrive
C:
SystemRoot
C:\windows
TEMP C:\Users\DONELL~1.MIC\AppData\Local\Temp
TERM xterm-256color
TMP C:\Users\DONELL~1.MIC\AppData\Local\Temp
TZDIR C:/PROGRA~1/R/R-43~1.3/share/zoneinfo
USERDNSDOMAIN
LIVANOVA.COM
USERDOMAIN
LIVANOVA
USERDOMAIN_ROAMINGPROFILE
LIVANOVA
USERNAME .D_Mick
USERPROFILE
C:\Users.D_Mick
windir C:\windows
ZES_ENABLE_SYSMAN
1

I am unsure where to go from here, can anyone help me diagnose the issues?

Thank you!

I dont know, how to fix this problem as I am a Linux user and the reason, why I migrated from Windows to Linux, were especially such problems. So what about to install Windows Subsystem for Linux and try to run Rstudio in the subsystem?

This sounds like an interesting suggestion, I will try it out. Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.