On Aug 15, 2010, at 5:57 PM, qingchen wrote:
Hello,
Is there a function in R with which we could find the greatest common
divisor directly?
Learn to search:
> rhelpSearch <- function(string,
restrict = c("Rhelp10", "Rhelp08", "Rhelp02",
"functions" ),
matchesPerPage = 100, ...)
RSiteSearch(string=string, restrict = restrict,
matchesPerPage = matchesPerPage, ...)
> rhelpSearch("greatest common divisor")
A search query has been submitted to http://search.r-project.org
The results page should open in your browser shortly
Or use package "sos"
Or is there a funciton, which could help us to find the remainder of a
division directly?
Same advice ... with the additional search strategy of:
?"%%"
#integer division remainder, but read all the caveats about using R
for activities regarding the different data types of numeric and
integer.
Best wishes! Thank you!
--
David Winsemius, MD
West Hartford, CT
______________________________________________
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.