Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reprex not working in web view #5975

Open
testlabauto opened this issue Jan 13, 2025 · 0 comments
Open

Reprex not working in web view #5975

testlabauto opened this issue Jan 13, 2025 · 0 comments
Labels
area: viewer Issues related to Viewer category. area: workbench Issues related to Workbench category. bug Something isn't working lang: r

Comments

@testlabauto
Copy link
Contributor

System details:

Positron and OS details:

Main on 1/13/25 at noon PST
OSX

Interpreter details:

R 4.3.3

Describe the issue:

reprex doesn't work on web (see repro steps)

Steps to reproduce the issue:

  1. Start server and R
  2. Run the reprex:
reprex::reprex(rbinom(3, size = 10, prob = 0.5), comment = "#;-)")

Note the error:
Image

Expected or desired behavior:

Reprex works the same as in electron

Were there any error messages in the UI, Output panel, or Developer Tools console?

ERR FileOperationError: Unable to read file '/private/var/folders/rc/l24758015ggb5438npy04wtc0000gn/T/Rtmpm63kyh/reprex-15a5453985cbe-sugar-cob/sugar-cob_reprex.md' (Unavailable (FileSystemError): Error: No file system handle registered (/private))
at FileService.restoreReadError (fileService.ts:631:10)
at FileService.doReadFileStream (fileService.ts:616:15)
at async BrowserTextFileService.doRead (textFileService.ts:218:19)
at async BrowserTextFileService.readStream (textFileService.ts:197:35)
at async TextFileEditorModel.resolveFromFile (textFileEditorModel.ts:447:20)
at async TextFileEditorModel.resolve (textFileEditorModel.ts:303:3)
at async TextFileEditorModelManager.doResolve (textFileEditorModelManager.ts:421:4)
at async FileEditorInput.doResolveAsText (fileEditorInput.ts:360:4)
at async TextFileEditor.setInput (textFileEditor.ts:108:26)
at async EditorPanes.doSetInput (editorPanes.ts:449:4)

@testlabauto testlabauto added area: viewer Issues related to Viewer category. area: workbench Issues related to Workbench category. bug Something isn't working lang: r labels Jan 13, 2025
@juliasilge juliasilge added this to the 2025.04 Pre-Release milestone Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: viewer Issues related to Viewer category. area: workbench Issues related to Workbench category. bug Something isn't working lang: r
Projects
None yet
Development

No branches or pull requests

2 participants