[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 06:49:45 CEST 2012


hi there,
Very weird. I am on it, will get back to you soon. 
Wilfried


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/2fb09cb7/attachment-0001.html>


More information about the Biomod-commits mailing list