I have a script that sometimes produces the following error:
Error in assign(".target", method at target, envir = envir) :
formal argument "envir" matched by multiple actual arguments
Do you think this is a memory issue? I don't know what else it could be
as it doesn't always occur even if the script is run with exactly the
same data.
Does rm() actually free up memory?
Thanks
Dan
--
**************************************************************
Daniel Brewer, Ph.D.
Institute of Cancer Research
Molecular Carcinogenesis
Email: daniel.brewer at icr.ac.uk
**************************************************************
The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company
Limited by Guarantee, Registered in England under Company No. 534147 with its
Registered Office at 123 Old Brompton Road, London SW7 3RP.
This e-mail message is confidential and for use by the a...{{dropped:2}}
Daniel Brewer wrote:> I have a script that sometimes produces the following error: > > Error in assign(".target", method at target, envir = envir) : > formal argument "envir" matched by multiple actual arguments > > Do you think this is a memory issue? I don't know what else it could be > as it doesn't always occur even if the script is run with exactly the > same data. > > Does rm() actually free up memory? > > Thanks > > Dan > >Hi, There are multiple threads on this subject on the R-help list, googling for "formal argument matched by mutiple actual arguments" lead me to: http://tolstoy.newcastle.edu.au/R/help/05/08/10698.html So this is probably not a memory issue. Freeing up memory can be done using gc(). cheers and hth, Paul -- Drs. Paul Hiemstra Department of Physical Geography Faculty of Geosciences University of Utrecht Heidelberglaan 2 P.O. Box 80.115 3508 TC Utrecht Phone: +31302535773 Fax: +31302531145 http://intamap.geo.uu.nl/~paul