On 09-Aug-09 16:06:52, Peng Yu wrote:
> Hi,
> I know '.' is not a separator in R as in C++. I am wondering where it
> discusses the detailed usage of '.' in R. Can somebody point me a
> webpage, a manual or a book that discuss this?
> 
> Regards,
> Peng

To the best of my knowledge, apart from its specific use as a separator
between the integer and fractional parts of a number, "." has no specific
use in R, and you can, for instance, use it just as you would use an
alphanumeric character in a name.

For instance, you could do

  . <- 1.2345
  .
  # [1] 1.2345

  . <- function(x) x^2
  .(12)
  # [1] 144

So, unless there is something I don't know about, there is hardly
anything to discuss about "the detailed usage of '.' in R"!

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.hard...@manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 09-Aug-09                                       Time: 17:32:54
------------------------------ XFMail ------------------------------

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to