Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

  • Install LaTeX and the extensions required to run Rd2pdf
# Linux
sudo apt-get install texlive-latex-base
sudo apt-get install texinfo
sudo apt-get install texlive-fonts-extra

Creating client-side DataSHIELD package manuals

  • On the client: Run R to check where datashield is installed on your machine using .libPaths() in R.
# Example paths in R client-side in Linux
> .libPaths()
[1] "/home/rw13742/R/x86_64-pc-linux-gnu-library/3.1"
[2] "/usr/local/lib/R/site-library"                  
[3] "/usr/lib/R/site-library"                        
[4] "/usr/lib/R/library"      
  • Navigate to the appropriate folder Datashield R library is held and run Rd2pdf to create pdf manual of each package
# Linux
cd /home/rw13742/R/x86_64-pc-linux-gnu-library/3.1
R CMD Rd2pdf PACKAGENAME

Creating DataSHIELD server-side package manuals

  • Server-side all datashield packages sit in
/var/lib/rserver/R/i686-pc-linux-gnu-library/3.1
  • Navigate to the appropriate folder Datashield R library is held and run Rd2pdf to create pdf manual of each package
# Linux
cd /home/rw13742/R/x86_64-pc-linux-gnu-library/3.1
R CMD Rd2pdf PACKAGENAME

You can also download the latest release of each package from github into a temp folder locally, un tar them and create the manuals from there. Delete all these temp folders after use

  • No labels