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

RStudio + Quarto Error #46

Closed
mcfibb opened this issue May 17, 2024 · 3 comments
Closed

RStudio + Quarto Error #46

mcfibb opened this issue May 17, 2024 · 3 comments
Labels
question Further information is requested

Comments

@mcfibb
Copy link

mcfibb commented May 17, 2024

Hi there -- I absolutely love this project. I can get the Jupyter Notebook working via my terminal, and Stata is called just fine there. However, when I try to execute any Stata commands in RStudio, I'm met with the error: /bin/sh: stata: command not found

Any ideas? Screenshot for reference:
Screenshot 2024-05-16 at 5 23 46 PM

And perhaps separately, a nbstata.config file wasn't automatically created, and I can't figure out how to get nbstata to recognize it on Jupyter startup (via the terminal). Any ideas for that too?

@hugetim
Copy link
Owner

hugetim commented May 17, 2024

Code execution in RStudio is a known issue with RStudio. I don't think there's anything this project can do to make it work. See the discussion here: #42

Regarding config files, did you try the --conf-file install option? You can use the %status magic in Jupyter to check the location of the config file, if any. For one thing, the file name should be 'nbstata.conf', not '.config'. In which directory did you create your config file?

@hugetim hugetim added the question Further information is requested label May 17, 2024
@mcfibb
Copy link
Author

mcfibb commented May 17, 2024 via email

@hugetim
Copy link
Owner

hugetim commented May 17, 2024

No, you're right. It should pull from the config file on open. But I'm guessing it's not finding the config file you created. You can rerun the 'install' script with the '--conf-file' option to create a config file in the right place for you.

@hugetim hugetim closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants