I want to output today's date without quotes and without line numbers. How do I get rid of the line number? [1] looks like row 1 of a matrix
R code:
noquote(as.character(Sys.Date()))
[1] 2019-11-21
Sys.Date() Makes the problem a little different than usual. Unless code is exactly as I am giving in the solution Sys.Date will be output with a "". I tried using a semicolon at the end of the line to prevent that from happening but was not successful.
My cursor is messed up when I use the following suggested command.
Output:
> cat(as.character(Sys.Date()))
2019-11-21>
Thanks. MM