Knitting the ioslides presentation is painfully slow - network drive


#1

Hi - hope it is okay to append to this existing post. I am running off a network drive at work (the files are version controlled, not sure how).

I have done two tests:

  • Created a new project on C: Drive. Knitting the sample ioslides presentation extremely quick.

  • Created a new project on the network drive (where I keep all my work): Knitting the sample ioslides presentation painfully slow. For example,

    • After pressing the Knit button, there is a lag of > 1 minute
    • Once knitting is finished, the Rstudio output window doesn't open for probably > 5 minutes (I am not using a timer).
    • There is also a lag to create a new file.

There are no lags when typing.

Here is a copy of the output of the commands specified on Feb7 by @kevinushey

system("cmd.exe /C dir")
Volume in drive K is Data1
Volume Serial Number is DA38-A176

Directory of K:......\Testings

22/06/2018 10:38 AM .
22/06/2018 10:38 AM ..
22/06/2018 10:34 AM 426,727 test.html
22/06/2018 10:32 AM 768 test.Rmd
22/06/2018 10:38 AM 217 Testings.Rproj
3 File(s) 427,712 bytes
2 Dir(s) 350,361,161,728 bytes free

system("cmd.exe /C dir /AH")
Volume in drive K is Data1
Volume Serial Number is DA38-A176

Directory of K:...\Testings

22/06/2018 10:30 AM .Rproj.user
0 File(s) 0 bytes
1 Dir(s) 350,361,161,728 bytes free


RStudio suddenly slow processing
#2

Same here. No Git, no network drive. Sluggish performance.

Ctrl + L seems to solve the issue.


#3

Can you share a screenshot of the RStudio request log? After pressing the Knit button and waiting for the operation to complete, try pressing Ctrl + `, and taking a screenshot of the view that pops up. I'm curious if there are any especially long bars in the generated output.