I'm attempting to build an R package for distribution and am working
from the directions found at
http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html#Wi
n-Win
I've read through Writing R Extensions and various other "helpful" web
sites. I've installed all relevant software (perl, cygwin, mingwin,
hhc.exe). Here is what I have done so far:
1) Sourced data and functions into R
2) Used package.skeleton
3) Edited Description file
4) Edited my windows path to ensure the new programs (e.g., perl) are in
the path
5) Then, I open DOS and do the following in the script below
C:\Program Files\R\R-2.4.1\bin>Rcmd build --force --binary g:\foo
* checking for file 'g:\foo/DESCRIPTION' ... OK
* preparing 'g:\foo':
* checking DESCRIPTION meta-information ...'sh' is not recognized as an
internal
or external command,
operable program or batch file.
OK
* removing junk files
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
'sh' is not recognized as an internal or external command,
operable program or batch file.
Error: cannot open file 'foo/DESCRIPTION' for reading
I'ver read through about as much documentation as I can find, and I'm
just not sure what I should do from here. I admit that I have reached a
point of frustration and must apologize if the problem would be evident
if I read documentation further, but I'm about tapped out after a few
days of experimentation.
Can anyone suggest how I could resolve this and what the next steps
would be?
Thanks:
I'm using Windows XP and R 2.4.1
Harold