Dear R community, I would like to create my own R package files, but I find some problemm for R versions >1.9. When in previous versions of R I could write a simple text file, to have a functioning file package, now I found that is neccessary to implement also binary copies of the file. I cannot understand, reading from R manuals, how it is the correct procedure to create these binary files. Is there anybody that can help me on this issue? Many thanks, Marco Tommasi [[alternative HTML version deleted]]
Well, you simply type R CMD INSTALL --build mypackage or R CMD build --binary mypackage in the parent directory of the source package. If you're on Windows, you need to have some tools installed to be able to do that (but you haven't said what OS you're using). Andy From: Posta Univ. Cagliari> > Dear R community, > > I would like to create my own R package files, but I find > some problemm for R versions >1.9. > > When in previous versions of R I could write a simple text > file, to have a functioning file package, now I found that is > neccessary to implement also binary copies of the file. I > cannot understand, reading from R manuals, how it is the > correct procedure to create these binary files. > > Is there anybody that can help me on this issue? > > Many thanks, > > Marco Tommasi > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >
>If you're on Windows, you >need to have some tools installed to be able to do that (but you haven't >said what OS you're using).Yes, I forgo tto say that my OS is Windows. Regards, Marco Tommasi
Posta Univ. Cagliari wrote:> Dear R community, > > I would like to create my own R package files, but I find some > problemm for R versions >1.9. > > When in previous versions of R I could write a simple text file, to > have a functioning file package, now I found that is neccessary to > implement also binary copies of the file. I cannot understand, > reading from R manuals, how it is the correct procedure to create > these binary files. > > Is there anybody that can help me on this issue?The manual "Writing R Extensions" explains how to write a source package. The manual "R Installation and Administration" explains how to collect the required tools (your mail header tells us you are on Windows) to perform R CMD INSTALL, R CMD check and R CMD build Uwe Ligges> Many thanks, > > Marco Tommasi [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the > posting guide! http://www.R-project.org/posting-guide.html