[18872] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] installing nnet library

daemon@ATHENA.MIT.EDU (fan@katan.cybercom.net)
Thu Aug 5 11:27:12 1999

From: fan@katan.cybercom.net
Date: Thu, 5 Aug 1999 11:19:08 -0400 (EDT)
To: s-news@wubios.wustl.edu
Message-Id: <Pine.LNX.4.04.9908051115380.28372-100000@katan.cybercom.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


I am installing "nnet" package into Splus5 and have several problems.
Please let me know if you are familiar with them.

I am using Version 5.0 Release 3 for Linux 2.0.32 : 1998.
The source code of nnet package is from http://lib.stat.cmu.edu/S/nnet
which is written for Splus3.1. I don't know whether this make much
difference

1.The first problem: while trying the example code, I got an error
message. What is the reason?

> ir <- rbind(iris[,,1],iris[,,2],iris[,,3])
> ir1 <- nnet(ir[samp,], targets[samp,],size=2, rang=0.1, decay=5e-4,
  maxit=200)
> smple <- c(sample(1:50,25), sample(51:100,25), sample(101:150,25))
Problem: Object "targets" not found 
Use traceback() to see the call stack

2. The command (taken from the file "INSTALL")
  Splus5 COMPILE nnet.c
is not recognized.

3. Finally, I wonder whether there is a nnet package for R. I didn't find
  it in http://lib.stat.cmu.edu/R/CRAN/src/contrib/PACKAGES.html,
  even though on R's FAQ nnet library has been listed.




-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post