[R-SIG-Mac] library(tcltk) failure (looking in /usr/local)
stefano iacus
jago at mclink.it
Tue Jul 6 10:46:40 CEST 2004
Hi James,
the R for Mac OS X FAQ, covers these issues.
The installer from CRAN does install what it says:
1) the R.framework in /Library/Frameworks
2) the R.app (the GUI) in /Applications or any other user specified
location
3) the libxml2 library (optional on Panther, OS X 10.3) in
/usr/local/lib
the package tcltk distributed with R.dmg is linked against tcl/tk dlls
inside the R.framework
It seems to me that you need to build and install tcl and tk from
sources following the guidelines in the R for Mac OS X FAQ (i.e.
cofingure and install from inside the unix directory and not the macosx
one)
On Jul 6, 2004, at 10:11 AM, James Wettenhall wrote:
> Hi,
>
> My administrator just installed R 1.9.1 from CRAN on a MacOS X
> machine which previously had TclTkAqua in /Library/Frameworks/
> and fink Tcl/Tk in /sw/lib. When I try to load the tcltk package, I
> get:
>
>> library(tcltk)
> Error in fun(...) : Can't find a usable init.tcl in the
> following directories:
> /usr/local/lib/tcl8.4 /usr/local/lib/tcl8.4
>
> This probably means that Tcl wasn't installed properly.
>
> I suppose as with most errors, this means exactly what it says,
> but should I advise my administrator to reinstall Tcl/Tk using
> fink? Is /sw/ OK,
we try not to use fink for our build
> or should fink install it in /usr/local/?
it can't
> If you want to install Tcl/Tk in /usr/local/ (in response to the
> above error message), do you have to use a Unix-style
> configure;make;make install; from Tcl/Tk source?
yes
> Is having an
> old Aqua Tcl/Tk in /Library/Frameworks/ likely to be a problem?
no
> Should this have been overwritten by an X11 Tcl/Tk by the R
> 1.9.1 installation from CRAN?
no
> Or is installing X11 Tcl/Tk a
> prerequisite to installing R 1.9.1 from CRAN?
>
given your report: yes. Once I also distribute the installer for both
tcl and tk libraries, but it is missing at the moment. I never noticed
this issue.
You can have copies of the sources here
http://www.economia.unimi.it/R/tcl8.4.4-src.tar.gz
http://www.economia.unimi.it/R/tk8.4.4-src.tar.gz
> Note that when I go to:
> /Library/Frameworks/R.framework/
>
> find . -name init.tcl
>
> returns nothing.
>
> Thanks,
> James
>
> -----------------------------------------------------------------------
> ---
> James Wettenhall Tel: (+61 3) 9345
> 2629
> Division of Genetics and Bioinformatics Fax: (+61 3) 9347
> 0852
> The Walter & Eliza Hall Institute E-mail:
> wettenhall at wehi.edu.au
> of Medical Research, Mobile: (+61 / 0 ) 438 527
> 921
> 1G Royal Parade,
> Parkville, Vic 3050, Australia
> http://www.wehi.edu.au
> -----------------------------------------------------------------------
> ---
>
> On Sun, 4 Jul 2004 r-sig-mac-request at stat.math.ethz.ch wrote:
>
>> Send R-SIG-Mac mailing list submissions to
>> r-sig-mac at stat.math.ethz.ch
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>> or, via email, send a message with subject or body 'help' to
>> r-sig-mac-request at stat.math.ethz.ch
>>
>> You can reach the person managing the list at
>> r-sig-mac-owner at stat.math.ethz.ch
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of R-SIG-Mac digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Updated R.dmg Image for R-1.9.1 (Simon Urbanek)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Sat, 3 Jul 2004 15:34:38 +0200
>> From: Simon Urbanek <simon.urbanek at math.uni-augsburg.de>
>> Subject: [R-SIG-Mac] Updated R.dmg Image for R-1.9.1
>> To: r-sig-mac at stat.math.ethz.ch
>> Message-ID:
>> <BADEE550-CCF5-11D8-B275-000A959F327E at math.uni-augsburg.de>
>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>>
>> A slightly modified R.dmg image is now available from CRAN (main AT
>> mirror now, others should follow as the changes propagate). To clarify
>> what happened here is the history of the R.dmg images of R-1.9.1 so
>> far:
>>
>> 1) first release - ca. 20MB (2004/06/26), installer same as in R 1.9.0
>> contained R-1.9.1.pkg, libxml2.pkg and a ReadMe file
>> both R.app and framework were packed in one package; some problems
>> because it changed rights of the Applications folder and could case
>> problems on non-standard systems
>>
>> 2) second release - ca. 40MB (2004/06/29)
>> new installer, but contained both the package sources and the actual
>> packages. libxml2 was marked as "required" which caused problems on
>> Panther (use "sudo rm -f /usr/local/lib/libxml2*" on Panther if you
>> installed it)
>>
>> 3) third, now current release - ca. 20MB (2004/07/03)
>> new installer (the image contains R.mpkg meta-package and a folder
>> Packages) - double-click on R.mpkg to install
>> allows custom installation of all three parts (you can click on
>> "customize" after selecting target volume - the choices are R.app,
>> Framework and libxml2). limxml2 is not selected by default, so it
>> works
>> fine on Panther.
>>
>> Those having problems with earlier versions, please try the latest
>> installer and report any failures. If you have problems *installing*
>> R,
>> please don't forget to include the installer log in your report
>> (File->Show Log)!
>>
>> Simon
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>>
>>
>> End of R-SIG-Mac Digest, Vol 17, Issue 5
>> ****************************************
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-mac
>
More information about the R-SIG-Mac
mailing list