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

using RDatasets got LoadError: UndefVarError: @sprintf not defined #55

Closed
lazyjoe opened this issue Aug 19, 2018 · 5 comments
Closed

using RDatasets got LoadError: UndefVarError: @sprintf not defined #55

lazyjoe opened this issue Aug 19, 2018 · 5 comments

Comments

@lazyjoe
Copy link

lazyjoe commented Aug 19, 2018

After installing RDatasets, I tried to use "using RDatasets" and got the error.
2018-08-19 7 08 43
My julia Version 1.0.0 (2018-08-08)
os: mac OS high sierra 10.13.6
Thanks

@ikselven
Copy link

Looking at the changes in #54, this seems to be fixed in that PR.

@szcf-weiya
Copy link

Same error on Julia 1.0 for Windows 10.

@wenzhenghe7
Copy link

Same for Julia 1.0 on Win 7

@milunski
Copy link

Same issue for Julia 1.0 on Mac

szcf-weiya added a commit to szcf-weiya/RDatasets.jl that referenced this issue Aug 25, 2018
For Julia `v1.0`, it is necessary to load `Printf` module before calling `@sprintf`.(JuliaStats#55 ) So there might be two ways to resolve this issue. One is to add dependence of `Printf` which might bring a new trouble for old versions. Another way is directly to use `error` function with substrings, as in this pull request.
@randyzwitch
Copy link
Contributor

This is being handled with #54, which should be merged in in the next day or so

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

6 participants