[R] R CMD build creates tar file instead of tar.gz file

Ian Schiller Ian.Schiller at clinepi.mcgill.ca
Thu Mar 24 17:53:51 CET 2011


> A couple of things to try:

- try re-installing Rtools and R
- put Rcmd.bat from http://batchfiles.googlecode.com on your path and
then try re-building
Rcmd.bat build mypackage

Rcmd.bat will automatically find R and certain other files from the
registry and temporarily set certain environment variables that may
compensate for a mis-configured system.

Thanks!  I'll try this too.

Ian

******************************************************************************************************************************
IAN SCHILLER, M.Sc.

Statistical research assistant, 
Division of Clinical Epidemiology, McGill University Health Center
Assistant de recherche en statistiques,
Département d'Épidémiologie Clinique, Centre Universitaire de Santé Mcgill

Tel: 514 934 1934 ext. 36925
Email: ian.schiller at clinepi.mcgill.ca


-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Thursday, March 24, 2011 12:48 PM
To: Ian Schiller
Cc: Duncan Murdoch; r-help at r-project.org
Subject: Re: [R] R CMD build creates tar file instead of tar.gz file

On Thu, Mar 24, 2011 at 12:36 PM, Ian Schiller
<Ian.Schiller at clinepi.mcgill.ca> wrote:
> Thanks for your prompt answer Mr. Ripley.  It appears the version of tar I'm using is exactly the same as the one included in the latest Rtools.  I noticed that the Rtools/bin directory was not first in path, so I corrected this.  However, I'm still not able to create a tar.gz file with the R CMD build command.   Then my question would be the following.  If I submit my package to CRAN do you know if it needs to be tar.gz or will a tar file be accepted?
>

A couple of things to try:

- try re-installing Rtools and R
- put Rcmd.bat from http://batchfiles.googlecode.com on your path and
then try re-building
Rcmd.bat build mypackage

Rcmd.bat will automatically find R and certain other files from the
registry and temporarily set certain environment variables that may
compensate for a mis-configured system.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list