Hi R, Please see the below commands. The question is I can see the value of log(2) before loading the package fcalendar in R. But after loading the package, the 'log' function doesn't work. How to solve this problem? Also note that the function code differs before and after downloading the packages.> logfunction (x, base = exp(1)) .Primitive("log")> log(2)[1] 0.6931472> library(fCalendar)Loading required package: fEcofin Rmetrics, (C) 1999-2006, Diethelm Wuertz, GPL fCalendar: Time, Date and Calendar Tools> library(fCalendar)> logfunction (x, base = exp(1)) { UseMethod("log") }> log(2)Error in .Internal(log(x)) : no internal function "log" Many Thanks for your help, Shubha This e-mail may contain confidential and/or privileged i...{{dropped:13}}
>>>> "SVK" == "Shubha Vishwanath Karanth" <shubhak at ambaresearch.com> >>>> on Thu, 12 Jun 2008 12:02:25 +0530SVK> Hi R, SVK> SVK> SVK> SVK> Please see the below commands. The question is I can see the value of SVK> log(2) before loading the package fcalendar in R. But after loading the SVK> package, the 'log' function doesn't work. How to solve this problem? SVK> Also note that the function code differs before and after downloading SVK> the packages. It seems that you are using a old version of fCalendar. Please update all your Rmetrics packages ("update.packages()") and use the latest R version. regards, Yohan -- PhD student Swiss Federal Institute of Technology Zurich ethz.ch rmetrics.org NOTE: Rmetrics Workshop: rmetrics.org/meielisalp.htm June 29th - July 3rd Meielisalp, Lake Thune, Switzerland