Hi,

Some R functions retrieve many statistical parameters such as pvalue, confidence interval etc… I would like to know how it is possible to extract those parameters from a R object ? For example here how can I get pvalue, t, df or the confidence interval of a simple t test ?

Thank’s for your help !

```
julia> using RCall
julia> x = randn(10)
10-element Array{Float64,1}:
-0.47693327074660957
1.0387442907193456
1.471145177183246
1.2446523937552667
-0.2859950512876116
-0.237134944977618
-0.46232255238398723
-0.5811878146338813
1.6876079198157776
-1.2109048316637905
julia> r = R"t.test($x)"
RObject{VecSxp}
One Sample t-test
data: `#JL`$x
t = 0.67176, df = 9, p-value = 0.5186
alternative hypothesis: true mean is not equal to 0
95 percent confidence interval:
-0.5179367 0.9554709
sample estimates:
mean of x
0.2187671
julia> fieldnames(RObject{VecSxp})
(:p,)
julia> getfield(r,:p)
Ptr{VecSxp} @0x000000000355c7d8
julia> r.p
Ptr{VecSxp} @0x000000000355c7d8
```