MarcLavielle / mlxR

mlxR
Other
19 stars 5 forks source link

Cannot find a data column used as column type 'observation' #24

Open taproggej opened 5 years ago

taproggej commented 5 years ago

Hi,

this is probably related to my data/model file but I cannot figure out why I cannot use simulx with my model. The mlxtran file is attached.

I have 3 different types of observation in my data file with an additional "observation ID" column.

Running:

project.file <- 'Try1.mlxtran' res1 <- simulx(project = project.file, output = list(name='AUC',time=100) parameter = 'mode')

I get the following error message:

Error in dot_call("mlxComputeR", argList, PACKAGE = "mlxComputeR") :


filename: Try1_simulxModel.txt description: Missing section 'MODEL'.


filename: Try1_simulxModel.txt description: Error during module building:Cannot find a data column used as column type 'observation'. Column type 'observation' is mandatory.

Can I use simulx when I have 3 types of observations? Monolix seems to be running fine.

Try1.zip

MarcLavielle commented 5 years ago

no idea... you should send the complete project (including data and model) to Lixoft support in order to reproduce this issue

best, Marc

Le ven. 8 févr. 2019 à 15:58, taproggej notifications@github.com a écrit :

Hi,

this is probably related to my data/model file but I cannot figure out why I cannot use simulx with my model. The mlxtran file is attached.

I have 3 different types of observation in my data file with an additional "observation ID" column.

Running project.file <- 'Try1.mlxtran' res1 <- simulx(project = project.file, output = list(name='AUC',time=100) parameter = 'mode')

I get the following error message:

`Error in dot_call("mlxComputeR", argList, PACKAGE = "mlxComputeR") :

filename: Try1_simulxModel.txt description: Missing section 'MODEL'.

filename: Try1_simulxModel.txt description: Error during module building:Cannot find a data column used as column type 'observation'. Column type 'observation' is mandatory.`

Can I use simulx when I have 3 types of observations? Monolix seems to be running fine.

Try1.zip https://github.com/MarcLavielle/mlxR/files/2845560/Try1.zip

— 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/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ3yutAnZHBLSC9XrmaqIOAgEsrYQFcsks5vLZCegaJpZM4awEP7 .

-- Marc Lavielle

CMAP, Ecole Polytechnique91128 Palaiseau Cedex

Francehttps://soutienvenezuela.org/en/ Tel: (33) 1 69 33 46 00 (33) 6 37 31 93 05

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

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

taproggej commented 5 years ago

Okay, I think I found the problem. "Rsmlx" and "mlxR" both have function called "readDatamlx". As I was using both packages at the same time, and had initialised Rsmlx earlier... mlxR was picking up the wrong function.