I need to load to R packages : tseries and chron
Both have a function named is.weekend
I always have in my environment the function from the second package I loaded.
How can I access always the function from, let say, chron ?
library(chron) is.weekend.chron <- is.weekend library(tseries)
then you can call is.weekend for the tseries version or is.weekend.chron for the chron version