[R] What is the difference between typeof and storage.mode?

David Winsemius dwinsemius at comcast.net
Thu Feb 11 01:40:58 CET 2010


On Feb 10, 2010, at 6:34 PM, bluesky315 at gmail.com wrote:

> S Programming by Venables and Ripley (2000) says on page 8, "R objects
> have another way to give information using the function
> \tttext{typeof}, which often gives the same information as
> \tttext{storage.mode}." It implies that there are some differences
> between typeof and storage.mode.
>
> However, according to ?typeof and ?storage.mode, it doesn't seem to be
> so. Could somebody let me know if there is any difference? If there
> is, what the difference is?

Dear Peng Yu;

  There is a difference.

>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list