You may be looking for something like the e1071 package...
Description: Functions for latent class analysis, short time Fourier transform, fuzzy clustering, support vector machines, shortest path computation, bagged clustering, naive Bayes classifier,...
Godspeed on your journey...