Skip to content

tcltk installation problem in R (Mac OS X version)

2 messages · David Winsemius, Peter Dalgaard

#
On Sep 13, 2012, at 8:05 PM, Nitin Bhardwaj wrote:

            
How did you do that?  (... and please don't reply to this message in r-help. It should go to R-SIG-Mac and I am adding that address. You should delete the r=help address when you reply)
When I do
#I get an empty string
[1] ""
Exactly what does "any" mean or can you give a specific example?
I'm pretty sure that tcltk is one of the default packages that come with the standard MacOS R package. I don't remember needing to any separate install and tcltk gets loaded with many of the packages that need it but it doesn't appear in the package installer menu (as do not stats or base of grDevices). It's listed as a base package:

( From my sessionIfo() : )

attached base packages:
[1] tcltk     grDevices datasets  splines   graphics  utils     stats     methods   base     

I think you need to follow protocol:

post to the right list
 and
post sessionInfo()
#
On Sep 14, 2012, at 06:48 , David Winsemius wrote:

            
In this case, actually reading the error message also helps!
If tcltk as such didn't work, you'd never get as far as getting an error from tclRequire. The issue is that the Tcl/Tk install doesn't include the _Tcl_ package 'BWidget'. How to install it on OSX was described in a post on R-sig-mac on July 4 2012.

(Retaining r-help in cc: since missing Tcl packages could happen on all platforms although perhaps not specifically BWidget. In general, you need to sort out what the preferred method of installation is on your platform. That is not an R issue.)