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. > log function (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) > log function (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}} ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.