Dear Duncan,
Thank you very much!
>
> For data, the sysdata.rda file is the easiest solution. It's for data
> that is used by the functions in the package, not user-visible. Just
> put x into that file in the package/R directory to make use of it.
>
> You don't need a two-pass solution. As lon
On 06/06/2019 6:29 p.m., Linus Chen wrote:
Dear all,
I am trying to understand the usage of package data.
Suppose I create an object and save it
x <- 3
save(x, 'sysdata.rda')
and then put it into mypac/data/ directoy.
And suppose in my packge code I have
f <- function(x) x+1
Then,
Dear all,
I am trying to understand the usage of package data.
Suppose I create an object and save it
x <- 3
save(x, 'sysdata.rda')
and then put it into mypac/data/ directoy.
And suppose in my packge code I have
f <- function(x) x+1
Then, when the package has been built, installed, and