[BioC] Problems encountered using affy in R

Vincent Carey 525-2265 stvjc at channing.harvard.edu
Wed Mar 5 10:02:38 MET 2003


> by typing affyfiles <- ReadAffy (widget=T). It gave the following
> message:
>
> Loading required package: tkWidgets
> Loading required package: tcltk
> Error in firstlib(which.lib.loc, package):
>              TCD_library is not set

Good description of setup, but the error is more likely
 TCL_LIBRARY is not set

This means that your environment variable that
identifies the location of the Tcl/Tk distribution
is not properly set.  If you can find your Tcl/Tk
distribution (or install one) and use the
cascade (from windows start button)
Settings/Control Panel/System/Advanced/Environment Variables
to set the variable and then re-start R you
will probably get better results.  For a typical
installation C:\Tcl\lib is the correct value.

Newer versions of R1.7.0 for windows will come
with Tcl/Tk bundled in so that this problem should
go away in the relatively near future.



More information about the Bioconductor mailing list