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

R Studio Github Copilot Q&A feature not working #14581

Open
4 tasks done
NGaltung opened this issue Apr 23, 2024 · 5 comments
Open
4 tasks done

R Studio Github Copilot Q&A feature not working #14581

NGaltung opened this issue Apr 23, 2024 · 5 comments
Labels
bug copilot Integration with GitHub Copilot info needed Additional information requested—reprex, steps, open question, etc.

Comments

@NGaltung
Copy link

System details

RStudio Edition : Desktop
RStudio Version : Version 2023.12.1+402 (2023.12.1+402)
OS Version      : darwin20
R Version       : 4.3.0 (2023-04-21)

Steps to reproduce the problem

When logged in with github, with an account with copilot active, writing
# q: [question]

no longer results in the
# a: [answer]

example input:
# q: which package can I use to create great plots in R?
resulting copilot recommendation:
# q: how can I create a power analysis for a diagnostic test in R?

reply which previously appeared.

Describe the problem in detail

The Q&A feature presented in the Posit Copilot guide no longer works. Github copilot is still available on my machine, and continuous to ghost-write/recommend code snippets and comments work fine.
Only the q&a feature is not functioning.

Describe the behavior you expected

with copilot running, I would expect the input
# q: which package can I use to create great plots in R?
to return something along the lines of
# a: ggplot2 is a great package for creating plots in R

  • I have read the guide for submitting good bug reports.
  • I have installed the latest version of RStudio, and confirmed that the issue still persists.
  • If I am reporting an RStudio crash, I have included a diagnostics report.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
@NGaltung NGaltung added bug new New incoming issues, ready for initial review. labels Apr 23, 2024
@ronblum
Copy link
Contributor

ronblum commented Apr 24, 2024

@NGaltung Thank you for raising this! I'm unable to reproduce the bug--I get # a: ggplot2 as Copilot's recommendation. Can you please provide a screenshot of what you're seeing? Preferably with the ghost text, before accepting it.

@ronblum ronblum added info needed Additional information requested—reprex, steps, open question, etc. copilot Integration with GitHub Copilot and removed new New incoming issues, ready for initial review. labels Apr 24, 2024
@ronblum
Copy link
Contributor

ronblum commented Apr 24, 2024

@NGaltung Also, was this working previously and then stopped working?

@kevinushey
Copy link
Contributor

I also suspect this kind of issue is outside of our control -- we can't really influence whether Copilot will give "useful" output, and its output (and the quality of that output) may change over time.

@NGaltung
Copy link
Author

Thank you very much, Ron and Kevin. In the mean time, the problem seems to have solved itself, with the text above no returning a useful answer in the expected format.

Screenshot 2024-04-24 at 21 42 28

@kevinushey
Copy link
Contributor

It also likely helps if you explicitly prompt Copilot by filling in part of the prompt; e.g. using # a: to confirm that you want Copilot to give you an answer, rather than help you generate more questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug copilot Integration with GitHub Copilot info needed Additional information requested—reprex, steps, open question, etc.
Projects
None yet
Development

No branches or pull requests

3 participants