Hi all, I just installed R on my Mac OS X machine and wanted to installed
tcl/tk. So, I installed tcl/tk from this page:
http://cran.r-project.org/bin/macosx/tools/

It gets placed in /usr/local dir.
and then I installed R.

Next, in R, I set the TCL_LIBRARY variable by saying
Sys.setenv(TCL_LIBRARY="/usr/local/lib/tcl8.5")
and
Sys.setenv(TK_LIBRARY="/usr/local/lib/tk8.5")

But still when I try to run any GUI-based program, it gives me the error
that TCL/TK were not istalled.

In tclRequire(tclPkg) : Tcl package 'BWidget' not found

I have a suspicion that I am not setting the TCL_LIBRARY right. When I try
to set the TCL_VARIABLE to /usr/bin  even then it does not work. What am I
doing wrong? Please help.
Thanks,
Nitin

-- 
ΝI+IИ

	[[alternative HTML version deleted]]

