Displaying 4 results from an estimated 4 matches for "05s".
Did you mean:
05
2012 Feb 23
3
I'm sure I'm missing something with formatC() or sprintf()
...in this
instance. Neither of the syntaxes below change '2108' to '02108.' The values
in cand_receipts[,1] are of type 'character.'
cand_receipts[,1] <- formatC(cand_receipts[,1], width = 5, format = 's',
flag = '0')
cand_receipts[,1] <- sprintf("%05s", cand_receipts[,1])
Any thoughts?
Thanks,
Zack
--
View this message in context: http://r.789695.n4.nabble.com/I-m-sure-I-m-missing-something-with-formatC-or-sprintf-tp4414905p4414905.html
Sent from the R help mailing list archive at Nabble.com.
2012 May 22
3
pad leading zeros in front of strings
Dear All,
This question sounds very simple but I don't know where I am wrong. I just want to pad leading zeros in some string, for example, "123" becomes "00123". What is wrong if I do following?
> sprintf("%05s", "123")
[1] " 123"
It didn't return "00123", instead it padded with 'blank'.
Thank you for your help in advance.
HXD
[[alternative HTML version deleted]]
2005 Oct 01
7
Updated presentation of Asterisk 1.2
Friends,
I have updated my Asterisk 1.2 presentation with the latest information.
It is still available in the same place as before:
http://www.astricon.net/asterisk1-2/
Please continue to test the beta of Asterisk 1.2, available at
ftp.digium.com. We need all the feedback we can get. If you are a
developer and have some time for community work, please check in with
the bug tracker and help us
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list.
I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without
modifications.
How did I try it?
Created a (non-root) build environment (not a mock )
Installed the kernel.scr.rpm and did a
rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee
prep-out.log
The build failed at the end:
Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL
Checking