Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

R help stops working when multiple VS instances are open #4342

Open
mkoohafkan opened this issue Oct 23, 2018 · 1 comment
Open

R help stops working when multiple VS instances are open #4342

mkoohafkan opened this issue Oct 23, 2018 · 1 comment

Comments

@mkoohafkan
Copy link

I commonly work on multiple R projects at once, and thus commonly have multiple instances of VS open. Recently I have started getting errors when trying to access R's help via ? when multiple VS instances are open. The error is typically something along the lines of

# example
?sum
Error in file() : cannot open the connection
In addition: Warning message:
In file() :
  cannot open file 'C:\Users\mkoohafk\AppData\Local\Temp\RtmpgTAWFP\Rf56e43e017cdd': No such file or directory

This error usually occurs on all but one of the VS instances, but sometimes all instances return the error when trying to access the help. Closing all VS instances and reopening resolves the issue temporarily, but eventually the error will recur.

@priscian
Copy link

This happens to me sometimes in the regular R Console on Windows. There must be a (semi-)regular purge of temp directories by the OS, so sometimes I need to issue the command dir.create(tempdir()) to get help etc. back.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants