How can I troubleshoot R and tk on macOS?
Try installing tk from the ActiveState ActiveTcl binaries. If you're on Mavericks, make sure that you install ActiveTcl 8.5.15.0 or greater, as there are some problems with earlier versions on Mavericks. Also, please note that ActiveTcl is not open-source software.