Hello:
It's hard to RTFM if you don't know which FMTR. I only found one
with the "obvious search strategy" with my favorite search tools, which
may nevertheless be unfamiliar to Cliff Clive.
RSiteSearch('prime factorization') # produced 3 matches, the first of
which is the "primeFactors" function in the "surveillance" package.
install.packages('sos') # if you don't already have it
library(sos)
pf <- findFn('prime factorization') # only 3 matches
pf # open the result in a web browser with a link to the "primeFactors"
function above.
DAVID: You say there are "At least two." How can I find the other one?
Thanks,
Spencer
On 9/21/2010 11:14 AM, David Winsemius wrote:
On Sep 21, 2010, at 11:33 AM, Cliff Clive wrote:
Hi everyone, I have a very quick question:
Is there a ready-made function in R or any R packages to find the prime
factorization of an integer?
Yes. At least two. The obvious search strategy with your favrite
search tool should work well.
--
Spencer Graves, PE, PhD
President and Chief Operating Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph: 408-655-4567
______________________________________________
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.