Hi,
perhaps this is again a silly question ...

As I am using R on different machines, some are version 1.8.1 and some
1.9.1.

One of the changes between these versions is the change in default
libraries loaded when reading scripts.

So I started my scripts with:

if (R.version$minor>="9.0") {
        library(utils)
        library(graphics)
        library(stats)
}

It appeard to work but now I get "could'n find function factanal" in
version 1.8.1.

What would be a safe and sane way to ensure all relevant libraries are
loaded irrespective of version?

-- 
Saluti,
Antonio Prioglio

-- 
We are what we repeatedly do. Excellence, then, is not an act, but a habit.
                                                        Aristoteles


    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL 
     X                           - AGAINST MS ATTACHMENTS
    / \

http://www.gnu.org/philosophy/no-word-attachments.html

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to