Re: [R] Are infix binary operators ** and ^ aliased?

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 12 Jul 2006 - 21:57:28 EST

Jean lobry <lobry@biomserv.univ-lyon1.fr> writes:

> Dear R-help,
>
> After making a typo (reminiscent of FORTRAN 77, I guess) I found the
> following:
>
> > identical(all.equal(2^(-10:10), 2**(-10:10)), TRUE)
> [1] TRUE
>
> I have tried to find the documentation about the ** operator but I was
> unsuccesful this way:
>
> > sessionInfo()
> Version 2.3.1 (2006-06-01)
> powerpc-apple-darwin8.6.0
>
> attached base packages:
> [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets"
> [7] "base"
> > help("**")
> No documentation for '**' in specified packages and libraries:
> you could try 'help.search("**")'
> > help.search("\\*\\*")
> No help files found with alias or concept or title matching '\*\*'
> using regular expression matching.
> > RSiteSearch("**")
> A search query has been submitted to http://search.r-project.org
> The results page should open in your browser shortly
> # --> Too many hits
>
> Where can I find the documentation about the ** operator?
>
> Thanks for any hint,

It's a relic, which might be useful to have for someone, but which we don't advertise:

> quote(3**2)

3^2

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jul 12 22:02:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 13 Jul 2006 - 00:21:23 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.