Liaw, Andy
2005-Apr-25 00:35 UTC
[R] installing R-2.1.0 from source on Fedora Core 3 with tclt k
On my FC3 for x86_64 (Athlon64 3000+) at home, R-patched from today compiled just fine, and tcltk works. The version of tcl, tcl-devel, tk and tk-devel are all 8.4.7-2. Cheers, Andy> From: Jonathan Baron > > I installed from source on Fedora Core 3 starting with the > command > > ./configure --prefix=/usr --with-tcltk > > (The --with-tcltk may not be necessary, but there seems to be > some correlation between using it and getting it to work.) > > It would not compile with tcltk, even though I had both tcl and > tk rpms installed. > > Various fooling around let me to get >http://www.murdoch-sutherland.com/Rtools/R_Tcl.zip (even though it is supposedly for Windows), unzip it in the R-2.0.0/ directory (where the tar file put itself), and also install rpms for tcl-devel and tk-devel, which I did not have. When I did both of these things, it worked. Either one of them alone (the ..devel rpms or the R_Tcl.zip) did not suffice. (However, it isn't clear that a single trial experiment is sufficient to determine what works.) My own problem is solved for the moment. But others may benefit from this report, and it may be that the installation documentation needs minor tweaking. (Or it may be that I did something else wrong, but right now I doubt that.) Jon -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Prof Brian Ripley
2005-Apr-26 12:56 UTC
[R] installing R-2.1.0 from source on Fedora Core 3 with tclt k
On Sun, 24 Apr 2005, Liaw, Andy wrote:> On my FC3 for x86_64 (Athlon64 3000+) at home, R-patched from today compiled > just fine, and tcltk works. The version of tcl, tcl-devel, tk and tk-devel > are all 8.4.7-2.Indeed. Since FC3 is the platform used by two (at least) of R-core and both have 64-bit machines, it would be surprising if there were a problem there.>> From: Jonathan Baron >> >> I installed from source on Fedora Core 3 starting with the >> command >> >> ./configure --prefix=/usr --with-tcltk >> >> (The --with-tcltk may not be necessary, but there seems to be >> some correlation between using it and getting it to work.) >> >> It would not compile with tcltk, even though I had both tcl and >> tk rpms installed. >> >> Various fooling around let me to get >> > http://www.murdoch-sutherland.com/Rtools/R_Tcl.zip > > (even though it is supposedly for Windows), unzip it in the > R-2.0.0/ directory (where the tar file put itself), and also > install rpms for tcl-devel and tk-devel, which I did not have. > When I did both of these things, it worked. Either one of them > alone (the ..devel rpms or the R_Tcl.zip) did not suffice.You need the non-devel rpms as well, and that is what I think you are picking up from the R_Tcl.zip (which is Tcl pre-compiled for Windows).> (However, it isn't clear that a single trial experiment is > sufficient to determine what works.) > > My own problem is solved for the moment. But others may benefit > from this report, and it may be that the installation > documentation needs minor tweaking. (Or it may be that I did > something else wrong, but right now I doubt that.)-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595