From d@vidhughjone@ @ending from gm@il@com  Thu Oct 25 18:46:47 2018
From: d@vidhughjone@ @ending from gm@il@com (David Hugh-Jones)
Date: Thu, 25 Oct 2018 17:46:47 +0100
Subject: [Rd] small bug in formatC?
Message-ID: <CAARY7kjB_L86pTUoSKNAMan8M9Jdhvais--8BoBrnRKGPSmxwA@mail.gmail.com>

formatC(0.0001, digits = 3, format = "f", zero.print="< 0.01")
Error in strrep(" ", nc - i1) : invalid 'times' value

The problem, if it is one, is in .format.zeros:
.format.zeros("0.000", "xxxxxx")
Error in strrep(" ", nc - i1) : invalid 'times' value

R version 3.5.1.


David

	[[alternative HTML version deleted]]



[Rd] small bug in formatC?
David Hugh-Jones