Dear r-sig-mac list,

	I just installed R 15.1 on MAC 0S 10.7.4.
I installed Tcl/Tk8.5  in  /usr/local/lib

Excerpts from my environment
MY_TCLTK=Yes
TCL_LIBRARY=/usr/local/lib/

When I run a Bioconductor Program called OneChannelGUI
which calls another Bioconductor Program called affylmGUI
I get the following error message

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> oneChannelGUI()
Error in function ()  : Aborted from affylmGUI.
In addition: Warning message:
In tclRequire(tclPkg) : Tcl package 'BWidget' not found
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : Aborted from affylmGUI.
Error in function ()  : 
  Tcl/Tk extensions (Tktable and BWidget) not found!
<Tcl> ok 
> 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


Followed the following pop-up:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Cannot find Tcl/Tk package "BWidget".	affylmGUI cannot continue.

affylmGUI requires the Tcl/Tk extensions, BWidget and Tktable.
You must have Tcl/Tk installed on your computer, The
Tcl/Tk installation which comes with R includes BWidget and Tktable.	If you do have
Tcl/Tk installed elsewhere, including the extensions, make sure that R can find the path to the
Tcl library, e.g. C:\Tcl\lib (on Windows) or /usr/lib (on Linux/Unix)
or /sw/lib on Mac OSX.

Set the environment variable TCL_LIBRARY to the appropriate path. for eg.
C:\Tcl\lib\tcl8.4
and set the MY_TCLTK environment variable to a non-empty string, e.g. "Yes".

If using Windows, read the R for windows FAQ at
http://cran.r-project.org/bin/windows/base/rw-FAQ.html
If your Tcl/Tk extensions still can't be found, try
addTclPath("<path to Tcl library>").
This could be put in $HOME/.Rprofile

If you need further instructions, please contact your system administrator
and consider emailing r-help@stat.math.ethz.ch, or browse through the R-help
Bioconductor archives for a similar question.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

I cannot find BWidget anywhere in /usr/local/lib or its subdirectories, although Tktable is there:


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
ccrfml1:lib friedman$ ls -R
Tktable2.9	libtclstub8.5.a	libtkstub8.5.a	tcl8.5		tk8.5
libtcl8.5.dylib	libtk8.5.dylib	tcl8		tclConfig.sh	tkConfig.sh

./Tktable2.9:
README.txt		libTktable2.9.dylib	pkgIndex.tcl
html			license.txt		tkTable.tcl

./Tktable2.9/html:
tkTable.html

./tcl8:
8.3	8.4	8.5

./tcl8/8.3:

./tcl8/8.4:
http-2.7.1.tm		platform		platform-1.0.3.tm

./tcl8/8.4/platform:
shell-1.1.3.tm

./tcl8/8.5:
msgcat-1.4.2.tm		tcltest-2.3.0.tm

./tcl8.5:
auto.tcl	http1.0		opt0.4		tclAppInit.c
clock.tcl	init.tcl	package.tcl	tclIndex
encoding	ldAix		parray.tcl	tm.tcl
history.tcl	msgs		safe.tcl	word.tcl

./tcl8.5/encoding:
ascii.enc	cp855.enc	ebcdic.enc	iso8859-16.enc	macCroatian.enc
big5.enc	cp857.enc	euc-cn.enc	iso8859-2.enc	macCyrillic.enc
cp1250.enc	cp860.enc	euc-jp.enc	iso8859-3.enc	macDingbats.enc
cp1251.enc	cp861.enc	euc-kr.enc	iso8859-4.enc	macGreek.enc
cp1252.enc	cp862.enc	gb12345.enc	iso8859-5.enc	macIceland.enc
cp1253.enc	cp863.enc	gb1988.enc	iso8859-6.enc	macJapan.enc
cp1254.enc	cp864.enc	gb2312-raw.enc	iso8859-7.enc	macRoman.enc
cp1255.enc	cp865.enc	gb2312.enc	iso8859-8.enc	macRomania.enc
cp1256.enc	cp866.enc	iso2022-jp.enc	iso8859-9.enc	macThai.enc
cp1257.enc	cp869.enc	iso2022-kr.enc	jis0201.enc	macTurkish.enc
cp1258.enc	cp874.enc	iso2022.enc	jis0208.enc	macUkraine.enc
cp437.enc	cp932.enc	iso8859-1.enc	jis0212.enc	shiftjis.enc
cp737.enc	cp936.enc	iso8859-10.enc	koi8-r.enc	symbol.enc
cp775.enc	cp949.enc	iso8859-13.enc	koi8-u.enc	tis-620.enc
cp850.enc	cp950.enc	iso8859-14.enc	ksc5601.enc
cp852.enc	dingbats.enc	iso8859-15.enc	macCentEuro.enc

./tcl8.5/http1.0:
http.tcl	pkgIndex.tcl

