Function today()

I do not understand why when I run the function today(), it says "error in today (): could not find function "today" ", instead of showing me the date of the day as expected

base R has no function called today() though it does have Sys.Date() which give you that info.
There is a commonly used function called today() that is in the lubridate package, so you would need that installed, and in a session in which you wanted to use it either fully name it lubridate::today() or else load the library library(lubridate) and then use it in the normal way today()

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.