[Biomod-commits] Error in model.frame.default - "invalid type (list) for variable" - using BIOMOD

Wilfried Thuiller wilfried.thuiller at ujf-grenoble.fr
Fri May 11 08:01:09 CEST 2012

OK, I have uncovered the bug. It has to do with an update we did sometime ago. 
Will update the package soon with the big fixed. 

It works with revision 289 BTW (it has, in theory, nothing to do with the environment or the R version). 

If is really urgent, just send me a private email (out of the list because it rejects large email) and I will send you the previous version of the function bugging right now (.Biomod.Models)

Sorry for the inconvenience


Le 11 mai 2012 à 06:48, Kobus Botha a écrit :

> Hi guys.  See my in-line reply below.
> On 10/05/2012 4:57 PM, Oscar Javier Ramos wrote:
>> Hi,
>> I'm beginning with BIOMOD. 
>> Just running the example on the "BIOMOD: Tutorial (February 13, 2012)" => data(Sp.Env)", 
>> I got the following error:
>> <snip>
>> Error in model.frame.default(formula = eval(parse(text = paste("Target[Samp$calibration]",  : 
>>   invalid type (list) for variable 'Var1'
> Oscar: please confirm the details of your system.  Specifically: 
> - Is it 32-bit or 64-bit windows (Vista, 7 or 8) or Linux or OSX?  
> - Which version of R are you running?  You can check your version of R by typing >R.version.string 
> - Did you install BIOMOD from source or did you use the "install.packages" command?  
> On 10 May 2012 23:15, Chris Hassall <chassall at connect.carleton.ca> wrote:
> I have exactly the same problem, both with my own data and with the tutorial data.  I have not found a solution or any previous mention of this problem.  I have used BIOMOD successfully before on the same computer.  I have BIOMOD version 1.1-7.02/r300 and R version 2.15.0 (all up to date).
> Chris: not sure if this will help, but I have been able to get BIOMOD to work with the tutorial data using "R version 2.14.2 (2012-02-29)"  on a Windows 7 64-bit setup.  Perhaps reverting to an older version will work for you.  However, I am getting a similar error with the exact same version of R on Ubuntu 12.04 :\
> If anyone knows what is causing this error I would also like to know.
> Cheers,
> Kobus
> _______________________________________________
> Biomod-commits mailing list
> Biomod-commits at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits

Dr. Wilfried Thuiller
Laboratoire d'Ecologie Alpine, UMR CNRS 5553
Université Joseph Fourier
BP53, 38041 Grenoble cedex 9, France
tel: +33 (0)4 76 51 44 97
fax: +33 (0)4 76 51 42 79

Email: wilfried.thuiller at ujf-grenoble.fr
Personal website: http://www.will.chez-alice.fr
Team website: http://www-leca.ujf-grenoble.fr/equipes/emabio.htm

ERC Starting Grant TEEMBIO project: http://www.will.chez-alice.fr/Research.html
FP6 European EcoChange project: http://www.ecochange-project.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/biomod-commits/attachments/20120511/f0b54849/attachment.html>

More information about the Biomod-commits mailing list