[R] check variables: a Q from a beginner

Roger Peng rpeng at stat.ucla.edu
Thu Jan 16 05:25:03 CET 2003


You may want to just try summary(varname) or more likely you want
str(varname).

-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng

On Wed, 15 Jan 2003, Yan Yu wrote:

> HI, all,
> How can i check the variables that is currently being loaded..
> ls() only list the variable name, but not the summary of the variable,
> like the dimension of the variable etc.. Is there a command in R, which
> is equivalent to "whos" in matlab, which let me check the variables
> currently loaded in Matlab..
> also, Does anyone have recommendation on ~a good reference to R..
> I could not find the answer to my Q in the documentation included with R
> package..
> 
> thanks,
> yan
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list