MarcLavielle / mlxR

mlxR
Other
19 stars 5 forks source link

simulx error since MonolixSuite 2020R1 #31

Closed NicolasAzzopardi closed 4 years ago

NicolasAzzopardi commented 4 years ago

Dear Marc,

I have some troubles with my simulations in R.

Since I installed the new MonolixSuite 2020R1 (and updated the lixoftConnectors package), simulx outputs an error when simulating from a .mltran project :

project.file <- "~/Lixoft/MonolixSuite2020R1/resources/demos/monolix/1.creating_and_using_models/1.1.libraries_of_models/theophylline_project.mlxtran" res <- mlxR::simulx(project=project.file)

Erreur : 'getProjectInformation' is not an exported object from 'namespace:lixoftConnectors'

What should I do?

Kind regards, Nicolas

This is en extract of devtools::session_info()

version R version 4.0.3 (2020-10-10) os Arch Linux
system x86_64, linux-gnu

package version source
lixoftConnectors (2020.1 local)
mlxR (4.1.6 Github (MarcLavielle/mlxR@3b26093)) RJSONIO (1.3-1.4 CRAN (R 4.0.3))

MarcLavielle commented 4 years ago

Hi Nicolas,

mlxR is not compatible with Simulx2020 for the moment. But to ensure the retrocompability, Lixoft is working on an R package using the simulx2020 API and providing a simulx() function working (almost)as the simulx() function of mlxR. This R package will be available soon.

For the moment, the solution is to keep mlxR linking to the 2019 version. After loading the mlxr library, call initMlxR(path = "C:/ProgramData/Lixoft/MonolixSuite2019R2") (adapt the path if necessary). By default (so without this call to initMlxR), mlxr links to the version indicated in your lixoft.ini file located in C:\Users\\lixoft. This file has been updated to indicate the 2020 installation path when the 2020 version has been installed.

best, Marc

Le jeu. 12 nov. 2020 à 21:05, Nicolas Azzopardi notifications@github.com a écrit :

Dear Marc,

I have some troubles with my simulations in R.

Since I installed the new MonolixSuite 2020R1 (and updated the lixoftConnectors package), simulx outputs an error when simulating from a .mltran project :

project.file <- "~/Lixoft/MonolixSuite2020R1/resources/demos/monolix/1.creating_and_using_models/1.1.libraries_of_models/theophylline_project.mlxtran" res <- mlxR::simulx(project=project.file)

Erreur : 'getProjectInformation' is not an exported object from 'namespace:lixoftConnectors'

What should I do?

Kind regards, Nicolas

This is en extract of devtools::session_info()

version R version 4.0.3 (2020-10-10) os Arch Linux system x86_64, linux-gnu

package version source lixoftConnectors (2020.1 local) mlxR (4.1.6 Github (3b26093 https://github.com/MarcLavielle/mlxR/commit/3b26093)) RJSONIO (1.3-1.4 CRAN (R 4.0.3))

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MarcLavielle/mlxR/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO7FOVVPREXYUFPFYW4CJLSPQ5XDANCNFSM4TTXHS7A .

-- Marc Lavielle Research Director at Inria Head of the Xpop team

address:

CMAP, École polytechnique91128 Palaiseau Cedex

France Tel: (33) 1 69 33 46 00 (33) 6 37 31 93 05

Marc.Lavielle@inria.fr http://www.cmap.polytechnique.fr/~lavielle

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""

NicolasAzzopardi commented 4 years ago

Thank you Marc for this quick workaround. Does this means that you will put an end to mlxR?

Regards

MarcLavielle commented 4 years ago

no..., not until a fully compatible new package is available :-)

Le ven. 13 nov. 2020 à 10:56, Nicolas Azzopardi notifications@github.com a écrit :

Thank you Marc for this quick workaround. Does this means that you will put an end to mlxR?

Regards

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarcLavielle/mlxR/issues/31#issuecomment-726667611, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO7FOQBIAN5S44OMQZYPVDSPT7FDANCNFSM4TTXHS7A .

NicolasAzzopardi commented 4 years ago

Thank you Marc!