-
Notifications
You must be signed in to change notification settings - Fork 92
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
Help proxy error: R documentation fails to show #6151
Comments
We have definitely had some challenges with the Help proxy in the past! Can you give us a bit more information? For example, does this happen to you every time you bring up Help? Or is it an intermittent problem? If you can reproduce this (or to get us more information the next time you run into it), can you change the R kernel log level to trace: And then share the logs from the R Kernel if you see this error again? If you don't know where these logs are, you can find them by:
You are looking for what happens after a message like:
|
The issue is not replicating right now. I will report back if it does. However, I am seeing this related issue: |
@genec1 are you trying to bring up Help docs in the Help pane? I don't believe that right-clicking will do that (no Help in the context menu there). Instead I believe that F1 should bring up the Help pane with the correct content. Note that this currently uses your current R session, so you would need to do |
I've found that the F1 popup help works in a .R file, but it does not work in a .Rmd file. In a .Rmd file, the code interpreter is confused by back-ticks earlier in the code, in a separate code block. I have these two code blocks:
(I put comments in front of the code block delimiters so that they would be visible in this post) When I F1 on the I was having the same issue trying to Ctrl-Return run single lines in the R code block. Ctrl-Returning on the |
I'm not able to reproduce the problem with F1 in an Alternatively, you can use this guide for how to include a Quarto/ |
It was hard to isolate the code section that caused the error. In the end, I needed a big chunk of code above the section where I am reproducing the error. I am attaching an Rmd file (re-named to a .txt file for the upload) where I can reproduce the error. The code probably won't run, since I've removed earlier code chunks. If I hit F1 on |
Ah, you need to add a newline at the current line 23 of what you shared. We use Quarto as the engine for parsing
Instead you need this:
And to be even safer and avoid parsing problems in general, I would recommend this:
|
Thanks Julia. Is that in the markdown specs or a peculiarity to the parser in posit? |
Type: Bug
When trying to get the documentation on a library function in R, I get
Error occurred while trying to proxy: 127.0.0.1:53201/library/DBI/html/dbConnect.html
VS Code version: Positron 1.95.0 (Universal) (bc8820b, 2025-01-09T23:29:00.471Z)
OS version: Darwin arm64 24.2.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (12)
The text was updated successfully, but these errors were encountered: