Skip to content
Prev 4626 / 15075 Next

Tcl/Tk issue with install.packages

On Apr 18, 2008, at 12:47 PM, Shripad Sinari wrote:

            
That doesn't say much - you need to use otool -L to see which Tcl/Tk  
it's referring to (if any).
I have no idea what you're tying to do ;).
Can you, please, start by stating your goal? Are you trying to compile  
R from sources for some reason? Do you want a specific (non-standard)  
Tcl/Tk version?

If you just want a working R with Tcl/Tk then please download it from  
CRAN and you're all set (the full installer contains R and Tcl/Tk).

If you want your custom R with some custom Tcl/Tk then you have to  
compile and install Tcl/Tk *first*, then configure R and make sure it  
is using your custom Tcl/Tk during the configure run (and also showing  
"tcltk" in the end output). Then compile and install R. Note that Aqua- 
based Tcl/Tk doesn't work properly with R, because they use a custom  
event loop that is incompatible with and other application (including  
R), so unless you are testing that, I'd recommend the X11 version  
(which is what we supply on CRAN).

Cheers,
Simon