<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Matthew,<br>
<br>
The bug you reported is quite mysterious. The loadMethod function
is not a BIOMOD one.. and runing a similar example on my computer
(Linux) not crashes but the BinaryTransformation function has
changed recently so make sure to work with the last version of
BIOMOD.<br>
<br>
Even if it's not really the best solution, I guess you can remove
the error by not doing binary transformation of your projections
(setting BinRoc=F, BinTSS=F, BinKappa=F in projection function) <br>
<br>
That being said, for your future analyses, I strongly recommend
you to work with biomod2 package (BIOMOD realease).<br>
<br>
Best,<br>
<br>
Damien<br>
<br>
<br>
On 10/08/2012 21:31, Matthew Moskwik wrote:<br>
</div>
<blockquote cite="mid:5BBDE1BD02BC472CAF06C60EDF0AF381@mpmoskwikPC"
type="cite">
<div dir="ltr">
<div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
12pt">
<div style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY:
'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT:
normal; TEXT-DECORATION: none">
<div dir="ltr">
<div style="FONT-FAMILY: 'Calibri'; COLOR: #000000;
FONT-SIZE: 12pt">
<div><span class="textSmall"><font face="Times New
Roman">I’m using BIOMOD version 1.1-7.03 in R
2.15.1 on a Linux cluster. I’ve written an R
script which builds models and then uses the
Projection function to project onto several future
climate surfaces. When the script reaches the
Projection function, I receive the following
error:</font></span></div>
<div><span class="textSmall"></span> </div>
<div><span class="textSmall"><font face="Times New
Roman">Error in BinaryTransformation(g[, a, Nrep,
jj], as.numeric(Evaluation.results.Roc[[i]][a, : <br>
could not find function "loadMethod" <br>
Calls: Projection -> BinaryTransformation <br>
Execution halted</font></span></div>
<div><span class="textSmall"></span> </div>
<div><span class="textSmall"><font face="Times New
Roman">I’ve run the same script on a local Windows
machine with the same version of R and BIOMOD with
no problems. However, if I use the previous
BIOMOD version 1.1-7.02 on the Linux cluster, I do
not receive this error (the script completes
without any errors). Thus, the error only appears
when running the most current version of BIOMOD on
the Linux cluster. I should also add that the
installed R packages on my Windows machine are
identical to those installed on the Linux
cluster. Any ideas what might be causing this
problem? Thanks. </font></span></div>
<div><span class="textSmall"></span> </div>
<div><span class="textSmall"><font face="Times New
Roman">I wanted to use the most recent version of
BIOMOD, as it calculates evaluation metrics (Roc,
TSS, Kappa) for independent data for each
replicate, whereas version 1.1-7.02 does not.</font></span></div>
<div><span class="textSmall"></span> </div>
<div><span class="textSmall"><font face="Times New
Roman">Any help is appreciated. Thanks.</font></span></div>
<div><span class="textSmall"></span> </div>
<div><span class="textSmall"><font face="Times New
Roman">Matthew Moskwik</font></span></div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Biomod-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Biomod-commits@lists.r-forge.r-project.org">Biomod-commits@lists.r-forge.r-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits</a></pre>
</blockquote>
<br>
</body>
</html>