Skip to content

date() in win version

2 messages · Erich Neuwirth, Martin Maechler

#
when i do 
print(date())

the output is
[1] "Wed Sep 29 09:13:04 1999\n"

ios it on purpose the the linfeed is
shown as abbreviation and not done?


--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Erich> when i do print(date())

    Erich> the output is [1] "Wed Sep 29 09:13:04 1999\n"

    Erich> is it on purpose that the linefeed is shown as abbreviation and
    Erich> not done?

it's not on purpose;  it is a bug that has been fixed even in 0.65.0

Btw, print(.) itself adds a new line;
 but then, why use print() at all?  it is *the default function* 
 { as long as the object hasn't been  invisible()ized },
i.e.
	date()

should be what you want (once you use 0.65.0 or newer..)

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._