On 04/12/2015 11:28 AM, Murat Tasan wrote:
Perfect, thanks!
(Any idea if/where this is documented? I checked through the "Writing
R Extensions" doc and couldn't find any mention of it.)
It is mentioned in ?getPackageName:
" (Currently, the name is stored as the object |.packageName| but don't
Perfect, thanks!
(Any idea if/where this is documented? I checked through the "Writing
R Extensions" doc and couldn't find any mention of it.)
Thanks much again,
-Murat
On Thu, Dec 3, 2015 at 6:42 PM, William Dunlap wrote:
> Every package has in it, after it is installed, a character object
>
Every package has in it, after it is installed, a character object
called ".packageName" containing its name. It is not exported from
the package. Functions in your package can refer to it as just
.packageName.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Dec 3, 2015 at 5:28 PM, Murat T
In a package I'm writing, I'm placing all SQL code here:
/inst/sql/
And so when referring to these blocks of code from the package's R
code, I do something like so:
system.file("sql", "my_example_file.sql", package = "ThisPackage",
mustWork = TRUE)
But, referring to the package itself with the s
4 matches
Mail list logo