Skip to content
Prev 343189 / 398513 Next

unable to use functions require DLL from package

On Aug 15, 2014, at 2:56 PM, Charlotte de Vries wrote:

            
Well, that explains why I don't have a copy on my machine. It's dated 6 May 18:15 2008
pp.test is not a "basic R function". I get this:
No documentation for ?pp.test? in specified packages and libraries:
you could try ???pp.test?

You are asked to include the package name for non-base R functions.
Well I do have the MASS package from which that function was loaded. 

I get no error with the example in the help page:

 boxcox(Days+1 ~ Eth*Sex*Age*Lrn, data = quine,
         lambda = seq(-0.05, 0.45, len = 20), plotit=TRUE)

... and you are not providing a reproducible example that provokes the error, nor are you providing the version numbers of R or MASS.
Which was in turn dated: 2 Jun 06:04 2008
I get no error after:

library(demography)

# And then running that code.

I have an almost up-to-date version of R running on a mac (and at the moment I have way too many packages loaded:
R version 3.1.0 Patched (2014-04-21 r65431)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] grDevices datasets  splines   graphics  utils     stats    
[7] grid      methods   base     

other attached packages:
 [1] demography_1.17  ftsa_3.9         rainbow_3.2     
 [4] pcaPP_1.9-49     forecast_5.4     timeDate_3010.98
 [7] zoo_1.7-11       XML_3.98-1.1     RCurl_1.95-4.3  
[10] bitops_1.0-6     subplex_1.1-4    MASS_7.3-31     
[13] cobs_1.2-2       quantreg_5.05    gplots_2.13.0   
[16] reshape2_1.2.2   ggplot2_0.9.3.1  multcomp_1.3-1  
[19] TH.data_1.0-3    mvtnorm_0.9-9999 data.table_1.9.2
[22] muhaz_1.2.5      downloader_0.3   RJSONIO_1.3-0   
[25] plot3D_1.0-1     rms_4.2-0        SparseM_1.03    
[28] Hmisc_3.14-4     Formula_1.1-1    survival_2.37-7 
[31] sos_1.3-8        brew_1.0-6       lattice_0.20-29 

loaded via a namespace (and not attached):
 [1] caTools_1.16        cluster_1.15.2      colorspace_1.2-4   
 [4] descr_1.0.3         dichromat_2.0-0     digest_0.6.4       
 [7] fracdiff_1.4-2      gdata_2.13.3        gtable_0.1.2       
[10] gtools_3.4.0        hdrcde_3.1          KernSmooth_2.23-12 
[13] ks_1.9.1            labeling_0.2        latticeExtra_0.6-26
[16] Matrix_1.1-3        mgcv_1.7-29         misc3d_0.8-4       
[19] munsell_0.4.2       nlme_3.1-117        nnet_7.3-8         
[22] parallel_3.1.0      plyr_1.8.1          proto_0.3-10       
[25] quadprog_1.5-5      RColorBrewer_1.0-5  Rcpp_0.11.1        
[28] rgl_0.93.996        sandwich_2.3-0      scales_0.2.3       
[31] stringr_0.6.2       tools_3.1.0         tseries_0.10-32    
[34] xtable_1.7-3       


So that shows you how to provide some of the needed information (which neither of the postings to which you resonded had done.)  PLEASE read the Posting Guide.
David Winsemius
Alameda, CA, USA