[R] Package is loaded but functions are not exported

Romain Francois romain.francois at dbmail.com
Tue Dec 1 17:28:17 CET 2009


You probably just want : exportPattern("^rh")

What did you expect the backslash to do ?

On 12/01/2009 05:18 PM, Saptarshi Guha wrote:
>
> Hello,
> I wrote a package, which in the NAMESPACE file exports functions like this:
>
> exportPattern("^\\rh")
>
> On R-2.8 (Linux, 64), upon loading the package I have the rh functions present.
>
> On R-2.10, Mac OS X, (32 bit), it builds, loads, but the functions are not
> loaded, i.e the only function is rhyper (which is not from my package).
>
> Is there something wrong with my package setup?
>
> Regards
> Saptarshi

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/FtUu : new package : highlight
|- http://tr.im/EAD5 : LondonR slides
`- http://tr.im/BcPw : celebrating R commit #50000




More information about the R-help mailing list