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

Could not import StatsModels.Formula #313

Closed
Rosenguyen0411 opened this issue Jun 27, 2019 · 2 comments
Closed

Could not import StatsModels.Formula #313

Rosenguyen0411 opened this issue Jun 27, 2019 · 2 comments

Comments

@Rosenguyen0411
Copy link

Hi. I am very new to Julia. I was trying to install and use RCall but kept getting this error.

Pkg.test("RCall")

WARNING: could not import StatsModels.Formula into RCall
ERROR: LoadError: LoadError: UndefVarError: Formula not defined

I use Julia v1.1.1. I spent a whole day trying to figure out where it went wrong but no luck. Any help would be greatly appreciated. Thanks a lot.

@kleinschmidt
Copy link
Contributor

This is because StatsModels just made a breaking release and RCall needs to be updated. Some discussion of how to do this in #306

You can fix this locally by pinning StatsModels at 0.5.0 with ] add [email protected].

@Rosenguyen0411
Copy link
Author

It works now. Thank you so much! You save my day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants