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

Kobus Botha contactkobus at gmail.com
Fri May 11 06:48:17 CEST 2012

Hi guys.  See my in-line reply below.

On 10/05/2012 4:57 PM, Oscar Javier Ramos wrote:


I'm beginning with BIOMOD.

Just running the example on the "BIOMOD: Tutorial (February 13, 2012)" =>

I got the following error:


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"

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.

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

More information about the Biomod-commits mailing list