Dear R-users,
i'm a very newbie in linux, but decided to build R from source.
Following the "R Installation and Administration" manual, i did this:
./configure --enable-R-shlib # this option is here because i intend to
build the GNOME console after...
make
make check
no problems in make check, but:
make check-devel #and also
make check-all
indicated some WARNINGs in the log file:
/usr/local/R-2.1.1/tests/tcltk.Rcheck/00check.Rcheck
Right below is the content of this log file (I translated some words):
[start log file]
* using log directory '/usr/local/R-2.1.1/tests/tcltk.Rcheck'
* using R version 2.1.1, 2005-06-20
* looks like 'tcltk' is a base package
* skipping installation test
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking DESCRIPTION meta-information ... OK
* checking package dependencies ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking S3 generic/method consistency ... WARNING
Erro: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
See section 'Generic functions and methods' of the 'Writing R
Extensions'
manual.
* checking replacement functions ... WARNING
Error: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
In R, the argument of a replacement function which corresponds to the right
hand side must be named 'value'.
* checking foreign function calls ... WARNING
Error: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
See section 'System and foreign language interfaces' of the 'Writing
R
Extensions' manual.
* checking Rd files ... OK
* checking for missing documentation entries ... WARNING
Error: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
All user-level objects in a package should have documentation entries.
See chapter 'Writing R documentation files' in manual 'Writing R
Extensions'.
* checking for code/documentation mismatches ... WARNING
Error: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
Error: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
Error: .First.lib failed for 'tcltk'
Call sequence:
2: stop(gettextf(".First.lib failed for '%s'",
libraryPkgName(package)),
domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
FALSE)
Interrupted execution
* checking Rd \usage sections ... OK
* checking DVI version of manual ... OK
[end log file]
The problem is in the tcltk package. I have searched in the archives,
but didin't find anything similar to this problem (maybe there is, but i
was not able to identify it). I really don't know what all the warnings
means. What i need to know is what am i missing, and if there is
something i can fix it. Also, are there any problems if i continue the
installation without fix something?
P.S.: actually R is running already from where it was buit, but i want
to install it. So i want to avoid future problems, if this warnings
really make some.
Any help is appreciated. Thanks!
Fernando Mayer.
version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu [SuSE 9.3]
system i686, linux-gnu
status
major 2
minor 1.1
year 2005
month 06
day 20
language R
[[alternative HTML version deleted]]
This is what happens if you don't have a usable X11 display. Did you perhaps use a root account on a console owned by a normal user? On Tue, 27 Sep 2005, Fernando Mayer wrote:> Dear R-users, > > i'm a very newbie in linux, but decided to build R from source. > Following the "R Installation and Administration" manual, i did this: > > ./configure --enable-R-shlib # this option is here because i intend to > build the GNOME console after... > make > make check > > no problems in make check, but: > > make check-devel #and also > make check-all > > indicated some WARNINGs in the log file: > > /usr/local/R-2.1.1/tests/tcltk.Rcheck/00check.Rcheck > > Right below is the content of this log file (I translated some words): > > [start log file] > > * using log directory '/usr/local/R-2.1.1/tests/tcltk.Rcheck' > * using R version 2.1.1, 2005-06-20 > * looks like 'tcltk' is a base package > * skipping installation test > * checking package directory ... OK > * checking for portable file names ... OK > * checking for sufficient/correct file permissions ... OK > * checking DESCRIPTION meta-information ... OK > * checking package dependencies ... OK > * checking index information ... OK > * checking package subdirectories ... OK > * checking S3 generic/method consistency ... WARNING > Erro: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > See section 'Generic functions and methods' of the 'Writing R Extensions' > manual. > * checking replacement functions ... WARNING > Error: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > In R, the argument of a replacement function which corresponds to the right > hand side must be named 'value'. > * checking foreign function calls ... WARNING > Error: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > See section 'System and foreign language interfaces' of the 'Writing R > Extensions' manual. > * checking Rd files ... OK > * checking for missing documentation entries ... WARNING > Error: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > All user-level objects in a package should have documentation entries. > See chapter 'Writing R documentation files' in manual 'Writing R > Extensions'. > * checking for code/documentation mismatches ... WARNING > Error: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > Error: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > Error: .First.lib failed for 'tcltk' > Call sequence: > 2: stop(gettextf(".First.lib failed for '%s'", libraryPkgName(package)), > domain = NA) > 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose > FALSE) > Interrupted execution > * checking Rd \usage sections ... OK > * checking DVI version of manual ... OK > > [end log file] > > The problem is in the tcltk package. I have searched in the archives, > but didin't find anything similar to this problem (maybe there is, but i > was not able to identify it). I really don't know what all the warnings > means. What i need to know is what am i missing, and if there is > something i can fix it. Also, are there any problems if i continue the > installation without fix something? > > P.S.: actually R is running already from where it was buit, but i want > to install it. So i want to avoid future problems, if this warnings > really make some. > > Any help is appreciated. Thanks! > > Fernando Mayer. > > version > _ > platform i686-pc-linux-gnu > arch i686 > os linux-gnu [SuSE 9.3] > system i686, linux-gnu > status > major 2 > minor 1.1 > year 2005 > month 06 > day 20 > language R > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 >-- 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
Fernando Mayer <mayerfer at yahoo.com.br> writes:> Dear R-users,..> Erro: .First.lib failed for 'tcltk'...> The problem is in the tcltk package. I have searched in the archives, > but didin't find anything similar to this problem (maybe there is, but i > was not able to identify it). I really don't know what all the warnings > means. What i need to know is what am i missing, and if there is > something i can fix it. Also, are there any problems if i continue the > installation without fix something?Well, tcl/tk isn't working...> P.S.: actually R is running already from where it was buit, but i want > to install it. So i want to avoid future problems, if this warnings > really make some. > > Any help is appreciated. Thanks! > > Fernando Mayer. > > version > _ > platform i686-pc-linux-gnu > arch i686 > os linux-gnu [SuSE 9.3]Installing the tk-devel and tcl-devel packages should help.> system i686, linux-gnu > status > major 2 > minor 1.1 > year 2005 > month 06 > day 20 > language R > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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 >-- O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907