customized summary stats

Sorry if this has already been posted, as it's relatively simple. I am looking to print out summary statistics for several variables (which is easy after reading trinker's post about xtable) but I don't need all of the ones that come in the summary( ) command (viz the quartiles). Is there a way that I can get a similar output layout but customize the summary stats that it gives you? Also, I have many categorical factor variables that I am looking at and if I run summary( ) it only returns 6 variables and categorizes the rest as (other), is there a way to get around this and have it give a summary of all of the variables?

Thanks for the help!

Edit: last sentence about getting summary of all of the categories in a factor variable
Last edited: