startpb, setpb, getpb, closepb, dopb, pboptions,

startpb, setpb, getpb, closepb, dopb, pboptions, pbtypes,

export(pbapply, pbsapply, pblapply, pbreplicate, pbmapply,

startpb, setpb, getpb, closepb, dopb, doshiny, pboptions, pbtypes,

pbat.power, pbat.binaryFamily, pbat.continuousFamily, pbat.caseControl, pbat.popQuant,

is.phe, as.phe, read.phe, fread.phe, write.phe,
is.ped, as.ped, read.ped, fread.ped, write.ped,
is.cped, as.cped, read.cped, fread.cped, write.cped,

importFrom("graphics", "lines", "par", "plot", "polygon", "segments",

export(pbbd, balancify, allocate, cycle, dpf, psfreq)

import(methods, rlecuyer, pbdMPI, pbdSLAP, Rcpp)
init.grid, blacs, gridexit, pnum, pcoord, blacsexit,
is.ddmatrix, is.na, is.nan, is.infinite, is.numeric,
nrow, ncol, dim, ldim, bldim, ctxt, submatrix,

"nrow", "ncol", "dim", "ldim", "bldim", "ctxt", "submatrix",

blacs_gridinit, init.grid, blacs, gridexit, pnum, pcoord, blacsexit, minctxt,

useDynLib(pbdBASE, R_nbd, R_NUMROC, R_PDLAPRNT, g2l_coords, l2g_coords, R_optimal_grid, R_blacs_init, R_igsum2d1, R_dgsum2d1, R_igamx2d1, R_dgamx2d1, R_igamn2d1, R_dgamn2d1, R_dgesd2d1, R_dgerv2d1, R_PDGELS, R_matexp, R_p_matpow_by_squaring, R_p_matexp_pade, R_PDTRAN, R_PDGEMM, R_PDCROSSPROD, R_PDCHTRI, R_PDCLVAR, R_MKSUBMAT, R_MKGBLMAT, R_DALLREDUCE, R_PTRI2ZERO, R_PDSWEEP, R_RL2BLAS, R_RL2INSERT, R_PDGDGTK, R_PDDIAGMK, R_RCOLCPY, R_RCOLCPY2, R_RROWCPY, R_RROWCPY2, R_PDMVSUM, R_DHILBMK, R_PDHILBMK, R_PDMKCPN1, R_PDGEQPF, R_PDORGQR, R_PDORMQR, R_PDGETRI, R_PDGESV, R_PDGESVD, R_PDSYEV, R_PDPOTRF, R_PDSYEVX, R_PDGETRF, R_PDLANGE, R_PDTRCON, R_PDGECON, R_PDGEMR2D, R_g2lcoord)

useDynLib(pbdBASE, R_nbd, R_NUMROC, R_PDLAPRNT, g2l_coords, l2g_coords, R_optimal_grid, R_blacs_init, R_igsum2d1, R_dgsum2d1, R_igamx2d1, R_dgamx2d1, R_igamn2d1, R_dgamn2d1, R_dgesd2d1, R_dgerv2d1, R_PDGELS, R_matexp, R_p_matpow_by_squaring, R_p_matexp_pade, R_PDTRAN, R_PDGEMM, R_PDCROSSPROD, R_PDCHTRI, R_PDCLVAR, R_MKSUBMAT, R_MKGBLMAT, R_DALLREDUCE, R_PTRI2ZERO, R_PDSWEEP, R_RL2BLAS, R_RL2INSERT, R_PDGDGTK, R_PDDIAGMK, R_RCOLCPY, R_RCOLCPY2, R_RROWCPY, R_RROWCPY2, R_PDMVSUM, R_DHILBMK, R_PDHILBMK, R_PDMKCPN1, R_PDGEQPF, R_PDORGQR, R_PDORMQR, R_PDGETRI, R_PDGESV, R_PDGESVD, R_PDSYEVR, R_PDPOTRF, R_PDSYEVX, R_PDGETRF, R_PDLANGE, R_PDTRCON, R_PDGECON, R_PDGEMR2D, R_g2lcoord)