Displaying 20 results from an estimated 4000 matches similar to: "DO NOT REPLY [Bug 5529] New: Use commas in displayed numbers"
2007 Feb 07
3
Redirect --stats to STDERR.
Hello,
I have written a little script that's would email me all errors.
rsync -vah --delete --stats <sources> <destination> >
/var/log/sauvegarde/listoffile.log 2> /var/log/sauvegarde/errors.log
My problem is i want to have the stats in my mail. Is it possible to
redirect --stats to STDERR.
I have tryed to do this :
/---
2009 Apr 16
2
Count data with several numbers separated by commas
Dear all,
I have a data file with 3 variables (x1, x2, x3) where variable x1
have data that consists of several numbers separated by commas.
id name x1 x2 x3
aa101 1,4,5 2 1
aa102 1,2,5 1 2
aa103 1,2,5 1 1
aa104 1,2,3 1 2
aa105 1,5 2 2
aa106 1,2,5 2 2
aa107 1,2,5 2 1
aa108 1,4,5 2 1
aa109 1,2 1 2
aa110 3,5 1 2
I want to count the number of data for each
2008 Sep 23
1
Newbie: Formatting numbers with commas
Hi,
Search through the R archives, and couldn't find my answer... how do
you format numbers with commas (standard American, one every three
digits)?
Thanks,
Matt
--
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas
2006 Jan 24
7
formatting numbers with commas
I needed to format numbers with commas to make it more human
readable. Here''s how I did it.
def commify(number)
c = { :value => "", :length => 0 }
r = number.to_s.reverse.split("").inject(c) do |t, e|
iv, il = t[:value], t[:length]
iv += '','' if il % 3 == 0 && il != 0
{ :value => iv + e, :length =>
2009 Aug 06
2
Re move all punctuations except commas
Dear all,
I wanted to remove all punctuations except commas from a string.
I used:
gsub("[[:punct:]]", "", string)
but I don't know how to exclude the commas ",". Anyone would kindly answer
my basic question?
--
View this message in context: http://www.nabble.com/Remove-all-punctuations-except-commas-tp24845721p24845721.html
Sent from the R help mailing list
2002 Mar 13
1
Commas in formatC
formatC() is great for formatting numbers! But it would be even better if it
could optionally insert commas (or semicolons), e.g.
R> formatC(1234567.89, digits=2, format="f", commas=T)
[1] "1,234,567.89"
Here's a snippet of code that does that, which could more or less just be
inserted into at the end of formatC if any R-core guru were so inclined. "r"
2004 Aug 06
2
commas are status2.xsl?
in the status2.xsl there seems to be some extra commas ...
--snippet of status2.xsl
Global,Client:<xsl:value-of select="connections" /> Source:
<xsl:value-of select="source_connections" />,,<xsl:value-of
select="listeners" />,,
<xsl:for-each select="source">
<xsl:value-of select="@mount" />,,<xsl:value-of
2011 Jun 13
4
remove commas in a number when reading a text file
Hello,
I'm running version R x64 v2.12.2 on a 64bit windows 7 PC. I'm trying to read a text file using read.table where the values have a format like "1,234,567". What I want is "1234567". Is there a quick way to strip out the commas? I can use strsplit and paste, but the file is quite large and would take some time. Thanks.
Eric
[[alternative HTML version
2011 Jun 14
1
Putting commas in between character strings
I have a number of strings in a vector, and want the output to be seperated
by commas.
> t [1] "35004" "35005" "35006" "35007" "35010" "35014" "35016"
So I want want it to look like:
"35004", 35005", "35006", "35007",...
Can anyone help? I initially thought strsplit would be the
2010 Jan 07
1
Help formating data to display commas
I'm using the following code to create quartile intervals of my dataset and it is working like it is suppose too. In my final output of the data I would like currency amounts to be displayed with commas. I have not found an option either through FormatC or sprintf that will display the data with commas, they only seem to add decimals. Is there a format that will display commas without me
2007 May 11
14
Trailing commas [best practice survey]
I''m sure everyone has read and committed the Puppet Best Practice to memory
by now (I joke). One of the things I''ve written in there deals with
trailing commas, which I adopted from the way I used to do multiline in
Perl, but I''ve noticed that most people don''t tend to do that in Puppet.
Should I revise this or should we all start using the trailing commas?
2008 Oct 01
3
[LLVMdev] llvm-gcc linux build broken
> This means that I don't have a working llvm-gcc with TOT either.
I get the same thing on x86-32.
Ciao,
Duncan.
2008 Oct 01
0
[LLVMdev] llvm-gcc linux build broken
On 2008-10-01 18:55, Duncan Sands wrote:
>> This means that I don't have a working llvm-gcc with TOT either.
>>
>
> I get the same thing on x86-32.
>
> Ciao,
>
> Duncan.
>
HAVE_STDLIB_H is not defined, which causes a 'char* malloc()' definition
in cplus-dem.c.
>From config.log:
configure:8421: checking for stdlib.h
configure:8461: result:
2018 Aug 25
2
GNOME, numeric keypad & commas
Hi,
Our local school has a 100 % CentOS network on servers and desktops.
Until recently, we were using a highly customized Xfce desktop
environment. Last week I decided to migrate all desktops from Xfce to
GNOME, which went quite well. Now I have to sand down some rough edges.
The secretary complained that she can't use the numeric keypad as
before. She's using LibreOffice Calc a lot,
2011 Dec 22
1
Properly Escaping Quotes and Commas
Hello all,
I have a setup where Asterisk sends a message to a few jabber users on each
incoming call, like:
exten => s,n,Macro(sendim,"Incoming call from ${CALLERID(all)}")
The macro looks like this:
[macro-sendimuser2]
exten => s,n,JabberSend(asterisk,user2 at gmail.com,${ARG1})
exten => s,n,JabberSend(asterisk,user2 at internal.jabber.server.tld,${ARG1})
[macro-sendim]
2006 Feb 01
2
Write.table: change points to commas when object contains a row of characters
Dear Group! I asked write.table to change the decimal point from "." to
"," , but apparently it would only do so if the object to be written
does not contain any character elements. I would like to understand, why
this has to be so and - of course - find a solution for my matrix object
jjmat, that I tried to write out by
write.table(jjmat, file="jjmat.txt",
2007 Dec 12
1
Problem with filenames with commas in them
This is a continuation of my previous problem where cp could copy
files whereas rsync couldn't. It turns out that the problem is with
files which have commas in their names, rsync can write the initial
version of the file but it can't check/rewrite them.
Here is the error I get from rsync when trying to overwrite the files
(using --inplace) :-
home# rsync -r --inplace .in
2014 Dec 09
4
Passing literals with commas to subroutine
Hi,
Let's say I do:
Set(data=xxx,yyy)
Gosub(my-sub,s,1(${data}))
My subroutine will only receive "xxx" for ARG1. How can I pass a literal
with a comma to a single argument in a subroutine?
(The point is: when calling the subroutine I do not know if the variable
has a comma or not.)
Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Sep 24
3
Data manipulations with numbers which are in 'comma' format
Hi R,
May be a trivial question, but struggling to find a solution...
v=data.frame(a=c("1,234","2,345","5,567"))
> v
a
1 1,234
2 2,345
3 5,567
I need a column 'b', which is just the addition of column 'a' with 5.
How do I do it? And, entries in column 'a' are with commas, always.
Also, class(v$a)=factor.
2014 Dec 29
0
Commas is variables problem
Hi,
I'm running into a strange problem with commas is variables. I have the
following contexts:
[messages]
exten => _+.,1,Noop(External SMS)
same => n,Set(ACTUALTO=${CUT(CUT(MESSAGE(to),@,1),:,2)})
same => n,Macro(goip_sendsms,${ACTUALTO},"${MESSAGE(body)}")
same => n,Hangup()
[macro-goip_sendsms] ;Call Macro(goip_sendsms,number,message)
exten => s,1,Noop(SMS