In trying to install the pbatR package, I was greeted with the error Error: package 'tcltk' does not have a name space Execution halted Directly installing the package tcltk2 returned the following error: Loading required package: tcltk Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system I have seen from previous posts that tcl/tk must be present when R is installed. I tried reinstalling R from source using ./configure make and although the installation went fine I received the same errors. Typing rpm -qa|grep tcl returns: tclx-8.3.5-4 tcl-8.4.7-2 tcl-8.4.7-2 Typing rpm -qa|grep tk returns: gtkspell-2.0.7-2 atk-1.8.0-2 gtk+-1.2.10-33 gtk2-2.4.13-22 authconfig-gtk-4.6.10-rhel4.3 gtkhtml2-2.6.2-1 gtk-engines-0.12-6.el4 tk-8.4.7-2 gtksourceview-1.1.0-4 gtk-engines-0.12-6.el4 tk-8.4.7-2 gnome-python2-gtkhtml2-2.6.0-3 gtkglarea-1.2.2-16 gtk2-engines-2.2.0-7.el4 gtkhtml3-3.3.2-6.EL usermode-gtk-1.74-1 atk-1.8.0-2 gtk2-2.4.13-22 pygtk2-libglade-2.4.0-1 gtk+-1.2.10-33 gtkhtml2-2.6.2-1 pygtk2-2.4.0-1 So it seems that tcl and tk are present on the system. I saw a post suggesting that I may need some development packages? What is a good place to find these packages? I am running R version 2.5.1 on a Linux machine running Redhat Enterprise 3. Let me know if you need any more info on the operating system and if there are any ideas on how to resolve these issues. Thanks, Michael Gormley [[alternative HTML version deleted]]
trying to install the pbatR package, I was greeted with the error Error: package 'tcltk' does not have a name space Execution halted Directly installing the package tcltk2 returned the following error: Loading required package: tcltk Error in firstlib(which.lib.loc, package) : Tcl/Tk support is not available on this system I have seen from previous posts that tcl/tk must be present when R is installed. I tried reinstalling R from source using ./configure make and although the installation went fine I received the same errors. Typing rpm -qa|grep tcl returns: tclx-8.3.5-4 tcl-8.4.7-2 tcl-8.4.7-2 Typing rpm -qa|grep tk returns: gtkspell-2.0.7-2 atk-1.8.0-2 gtk+-1.2.10-33 gtk2-2.4.13-22 authconfig-gtk-4.6.10-rhel4.3 gtkhtml2-2.6.2-1 gtk-engines-0.12-6.el4 tk-8.4.7-2 gtksourceview-1.1.0-4 gtk-engines-0.12-6.el4 tk-8.4.7-2 gnome-python2-gtkhtml2-2.6.0-3 gtkglarea-1.2.2-16 gtk2-engines-2.2.0-7.el4 gtkhtml3-3.3.2-6.EL usermode-gtk-1.74-1 atk-1.8.0-2 gtk2-2.4.13-22 pygtk2-libglade-2.4.0-1 gtk+-1.2.10-33 gtkhtml2-2.6.2-1 pygtk2-2.4.0-1 So it seems that tcl and tk are present on the system. I saw a post suggesting that I may need some development packages? What is a good place to find these packages? I am running R version 2.5.1 on a Linux machine running Redhat Enterprise 3. Let me know if you need any more info on the operating system and if there are any ideas on how to resolve these issues. Thanks, Michael Gormley [[alternative HTML version deleted]]
Em Sex, 2008-08-08 ?s 13:27 -0400, Michael Gormley escreveu:> In trying to install the pbatR package, I was greeted with the error > > Error: package 'tcltk' does not have a name space > Execution halted > > Directly installing the package tcltk2 returned the following error: > > Loading required package: tcltk > Error in firstlib(which.lib.loc, package) : > Tcl/Tk support is not available on this system > > I have seen from previous posts that tcl/tk must be present when R is > installed. > I tried reinstalling R from source using > > ./configure > make > > and although the installation went fine I received the same errors. > > Typing rpm -qa|grep tcl returns: > tclx-8.3.5-4 > tcl-8.4.7-2 > tcl-8.4.7-2Hi Michael, If I understand you install tcl/tk but not instaled developers packages of tcl/tk. I ubbuntu - debian packages - exists 2 packagas for tcl (tcl8.? and tcl8.?-dev) and 2 packages for tk (tk8.? and tk8.?-dev) In your system also exist 2 packagas tcl-8.4.7-2 and tcl-devel-8.4.7-2 I thinks if you install tcl-devel and tk-devel packages you solve your problem -- Bernardo Rangel Tura, M.D,MPH,Ph.D National Institute of Cardiology Brazil