Re: Very simple S+ command?



On 3월26일, 오후6시45분, Philipp Pagel <pDOTpa...@xxxxxxxxxxxxxxxxxxxxx>
wrote:
jk90029 <jk90...@xxxxxxxxx> wrote:
a <- 15
cat("\n", a, "%")
If I want to produce 15% instead of 15 %. (Hope to stick together),
how can I change the above cat command?

At least in R you can write

cat("\n", a, "%", sep='')

In cases like this the manual page for the respective command is usually
helpful. In R you would type

?cat

 or

help(cat)

I guess there is something similar in S+

cu
        Philipp

--
Dr. Philipp Pagel
Lehrstuhl f. Genomorientierte Bioinformatik
Technische Universität Münchenhttp://mips.gsf.de/staff/pagel

Thanks Phillip. It really helps.

-Jay
.



Relevant Pages

  • Re: Very simple S+ command?
    ... how can I change the above cat command? ... Lehrstuhl f. ... Genomorientierte Bioinformatik ... Technische Universität München ...
    (sci.stat.math)
  • Re: updating with aptitude
    ... Lehrstuhl f. ... Genomorientierte Bioinformatik ... Technische Universität München ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to pass shell variable to shell script from python
    ... Dr. Philipp Pagel ... Lehrstuhl f. ... Genomorientierte Bioinformatik ... Technische Universität München ...
    (comp.lang.python)
  • Re: (OT) Nokia Buys Trolltech
    ... In comp.os.linux.misc draeath wrote: ... Lehrstuhl f. ... Genomorientierte Bioinformatik Fax. +49-8161-71 2186 ... Technische Universität München ...
    (comp.os.linux.misc)
  • Re: How to covert ASCII to integer in Python?
    ... 'P' is obviously not an ASCII representation of a number. ... Lehrstuhl f. ... Genomorientierte Bioinformatik ... Technische Universit�t M�nchenhttp://mips.gsf.de/staff/pagel ...
    (comp.lang.python)