{"action":"created","issue":{"url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/16","repository_url":"https://api.github.com/repos/MarcLavielle/mlxR","labels_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/16/comments","events_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/16/events","html_url":"https://github.com/MarcLavielle/mlxR/issues/16","id":330732654,"node_id":"MDU6SXNzdWUzMzA3MzI2NTQ=","number":16,"title":"Not able to simulate twice a Monolix project","user":{"login":"benzekry","id":14876253,"node_id":"MDQ6VXNlcjE0ODc2MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/14876253?v=4","gravatar_id":"","url":"https://api.github.com/users/benzekry","html_url":"https://github.com/benzekry","followers_url":"https://api.github.com/users/benzekry/followers","following_url":"https://api.github.com/users/benzekry/following{/other_user}","gists_url":"https://api.github.com/users/benzekry/gists{/gist_id}","starred_url":"https://api.github.com/users/benzekry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzekry/subscriptions","organizations_url":"https://api.github.com/users/benzekry/orgs","repos_url":"https://api.github.com/users/benzekry/repos","events_url":"https://api.github.com/users/benzekry/events{/privacy}","received_events_url":"https://api.github.com/users/benzekry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-08T16:58:12Z","updated_at":"2018-06-10T13:34:31Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have an issue when trying to simulate a Monolix project. The first time I do it it works fine but if I re-run the simulation, everything is NA\r\n\r\n<pre><code>> library(mlxR)\r\nLe chargement a nécessité le package : ggplot2\r\n> project.file <- '/Users/benzekry/work/code/tests/simulx_mlxR/mlxR330_demosComments/caseStudies/monolixRuns/theophylline_project.mlxtran'\r\n> res1 <- simulx(project = project.file)\r\n> res1$population\r\n      ka_pop        V_pop  beta_V_lw70       Cl_pop beta_Cl_lw70     omega_ka      omega_V     omega_Cl            a            b\r\n  1,54441564  32,52657350   0,74803725   2,81784874   0,60736480   0,62128665   0,09874452   0,26384097   0,57942656   0,07639447\r\n> res1 <- simulx(project = project.file)\r\nWarning message:\r\nIn readPopEstimate(infoProject$resultFolder, fim) :\r\n  NAs introduits lors de la conversion automatique\r\n> res1$population\r\n      ka_pop        V_pop  beta_V_lw70       Cl_pop beta_Cl_lw70     omega_ka      omega_V     omega_Cl            a            b\r\n          NA           NA           NA           NA           NA           NA           NA           NA           NA           NA \r\n</code></pre>\r\n\r\nThis also happens if trying to simulate any other project but does not seem to happen when simulating directly the model.\r\n\r\nR version 3.4.4 (RStudio)\r\nMac OS Sierra 10.12.6"},"comment":{"url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/comments/396049532","html_url":"https://github.com/MarcLavielle/mlxR/issues/16#issuecomment-396049532","issue_url":"https://api.github.com/repos/MarcLavielle/mlxR/issues/16","id":396049532,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjA0OTUzMg==","user":{"login":"benzekry","id":14876253,"node_id":"MDQ6VXNlcjE0ODc2MjUz","avatar_url":"https://avatars1.githubusercontent.com/u/14876253?v=4","gravatar_id":"","url":"https://api.github.com/users/benzekry","html_url":"https://github.com/benzekry","followers_url":"https://api.github.com/users/benzekry/followers","following_url":"https://api.github.com/users/benzekry/following{/other_user}","gists_url":"https://api.github.com/users/benzekry/gists{/gist_id}","starred_url":"https://api.github.com/users/benzekry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzekry/subscriptions","organizations_url":"https://api.github.com/users/benzekry/orgs","repos_url":"https://api.github.com/users/benzekry/repos","events_url":"https://api.github.com/users/benzekry/events{/privacy}","received_events_url":"https://api.github.com/users/benzekry/received_events","type":"User","site_admin":false},"created_at":"2018-06-10T13:34:31Z","updated_at":"2018-06-10T13:34:31Z","author_association":"NONE","body":"something that might explain the bug and also gives me other troubles is that the simulx function seems to change the decimal separator from \".\" to \",\" on my machine\r\n```>p <- c(V_pop=10, omega_V=0.3, k=0.1, a=0.5)\r\n> f <- list(name='f', time=seq(0, 30, by=0.1))\r\n> y <- list(name='y', time=seq(1, 30, by=3))\r\n> V <- list(name='V')\r\n> 1/2\r\n[1] 0.5\r\n> res1 <- simulx(model     = 'model/hierarchical1a.txt', \r\n+                parameter = p, \r\n+                output    = list(f, y),\r\n+                settings  = list(seed = 12345))\r\n> 1/2\r\n[1] 0,5\r\n```\r\nI am a very beginner with R and have not yet managed to figure out where this comes from. Might be connected to the fact that I am on Mac..."}}
{"actor":{"display_login":"benzekry"}}