8
This should be quick to answer:
I want to use jags packages' jags.model function. Among many arguments it needs the argument file:
file- the name of the file containing a description of the model in the JAGS dialect of the BUGS language.Alternatively, file can be a readable text-mode connection, or a complete URL.
I want to pass string to this argument. One way to walk-around this problem is to write the string into temporary file and pass the file name. But I hope there is a straightforward way to convert string into connection.