./tcl8.5/msgs:
af.msg		en_nz.msg	eu.msg		it.msg		ro.msg
af_za.msg	en_ph.msg	eu_es.msg	it_ch.msg	ru.msg
ar.msg		en_sg.msg	fa.msg		ja.msg		ru_ua.msg
ar_in.msg	en_za.msg	fa_in.msg	kl.msg		sh.msg
ar_jo.msg	en_zw.msg	fa_ir.msg	kl_gl.msg	sk.msg
ar_lb.msg	eo.msg		fi.msg		ko.msg		sl.msg
ar_sy.msg	es.msg		fo.msg		ko_kr.msg	sq.msg
be.msg		es_ar.msg	fo_fo.msg	kok.msg		sr.msg
bg.msg		es_bo.msg	fr.msg		kok_in.msg	sv.msg
bn.msg		es_cl.msg	fr_be.msg	kw.msg		sw.msg
bn_in.msg	es_co.msg	fr_ca.msg	kw_gb.msg	ta.msg
ca.msg		es_cr.msg	fr_ch.msg	lt.msg		ta_in.msg
cs.msg		es_do.msg	ga.msg		lv.msg		te.msg
da.msg		es_ec.msg	ga_ie.msg	mk.msg		te_in.msg
de.msg		es_gt.msg	gl.msg		mr.msg		th.msg
de_at.msg	es_hn.msg	gl_es.msg	mr_in.msg	tr.msg
de_be.msg	es_mx.msg	gv.msg		ms.msg		uk.msg
el.msg		es_ni.msg	gv_gb.msg	ms_my.msg	vi.msg
en_au.msg	es_pa.msg	he.msg		mt.msg		zh.msg
en_be.msg	es_pe.msg	hi.msg		nb.msg		zh_cn.msg
en_bw.msg	es_pr.msg	hi_in.msg	nl.msg		zh_hk.msg
en_ca.msg	es_py.msg	hr.msg		nl_be.msg	zh_sg.msg
en_gb.msg	es_sv.msg	hu.msg		nn.msg		zh_tw.msg
en_hk.msg	es_uy.msg	id.msg		pl.msg
en_ie.msg	es_ve.msg	id_id.msg	pt.msg
en_in.msg	et.msg		is.msg		pt_br.msg

./tcl8.5/opt0.4:
optparse.tcl	pkgIndex.tcl

./tk8.5:
bgerror.tcl	dialog.tcl	msgbox.tcl	prolog.ps	text.tcl
button.tcl	entry.tcl	msgs		safetk.tcl	tk.tcl
choosedir.tcl	focus.tcl	obsolete.tcl	scale.tcl	tkAppInit.c
clrpick.tcl	images		optMenu.tcl	scrlbar.tcl	tkfbox.tcl
comdlg.tcl	listbox.tcl	palette.tcl	spinbox.tcl	ttk
console.tcl	menu.tcl	panedwindow.tcl	tclIndex	unsupported.tcl
demos		mkpsenc.tcl	pkgIndex.tcl	tearoff.tcl	xmfbox.tcl

./tk8.5/demos:
README		dialog2.tcl	items.tcl	puzzle.tcl	timer
anilabel.tcl	en.msg		ixset		radio.tcl	toolbar.tcl
aniwave.tcl	entry1.tcl	knightstour.tcl	rmt		tree.tcl
arrow.tcl	entry2.tcl	label.tcl	rolodex		ttkbut.tcl
bind.tcl	entry3.tcl	labelframe.tcl	ruler.tcl	ttkmenu.tcl
bitmap.tcl	filebox.tcl	license.terms	sayings.tcl	ttknote.tcl
browse		floor.tcl	mclist.tcl	search.tcl	ttkpane.tcl
button.tcl	form.tcl	menu.tcl	spin.tcl	ttkprogress.tcl
check.tcl	goldberg.tcl	menubu.tcl	square		twind.tcl
clrpick.tcl	hello		msgbox.tcl	states.tcl	unicodeout.tcl
colors.tcl	hscale.tcl	nl.msg		style.tcl	vscale.tcl
combo.tcl	icon.tcl	paned1.tcl	tclIndex	widget
cscroll.tcl	image1.tcl	paned2.tcl	tcolor
ctext.tcl	image2.tcl	pendulum.tcl	text.tcl
dialog1.tcl	images		plot.tcl	textpeer.tcl

./tk8.5/demos/images:
earth.gif	flagdown.xbm	letters.xbm	tcllogo.gif
earthris.gif	flagup.xbm	noletter.xbm	teapot.ppm
face.xbm	gray25.xbm	pattern.xbm

./tk8.5/images:
README		logo64.gif	pwrdLogo.eps	pwrdLogo175.gif	tai-ku.gif
logo.eps	logoLarge.gif	pwrdLogo100.gif	pwrdLogo200.gif
logo100.gif	logoMed.gif	pwrdLogo150.gif	pwrdLogo75.gif

./tk8.5/msgs:
cs.msg		en.msg		fr.msg		pl.msg
da.msg		en_gb.msg	hu.msg		pt.msg
de.msg		eo.msg		it.msg		ru.msg
el.msg		es.msg		nl.msg		sv.msg

./tk8.5/ttk:
altTheme.tcl		entry.tcl		sizegrip.tcl
aquaTheme.tcl		fonts.tcl		treeview.tcl
button.tcl		menubutton.tcl		ttk.tcl
clamTheme.tcl		notebook.tcl		utils.tcl
classicTheme.tcl	panedwindow.tcl		winTheme.tcl
combobox.tcl		progress.tcl		xpTheme.tcl
cursors.tcl		scale.tcl
defaults.tcl		scrollbar.tcl

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

I would greatly appreciate any help or suggestions to solve this problem.

Thanks and best wishes
Rich
Richard A. Friedman, PhD
Associate Research Scientist,
Biomedical Informatics Shared Resource
Herbert Irving Comprehensive Cancer Center (HICCC)
Lecturer,
Department of Biomedical Informatics (DBMI)
Educational Coordinator,
Center for Computational Biology and Bioinformatics (C2B2)/
National Center for Multiscale Analysis of Genomic Networks (MAGNet)
Room 824
Irving Cancer Research Center
Columbia University
1130 St. Nicholas Ave
New York, NY 10032
(212)851-4765 (voice)
friedman@cancercenter.columbia.edu
http://cancercenter.columbia.edu/~friedman/

"School is an evil plot to suppress my individuality"

Rose Friedman, age15


	[[alternative HTML version deleted]]

