Cannot install Haven R

957 Views Asked by At

I tried using both install.packages("tidyverse") and install.packages("haven"). However, it says -bash: syntax error near unexpected token '('

After running brew doctor, I received this message: Warning: "config" scripts exist outside your system or Homebrew directories. ./configure scripts often look for *-config scripts to determine if software packages are installed, and which additional flags to use when compiling and linking.

Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew-provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3-config /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8-config

Can someone please help me with solving this issue please? Thank you!

0

There are 0 best solutions below