[R] Subtle changes from 1.1 to 1.2

About this list Date view Thread view Subject view Author view Other groups

Subject: [R] Subtle changes from 1.1 to 1.2
From: Alexander A. Morgan (amorgan@linus.mitre.org)
Date: Tue 19 Dec 2000 - 23:06:18 EST


Message-ID: <Pine.GSO.4.21.0012190757000.14062-100000@veloso.mitre.org>

Hello:
        Is there any documentation dealing with the functional differences
between R 1.1 and R 1.2. I have noticed some strange behavior in what is,
I guess, the namespace of libraries as well as some changes in reading in
tables.

        In a library, I don't seem to be able to declare a global variable
and then use it in that same library.

e.g.
> blah <<- 0
> print(blah)

will fail in a library. It will fail with the following message:

Error in print(blah) : Object "blah" not found

It works fine on the command line, and the declaration of a global
variable by itself in a library seems to work.

i.e.
> blah <<- 0

will allow you to use blah.

Also, it seems that R now converts the labels on columns to a form that
works as an R object (or at least removes hyphen). For example, if I read
in a table that has column headers such as "First-Data" it will convert
this to "First.Data". Is this intentional?

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Thu 01 Feb 2001 - 16:14:37 EST