How can I determine what are the stored variables in a function such as t.test?

For example, I may want to only output one of the following at a time:

t,df,p-value, confidence interval or mean.

Thanks. MM

```
t.test(x,y,paired=TRUE,alpha=.10,mu=5,alternative="two.sided")
Paired t-test
data: x and y
t = -3.5292, df = 31, p-value = 0.001325
alternative hypothesis: true difference in means is not equal to 5
95 percent confidence interval:
2.006935 4.199315
sample estimates:
mean of the differences
3.103125
```