RStudio Running Significantly Slower than Base R

I have come to realize that running scripts in RStudio processes significantly slower than running the same script in base R.

An example:
system.time( fread("networkDrive/[844,635x33].csv",
na.strings=c("","NA"), strip.white = TRUE, blank.lines.skip = TRUE))

Base R = 184 seconds
RStudio markdown chunk = 1,464

I am running R version 3.6.3, and RStudio 1.4.1106 on Windows 10, with a X64 based processor.

The slow processing speeds have been present since getting this computer. What else can I look at to investigate why the same script takes a significant amount of time to run in RStudio, but not in Base R?

This topic was automatically closed 21 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.