From dlr32 at cornell.edu  Tue Jun 13 03:47:36 2006
From: dlr32 at cornell.edu (Dan Rabosky)
Date: Mon, 12 Jun 2006 21:47:36 -0400
Subject: [Rd] Building R package: make pdf & _masked_by_GlobalEnv
Message-ID: <5.2.1.1.2.20060612204709.0318b4b0@postoffice9.mail.cornell.edu>


Hi....

I am assembling an R package (under Windows XP, R v.2.3) and have a very 
basic question.  Running R CMD build does not generate a pdf.  R CMD check 
generates a .dvi, but I cannot figure out how to automatically create the 
pdf.  I thought from reading the "writing r extensions' manual that R CMD 
build was supposed to generate the pdf.  I am having no success using 
various permutations of the Rd2dvi and texi2dvi, and I'm a bit 
frustrated.  I have miktex 2.4, which should (I thought) have the necessary 
pdftex tools to do this.  Maybe it does; I definitely have various 
directories named 'dvipdfm', 'pdftex', etc on my computer, but I have no 
idea whether there might be a problem.

When I install the package, I receive the message that most of my functions 
are "masked _by_ .GlobalEnv".  I have no idea what this means; I'm sure 
that this is amply documented, but I confess that I have a rather difficult 
time with much of the documentation on writing packages.

Apologies for the elementary level of these questions, and thanks in 
advance for your help!

~Dan Rabosky






Dan Rabosky
Department of Ecology and Evolutionary Biology
237 Corson Hall
Cornell University
Ithaca, NY14853-2701 USA
607 254 4262 (office)
607 592 4636  (cell)
DLR32 at cornell.edu
web: http://www.birds.cornell.edu/evb/Graduates_Dan.htm



[Rd] Building R package: make pdf & _masked_by_GlobalEnv
Dan Rabosky