search for: helloggg

Displaying 1 result from an estimated 1 matches for "helloggg".

Did you mean: hellogcc
2009 Dec 02
1
How to export a function from a package and access it only by specifying the namespace?
...one line) License: What license is it under? LazyLoad: yes $ cat NAMESPACE export( my_test_g ) $ ls R my_test_f.R randomxx.R $ for f in R/*.R; do echo $f; cat $f;done R/my_test_f.R my_test_f<-function() { print("Hello") } R/randomxx.R my_test_g<-function() { print("Helloggg") } ---------------------------------------- I install the package by R CMD INSTALL -l /path/to/R_user --no-docs my_package `my_package' is the directory where the package is in. Then I try the package 'try.package' in an R session. I'm wondering why neither 'my_test_...