> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of daniel guertin > Sent: Wednesday, April 30, 2008 9:59 AM > To: r-help@r-project.org > Subject: [R] sudden problem with script > > > > Hi, > > First off, please understand that I am not a frequent R user. I am trying to > use a script > generated by another program in R for a certain analysis. I have used the > script > successfully in the past. Recently, when trying to load the script, I > receive a warning > message: package 'nls' has been merged with 'stats'. As a result, program R > does not > do the analysis. Does anyone have any idea how to fix this sudden problem? > I have > not done anything differently between my successful analyses and the current > attempts. Any advice would be greatly appreciated. > > Thanks > Dan > >
My crystal ball is malfunctioning, so from way over here it is hard to see your code. Without seeing the script it is speculation, but the script likely has a reference to the package nls in a library statement. Something like library(nls) You can change that to library(stats) and the script will likely run. But again, this is pure speculation. Dan Daniel Nordlund Bothell, WA USA ______________________________________________ R-help@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.