You are here

R edition cannot use this model

Hi,

We built a model Simile 6.9 (windows version).

We are now trying to load it with R in Linux, but we cannot. Here is what we did:

  1. We openned the model first in Linux (with Simile 6.9 as well), and exported the binary (a .so file).
  2. We installed the "Simile" package in R (version 1.3.3) and we tried to load our model with:

require("Simile")

exec.extn <- as.character(tcl("info","sharedlibextension"))

path.to.installation <- "/usr/lib64/simile-6.9"

use.simile.at(path.to.installation)

mHandle <- load.model("ourmodel.so")

But we get the following error message:

Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] R edition cannot use this model.

<!--break-->

We have tcktk package for R with version:  ‘3.5.3’

When we try to load the spiro.so with R, it works fine, we can load it without issues in R / Linux.

Could you point us to where to start looking to solve this problem ?

cheers,

Tomás Navarrete

--

My current specs:
Simile

Name : simile
Version : 6.9
Release : 7.fc22
Architecture: x86_64

R

R version 3.5.3 (2019-03-11) -- "Great Truth"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

Forums: 

Looks like the R interface is treating your Simile as evaluation edition even though you actually have standard edition.

I'll try and fix that ASAP.

What Linux distro are you using?

Actually we fixed this last year, so update to the latest Simile on your Linux machine and all should be well.

Hi Jaspert,

 

I run a Fedora 29.

I thought that Simile 6.9 was the latest. I'll verify my install rpms.

cheers,

We don't bother announcing the patch releases, but you will get the latest from the same download link

I downloaded again the RPM, and now I have version 6.9-13 (previous was 6.9-7), and it all works fine.

I re-installed, and made sure I entered our Enterprise version license number too :)