install plm on MAC : failed

Dear all,

PLEASE HELP. I'm trying to install.packages("plm") on Rstudio desktop MAC Version 1.4.1717 and I'm receiving the following error:

install.packages("plm")
also installing the dependencies ‘rbibutils’, ‘Rdpack’

please see the full script attached

Since you are using a very old R version, you are forced to compile packages from source, for compiling packages in macOS, you need to install Xcode in your system (not in R) and the recommended development tools for macOS systems.
https://cran.r-project.org/bin/macosx/tools/

Dear Andres, thank you so much for you quick response.
I did as instructed. downloaded all the "clang files" on the link you provided and I also installed them.

Then I tried to run the installation of "plm" again and this is the new simply error message:

That is not an error message, now that you have updated R to the latest version you have access to precompiled binaries and you don't need to compile from source yourself, so the package is already installed.

I see! perfect! thanks again for your amazing assistance. best regards

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.