RStudio Edition : Desktop
RStudio Version : 1.2.1335
OS Version : Windows 10
R Version : 3.6.0
Steps to reproduce the problem
Set the working directory to a path in UNC format.
Create a Shiny app or R Markdown file—the defaults work well.
Save the file in a directory using UNC format.
Knit the R Markdown file or run the Shiny app.
Describe the problem in detail
The process will fail.
Shiny:
> runApp('')
Error in shinyAppDir(x) : No Shiny application exists at the path ""
R Markdown:
<snip>
pandoc.exe: unc.utf8.md: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
Execution halted
This may be a problem with other file/process types, but these were the ones I tried.
Describe the behavior you expected
Shiny apps should run and R Markdown files should be knittable. Workaround: map a drive to the network drive and use it instead.
There are several known issues with UNC paths, such as #3105 and #4137. However, those were preexisting issues. This one is a regression—it works in 1.1.463.
The text was updated successfully, but these errors were encountered:
A dirty workaround is to render to your hard drive and then copy the output from your hard drive to your network drive. You can do this with code by running the following in your console or creating another file RenderMarkdown.R to source.
You MUST create the folder on your hard drive BEFORE you run this code snippet. It doesn't create the folder for you. Feel free to add that to your code if you want. Also note that many organizations that use UNC or NSF also put your Documents and Downloads folder on the network drive...so don't use those as your Intermediates folder.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
stalebot
added
the
stale
Issues which have been closed automatically due to inactivitiy.
label
Feb 5, 2021
System details
Steps to reproduce the problem
Describe the problem in detail
The process will fail.
Shiny:
R Markdown:
This may be a problem with other file/process types, but these were the ones I tried.
Describe the behavior you expected
Shiny apps should run and R Markdown files should be knittable. Workaround: map a drive to the network drive and use it instead.
There are several known issues with UNC paths, such as #3105 and #4137. However, those were preexisting issues. This one is a regression—it works in 1.1.463.
The text was updated successfully, but these errors were encountered: