I have been having problems with these two 'libraries' since I installed 2.0.0. I have built a package with couple of functions so that I can load it at startup every time R is booted. The problem is that I have the following error every time I call the library Loading required package: tclk Error: package 'tclk' could not be loaded In addition: Warning message: There is no package called 'tclk' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) However I can load tcltk library now (thanks to Dirk for helping me with this). I can load the functions I have in the library and everything works fine. I cannot find any information on this except the following thread which was not resolved. http://tolstoy.newcastle.edu.au/R/help/04/01/0410.html Any help or ideas are greatly appreciated. P.S. what is the difference between tclk and tcltk? and why calling the installed library is requiring tclk? I just made up a dummy package with a function fun<-function(x) x^2 just to test and the same thing happens (Loading required package: tclk ...). This is on a Linux debian unstable with the kernel 2.4.20-bf2.4-xfs Thank you for all the help. jean
What is package `tclk'? I think you have a typo somewhere in your code. At a guess you have Depends: tclk in a DESCRIPTION file for one of your packages. On Tue, 12 Oct 2004, Jean Eid wrote:> I have been having problems with these two 'libraries' since I installed > 2.0.0. > I have built a package with couple of functions so that I can load it at > startup every time R is booted. The problem is that I have the following > error every time I call the library > > Loading required package: tclk > Error: package 'tclk' could not be loaded > In addition: Warning message: > There is no package called 'tclk' in: library(pkg, character.only = TRUE, logical = TRUE, lib.loc = lib.loc) > > > However I can load tcltk library now (thanks to Dirk for helping me with > this). I can load the functions I have in the library and everything works > fine. > > I cannot find any information on this except the following thread which > was not resolved. > http://tolstoy.newcastle.edu.au/R/help/04/01/0410.htmlIt was resolved, and in any case it was about installing 64-bit Tcl/Tk on Solaris, something that was (and is) covered in the R Installation manual.> Any help or ideas are greatly appreciated. > > P.S. what is the difference between tclk and tcltk? and why calling the > installed library is requiring tclk? I just made up a dummy package with a > function > > fun<-function(x) x^2 > > just to test and the same thing happens (Loading required package: tclk > ...). > > This is on a Linux debian unstable with the kernel 2.4.20-bf2.4-xfs-- 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
>From NEWS of R-2.0.0:o library() now checks the version dependence (if any) of required packages mentioned in the Depends: field of the DESCRIPTION file. This is not done in R-1.9.1 and prior, I believe (or it wouldn't be in NEWS). Andy> From: Jean Eid > > Thanks to Brian. I was looking everywhere except the typo. I guess the > previous build (1.9.1) ignored the dependece error. > > Thanks again, > > jean > > On Tue, 12 Oct 2004, Prof Brian Ripley wrote: > > > What is package `tclk'? I think you have a typo somewhere > in your code. > > At a guess you have > > > > Depends: tclk > > > > in a DESCRIPTION file for one of your packages. > > > > > > On Tue, 12 Oct 2004, Jean Eid wrote: > > > > > I have been having problems with these two 'libraries' > since I installed > > > 2.0.0. > > > I have built a package with couple of functions so that I > can load it at > > > startup every time R is booted. The problem is that I > have the following > > > error every time I call the library > > > > > > Loading required package: tclk > > > Error: package 'tclk' could not be loaded > > > In addition: Warning message: > > > There is no package called 'tclk' in: library(pkg, > character.only = TRUE, logical = TRUE, lib.loc = lib.loc) > > > > > > > > > However I can load tcltk library now (thanks to Dirk for > helping me with > > > this). I can load the functions I have in the library and > everything works > > > fine. > > > > > > I cannot find any information on this except the > following thread which > > > was not resolved. > > > http://tolstoy.newcastle.edu.au/R/help/04/01/0410.html > > > > It was resolved, and in any case it was about installing > 64-bit Tcl/Tk on > > Solaris, something that was (and is) covered in the R > Installation manual. > > > > > Any help or ideas are greatly appreciated. > > > > > > P.S. what is the difference between tclk and tcltk? and > why calling the > > > installed library is requiring tclk? I just made up a > dummy package with a > > > function > > > > > > fun<-function(x) x^2 > > > > > > just to test and the same thing happens (Loading required > package: tclk > > > ...). > > > > > > This is on a Linux debian unstable with the kernel > 2.4.20-bf2.4-xfs > > > > -- > > 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 > > > > > > ______________________________________________ > 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 > >