On Fri, 25 Nov 2011, juliastone wrote:
Hi everybody,
i'm trying to draw rarefaction curves to estimate a population size from
genotyped faeces.
I used the Gimlet software which gave me a script and a "rarefaction.txt"
file. I've copied both files in the work directory of R.
I changed library(nls) by library(stats) in the script.
But now, i'm still unable to run it.
If i ask to show error messages, the software gives me after the last line :
"Read 36 items
Erreur dans return(echa, faesel) :
les renvois multi-arguments sont inderdits".
Does anybody know where i made a mistake?
It is a very old R script: package nls went in Oct 2004. As did the
(even longer deprecated) ability to do
return(mean, var)
which nowadays needs to be
return(list(mean=mean, var=var))
A guess at what software you are talking about suggests it was last
updated in 2004. There are enough people here who remember R from
those days to be able to help with such R changes, but English
messages (run R with LANGUAGE=en) will maximize the pool.
Thanks a lot,
--
View this message in context:
http://r.789695.n4.nabble.com/rarefaction-curves-unable-to-run-the-R-script-from-Gimlet-tp4106847p4106847.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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.
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
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.