M.Ribeiro,

You can install on Windows from the tar.gz using the RTools.
You need to set the PATH to find RTools and it looks like you skipped that
step.
Full details are in the R Extensions manual.

Here are my notes, from several years ago as you can see by the R-2.8.0
paths
and the Rtools29.exe set of tools, for running from the MSDOS CMD window.

Change all R-2.8.0 statements to the current version.
Change the cd statement to the directory containing the .tar.gz file.

Rich




Download from
http://www.murdoch-sutherland.com/Rtools/
Rtools29.exe
and install into default locations.
In an MS-DOS Commands Window --- cmd in the Start > Run window
PATH=c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;c:\texmf\miktex\bin;c:\progra~1\RExcel\R-2.8.0\bin;c:\windows;c:\windows\system32
rem
^^^^^^^^^^^^^^^^^^^^^^^^^^
rem use correct 8.3 path for the R version that you are using.
c:\
cd C:\mydirectory
rem MyPackage\ is a directory in the above directory
R CMD CHECK --no-examples --no-latex MyPackage  ## detailed checks---faster
R CMD CHECK                          MyPackage  ## detailed checks
R CMD INSTALL --build                MyPackage  ## installs and builds .zip
rem this gives the official canonical form that will eventually be sent to
CRAN
rem R CMD BUILD                          MyPackage  ## tar.gz
rem problems appear in this file:
C:\mydirectory\MyPackage.Rcheck\00install.out

relevant documents are in
C:\Program Files\RExcel\R-2.8.0\doc\manual\R-admin.html
C:\Program Files\RExcel\R-2.8.0\doc\manual\R-exts.html

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to