On 13.03.2010 18:34, michael watson (IAH-C) wrote:
This may be an indication of what is wrong - I do not have an environment
variable R_LIBS
No, that's fine.
Anyone can download the package, it's open source:
http://bioinformatics.iah.ac.uk/tools/download
I stripped it down to just the R, data and man directories and made a couple of
minor code changes.
Works for me in the sense that I get a binary package, *but* there are
several issues with the Rd format and it is recommended to use
R CMD INSTALL --build CORNA_1.2.tar.gz
on the tarball rather than
R CMD build --binary CORNA
on the source directory. Does the former work for you?
If not, please check your R Startup files if they contain strange code
and check your tempdir ...
Uwe Ligges
________________________________________
From: Uwe Ligges [lig...@statistik.tu-dortmund.de]
Sent: 13 March 2010 17:30
To: michael watson (IAH-C)
Cc: r-help@r-project.org
Subject: Re: [R] Problem building packages on windows:
/cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory
On 13.03.2010 18:15, michael watson (IAH-C) wrote:
Dear R-Help
My OS is Windows CP, I'm not sure my sessionInfo() is relevant but here it is:
R version 2.10.1 (2009-12-14)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United
Kingdom.1252 LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
I installed RTools211.exe and my path is set to:
c:\Program Files\HTML Help Workshop;c:\Program
Files\R\R-2.10.1\bin;c:\Rtools\bin;c:\Rtools\perl\bin;c:\Rtools\MinGW\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program Files\QuickTime\QTSystem\
I have HTML Help Workshop installed.
You can remove c:\Program Files\HTML Help Workshop from your path since
it is no longer needed (nor useful) for R>= 2.10.0.
When I execute R CMD build --binary CORNA, I get:
* checking for file 'CORNA/DESCRIPTION' ... OK
* preparing 'CORNA':
* checking DESCRIPTION meta-information ... OK
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
This indicates Rd file problems.
* installing *binary* package 'CORNA' ...
/cygdrive/c/Rtools/bin/cp: target `xf-))' is not a directory
ERROR: installing binary package failed
This is particularly strange. Which library PATHS (e.g. in environment
variable R_LIBS) are set?
Do we have access to the package in order to look if it is the package
or your environment which causes the problem?
Uwe Ligges
* removing 'C:/DOCUME~1/Michael/LOCALS~1/Temp/Rinst36806643/CORNA'
ERROR
* installation failed
Any help would be appreciated
Thanks
Mick
______________________________________________
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.
______________________________________________
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.