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

ipeds::download_ipeds(YEAR) does not work on RStudio and R Console #14

Open
tnagano22 opened this issue Feb 25, 2022 · 0 comments
Open

Comments

@tnagano22
Copy link
Contributor

When I run ipeds::download_ipeds(YEAR) on R Console (and RStudio), R does not recognize mdb-tables and spits the following error.

ipeds::download_ipeds(2018)
...
[1] "Error loading the MS Access database file. Make sure mdtools is installed."
[1] "The following terminal commands will install mdtools on Mac systems:"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null 
brew install mdbtools 
[1] "Original Error:"
<simpleError in system(paste("mdb-tables -1", file), intern = TRUE): error in running command>

mdbtools was installed with Homebrew and mdb-tables works on Terminal. I believe it has something to do with Homebrew and R Console (and RStudio) since ipeds::download_ipeds(YEAR) works fine if R is used on Terminal (without using R Console).

@tnagano22 tnagano22 changed the title ipeds::download_ipeds(YEAR) does not work RStudio and R Console ipeds::download_ipeds(YEAR) does not work on RStudio and R Console Feb 25, 2022
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

1 participant