fCalendar 262.73 install error
Cyril Vaclav
vacko at mail.kotelna.sk
Tue Apr 29 16:49:06 CEST 2008
Hi Yohan,
you were right with the package. The problem was in fUtilities. I'm
not sure with the rest.
I checked the installed.packeges() output and realized that
fUtilities had built 2.4.0 or 2.4.1. Hence I reinstalled fUtilities the
built field had changed to 2.6.2 and the problem with fCalendar disappeared.
See the report blow.
I do not know what exactly happend if someone change the built or I
installed the fUtilities under previous version of R (I doubt that it might
have an effect but I'm not expert).
thx
Cyril Vaclav
> install.packages('fUtilities')
trying URL
> 'http://cran.at.r-project.org/src/contrib/fUtilities_260.72.tar.gz'
Content type 'application/x-gzip' length 90562 bytes (88 Kb)
opened URL
==================================================
downloaded 88 Kb
* Installing *source* package 'fUtilities' ...
** R
** inst
** preparing package for lazy loading
Loading required package: RUnit
RUnit 0.4.17 loaded.
Loading required package: MASS
Loading required package: spatial
Loading required package: tcltk
Loading Tcl/Tk interface ... done
Loading required package: zoo
** help
>>> Building/Updating help pages for package 'fUtilities'
Formats: text html latex example
BasicExtensions text html latex example
BivariateInterpolation text html latex example
CodeTables text html latex example
ColorPalettes text html latex example
ColumnStatistics text html latex example
GeneralS4Extractors text html latex example
HeavisideFunction text html latex example
HypothesisTesting text html latex example
InteractivePlots text html latex example
PortableInnovations text html latex example
RowStatistics text html latex example
SkewnessKurtosis text html latex example
VectorMatrixAddon text html latex example
** building package indices ...
* DONE (fUtilities)
The downloaded packages are in
/tmp/RtmpmpJZAd/downloaded_packages
Updating HTML index of packages in '.Library'
On Tue, Apr 29, 2008 at 12:24:20PM +0200, Yohan Chalabi wrote:
> >>>> "CV" == vacko at mail.kotelna.sk (Cyril Vaclav)
> >>>> on Tue, 29 Apr 2008 11:07:11 +0200
>
>
> CV> I tried to install fCalendar version 262.73 on gentoo 2.6.18
> CV> and R 2.6.2
> CV> It did not worked very well. You can see the error below. I
> CV> know that similar
> CV> problem named as "[R] Can not install fCalendar package
> CV> under R 2.6.2" was already posted on 22 Mar
> CV> 2008.
> CV>
> CV> In that case the solution was to switch to windows OS. It
> CV> is definitely not my
> CV> case.
> CV>
> CV> Can anyone give me guide how to debug the problem. I tried
> CV> to run the
> CV> function .currentYear and it did work. The command Sys.setenv
> CV> exist and works.
> CV> I could not determine where from comes the connection
> CV> sys.source -> eval -> eval -> .currentYear -> Sys.setenv
> CV> given in the error messege.
> CV>
> CV> thx
> CV>
> CV> Cyril Vaclav
>
>
>
> Hi Cyril,
>
> I could not reproduce your problem on my debian box. But after a quick
> check, the problem might come from the fUtilities package.
>
> Sys.putenv was depreciated after 2.4.1 and replaced by Sys.setenv. We
> try as much as possible to be backward compatible and we need sometimes
> to play with the different versions of R.
>
> If you download the source package of fUtilities 260.72, you will find
> in file fUtilites/R/BasicExtensions.R the code which might create your
> problem:
>
> if (!exists("Sys.setenv"))
> {
> Sys.setenv =
> function(...)
> {
> x <- list(...)
> nm <- names(x)
> val <- as.character(unlist(x))
> x <- paste(nm, val, sep = "=")
> invisible(.Internal(putenv(x)))
> }
> }
>
> You could comment this section out and compile the modified package.
>
> Please let me know if it solves your issue.
>
> hope this help,
> Yohan
>
>
> --
> PhD student
> Swiss Federal Institute of Technology
> Zurich
>
> www.ethz.ch
> www.rmetrics.org
>
> NOTE:
> Rmetrics Workshop: http://www.rmetrics.org/meielisalp.htm
> June 29th - July 3rd Meielisalp, Lake Thune, Switzerland
>
More information about the Rmetrics-core
mailing list