Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • R r-cormas
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • cormas-dev
  • r-cormas
  • Wiki
  • Home

Home · Changes

Page history
Create home authored Oct 09, 2023 by Bonte Bruno's avatar Bonte Bruno
Show whitespace changes
Inline Side-by-side
home.md 0 → 100644
View page @ d65168c3
# Connection between R cran statistical analysis software and Cormas Software
## Basics
* This repository contains:
* R files
* Smalltalk sources
* Works with:
* Cormas version (see below)
* 2017.10.10
* Developer: Pierre Bommel
* kernel FileName: Kernel-v.2017.10.2
* VW compatibility: 7.6
* Example cormas models
* The SIS model
* The ECEC model
* Additionnal parcels that need to be loaded in cormas
* copy the Add-ons folder in the cormas folder
* Then load all the parcels below using tools>add-ons>add-on-manager
* Opentalk-HTTP
* Opentalk-Tools-Basics
* Opentalk-Tools-Console
* Opentalk-Tools-Monitor
* CormasWS-sayHello.st
* CormasWS-runSimu.st
* CormasWS-setAttributeofClassvalue.st
* DataTransfR.st
* Root.Smalltalk.CormasNS.Kernel.Entity-rTransfer.st
* R version 3.4.4 (2018-03-15) with
* With R packages installed:
* httr
* xml2
* ggplot2
* dplyr
* tidyr
* NB: For linux you may need to install manualy curl (sudo apt-get install curl) and curlftpfs (sudo apt-get install curlftpfs) package
## First try
* Open R and set the working directory to the location of this document. The folder must contains:
* r-cormas-examplr.R file
* cormas-func.R file
* Make sure that you have all the basics described in above section (including the additionnal parcels loaded in Cormas and packages installed)
* Follow the tutorial described in the r-cormas-example.R
* Note that opening of cormas from R does not work at the moment. Cormas needs to be open and you need to open the R cormas connection: Simulation>analysis>R cormas>start webservice.
Then you can use functions of cormas-func.R
## Exple:
r = openModel("ECEC") To see the request sent to cormas do: r\[\[1\]\]
To see the answer received do : content(r\[\[2\]\],"text")
\ No newline at end of file
Clone repository
  • Home