s-news
[Top] [All Lists]

Re: Changing a read-only data frame to read/write

To: s-news@wubios.wustl.edu
Subject: Re: Changing a read-only data frame to read/write
From: Wim Kimmerer <kimmerer@sfsu.edu>
Date: Thu, 08 Sep 2005 07:19:45 -0700

The "named" data class has been a thorn in my side (and probably everybody else's) since it was introduced in V.6. I was disappointed that it has not changed in v.7. That, coupled with several extra bugs and the lack of response by Insightful to my request to lighten up on the licensing rules, led me to go back to V. 6.

You have to use "as.numeric" to get rid of the named class before you can put it in a data frame if you want to avoid that "read-only" problem. Sure, it is a small thing, but it is very annoying and a frequent source of error (since nowhere are the rules written about what produces a named class and what doesn't). Plus it is not mentioned in the documentation as far as I know.

Wim

======================
Dr. Wim Kimmerer
Research Professor of Biology
Romberg Tiburon Center
San Francisco State University
3152 Paradise Drive
Tiburon CA 94920
Ph. (415) 338-3515
Fax (415) 435-7120
http://online.sfsu.edu/~kimmerer/
<Prev in Thread] Current Thread [Next in Thread>