Including Script Files in an R Extension Package -


I am creating an R package and I need to include those two non-RP script files which are my These script files are needed to distribute the work with me in package, because of course I'm left with two questions:

  1. a) In the package tree directory, give me these Why should the files be kept? B) Is this place mandatory or just convention?
  2. Do I have to change any other settings or configuration or will they get a copy in the directory mentioned in # 1 and then I can understand the path using the system. File ()?

I have tried to find the answer in the document, but it did not jump out on me. And, of course, I did not read the whole thing, am I very honest here?

I think you want exec / at the top level ( Even if it is labeled as "still experimental, or as the subdirectory of inst , as all things in the inst / are literally copied to the package. / P>

A quick example of the package I expanded into the source, in which inst / perl , inst / xls and inst / bin you are then subscribed to system.file () .

Calculate install package path by industry by can call themselves R.

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -