[Pomp-commits] r659 - pkg/inst/doc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Apr 14 23:19:02 CEST 2012
Author: kingaa
Date: 2012-04-14 23:19:02 +0200 (Sat, 14 Apr 2012)
New Revision: 659
Modified:
pkg/inst/doc/advanced_topics_in_pomp.Rnw
pkg/inst/doc/advanced_topics_in_pomp.pdf
Log:
- minor change
Modified: pkg/inst/doc/advanced_topics_in_pomp.Rnw
===================================================================
--- pkg/inst/doc/advanced_topics_in_pomp.Rnw 2012-04-14 21:12:52 UTC (rev 658)
+++ pkg/inst/doc/advanced_topics_in_pomp.Rnw 2012-04-14 21:19:02 UTC (rev 659)
@@ -414,7 +414,8 @@
<<view-sir-source,eval=F>>=
file.show(file=system.file("examples/sir.c",package="pomp"))
@
-Also in the \code{examples} directory is an \R\ script that shows how to compile \verb+sir.c+ into a shared-object library and link it with \R.
+In the \code{demo} directory is an \R\ script that shows how to compile \verb+sir.c+ into a shared-object library and link it with \R.
+Do \code{demo(sir)} to run and view this script.
Note that the native routines for this model are included in the package, which is why we give the \verb+PACKAGE="pomp"+ argument to \code{pomp}.
When you write your own model using native routines, you'll compile them into a dynamically-loadable library.
In this case, you'll want to specify the name of that library using the \code{PACKAGE} argument.
Modified: pkg/inst/doc/advanced_topics_in_pomp.pdf
===================================================================
(Binary files differ)
More information about the pomp-commits
mailing list