Skip to content
Prev 12728 / 15075 Next

finding R CMD

Dear list -

I've recently installed R 3.6.1 from CRAN.  All was well until I wanted to
install a source package from a tarball using   $R CMD INSTALL.  This gives
the following error:

Bradleys-MacBook-Pro:~ brad$ R CMD
/Library/Frameworks/R.framework/Resources/bin/Rcmd: line 62:
/Library/Frameworks/R.framework/Resources/bin/: is a directory
/Library/Frameworks/R.framework/Resources/bin/Rcmd: line 62: exec:
/Library/Frameworks/R.framework/Resources/bin/: cannot execute: Undefined
error: 0

$ R --version gives
Bradleys-MacBook-Pro:~ brad$ R --version
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin15.6.0 (64-bit)

I'm running macOS 10.14.5

Any help appreciated!

Brad