Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Thanks, Uwe. It now INSTALLs perfectly with Rtools installed.
Best wishes,
Javier
---
> You need a recent version of the Rtools from Duncan Murdoch's web page.
> It includes the file.exe required for checking.
>
> Uwe Ligges
>
> On 30.09.2010 18:38, jgar...@ija.csic.es wrote:
>> Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I
>> apologize as I was not updated with the R version. Now with R 2.12.0
>> alpha
>> the package builds [Windows XP] but it still fails when checking:
>>
>> ---
>> C:\home\javier\Documents\hydrology\development>R CMD check hydrosim
>> * using log directory
>> 'C:/home/javier/Documents/hydrology/development/hydrosim.Rcheck'
>> * using R version 2.12.0 alpha (2010-09-28 r53056)
>> * using platform: i386-pc-mingw32 (32-bit)
>> * using session charset: ISO8859-1
>> * checking for file 'hydrosim/DESCRIPTION' ... OK
>> * this is package 'hydrosim' version '1.0-0'
>> * checking package dependencies ... OK
>> * checking if this is a source package ... OK
>> Error in system2("file", "--version", TRUE, TRUE) : '"file"' not found
>> Execution halted
>>
>> C:\home\javier\Documents\hydrology\development>file
>> "file" no se reconoce como un comando interno o externo,
>> programa o archivo por lotes ejecutable.
>> ---
>>
>> As you may guess, the above means "'file' is not recognized as an
>> internal
>> or external command, operable program or batch file".
>>
>> Could you help with this? Perhaps the string "file" should have been
>> substituted by a file name elsewhere before? Could the white spaces in
>> "C:\Archivos de programa\..." be the source of the problem?
>>
>> Thanks again,
>>
>> Javier
>> ---
>>
>>> jgar...@ija.csic.es wrote:
 Hi,

 I am working on a package with several hydrological functions which
 builds/checks/INSTALLs gracefully for a Linux box. However, for a
 Microsoft Windows XP [Versión 5.1.2600] I have the error:

 C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
 C:\home\javier\Documents\hydrology\development\hydrosim

>>>
>>> Are you really using version 2.9.2?  If so, I think you're on your own.
>>> The current release is 2.11.1, and our efforts are concentrated on
>>> testing the alpha/beta of 2.12.0 now.
>>>
>>> Duncan Murdoch
>>>
 Can't locate R/Dcf.pm in @INC (@INC contains: C
 /ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
 /usr/lib/per
 l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
 /usr/lib/perl5/site_perl/5.10
 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
 /
 usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
   at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
 BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build
 line
 28.

 However, the content of the first mentioned folder is:

 C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
 Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm
 Vars.pm

 Is there a problem with the way windows abbreviates folder names for
 long
 names of names withs spaces? Or the problem is elsewhere?

 Please, could you help?

 Thanks and best regards,
 Javier
 ---

 __
 R-devel@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-devel

>>>
>>>
>>
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Prof Brian Ripley

And 'file' is a program available in Rtools 

On Thu, 30 Sep 2010, jgar...@ija.csic.es wrote:


Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I
apologize as I was not updated with the R version. Now with R 2.12.0 alpha
the package builds [Windows XP] but it still fails when checking:

---
C:\home\javier\Documents\hydrology\development>R CMD check hydrosim
* using log directory
'C:/home/javier/Documents/hydrology/development/hydrosim.Rcheck'
* using R version 2.12.0 alpha (2010-09-28 r53056)
* using platform: i386-pc-mingw32 (32-bit)
* using session charset: ISO8859-1
* checking for file 'hydrosim/DESCRIPTION' ... OK
* this is package 'hydrosim' version '1.0-0'
* checking package dependencies ... OK
* checking if this is a source package ... OK
Error in system2("file", "--version", TRUE, TRUE) : '"file"' not found
Execution halted

C:\home\javier\Documents\hydrology\development>file
"file" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
---

As you may guess, the above means "'file' is not recognized as an internal
or external command, operable program or batch file".

Could you help with this? Perhaps the string "file" should have been
substituted by a file name elsewhere before? Could the white spaces in
"C:\Archivos de programa\..." be the source of the problem?

Thanks again,

Javier
---


jgar...@ija.csic.es wrote:

Hi,

I am working on a package with several hydrological functions which
builds/checks/INSTALLs gracefully for a Linux box. However, for a
Microsoft Windows XP [Versión 5.1.2600] I have the error:

C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
C:\home\javier\Documents\hydrology\development\hydrosim



Are you really using version 2.9.2?  If so, I think you're on your own.
The current release is 2.11.1, and our efforts are concentrated on
testing the alpha/beta of 2.12.0 now.

Duncan Murdoch


Can't locate R/Dcf.pm in @INC (@INC contains: C
/ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
/usr/lib/per
l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/
usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
 at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build
line
28.

However, the content of the first mentioned folder is:

C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm

Is there a problem with the way windows abbreviates folder names for
long
names of names withs spaces? Or the problem is elsewhere?

Please, could you help?

Thanks and best regards,
Javier
---

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel






__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Uwe Ligges
You need a recent version of the Rtools from Duncan Murdoch's web page. 
It includes the file.exe required for checking.


Uwe Ligges

On 30.09.2010 18:38, jgar...@ija.csic.es wrote:

Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I
apologize as I was not updated with the R version. Now with R 2.12.0 alpha
the package builds [Windows XP] but it still fails when checking:

---
C:\home\javier\Documents\hydrology\development>R CMD check hydrosim
* using log directory
'C:/home/javier/Documents/hydrology/development/hydrosim.Rcheck'
* using R version 2.12.0 alpha (2010-09-28 r53056)
* using platform: i386-pc-mingw32 (32-bit)
* using session charset: ISO8859-1
* checking for file 'hydrosim/DESCRIPTION' ... OK
* this is package 'hydrosim' version '1.0-0'
* checking package dependencies ... OK
* checking if this is a source package ... OK
Error in system2("file", "--version", TRUE, TRUE) : '"file"' not found
Execution halted

C:\home\javier\Documents\hydrology\development>file
"file" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
---

As you may guess, the above means "'file' is not recognized as an internal
or external command, operable program or batch file".

Could you help with this? Perhaps the string "file" should have been
substituted by a file name elsewhere before? Could the white spaces in
"C:\Archivos de programa\..." be the source of the problem?

Thanks again,

Javier
---


jgar...@ija.csic.es wrote:

Hi,

I am working on a package with several hydrological functions which
builds/checks/INSTALLs gracefully for a Linux box. However, for a
Microsoft Windows XP [Versión 5.1.2600] I have the error:

C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
C:\home\javier\Documents\hydrology\development\hydrosim



Are you really using version 2.9.2?  If so, I think you're on your own.
The current release is 2.11.1, and our efforts are concentrated on
testing the alpha/beta of 2.12.0 now.

Duncan Murdoch


Can't locate R/Dcf.pm in @INC (@INC contains: C
/ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
/usr/lib/per
l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/
usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
  at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build
line
28.

However, the content of the first mentioned folder is:

C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm

Is there a problem with the way windows abbreviates folder names for
long
names of names withs spaces? Or the problem is elsewhere?

Please, could you help?

Thanks and best regards,
Javier
---

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel






__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Thanks to Duncan Murdoch and Prof. Ripley for the previous answers. I
apologize as I was not updated with the R version. Now with R 2.12.0 alpha
the package builds [Windows XP] but it still fails when checking:

---
C:\home\javier\Documents\hydrology\development>R CMD check hydrosim
* using log directory
'C:/home/javier/Documents/hydrology/development/hydrosim.Rcheck'
* using R version 2.12.0 alpha (2010-09-28 r53056)
* using platform: i386-pc-mingw32 (32-bit)
* using session charset: ISO8859-1
* checking for file 'hydrosim/DESCRIPTION' ... OK
* this is package 'hydrosim' version '1.0-0'
* checking package dependencies ... OK
* checking if this is a source package ... OK
Error in system2("file", "--version", TRUE, TRUE) : '"file"' not found
Execution halted

C:\home\javier\Documents\hydrology\development>file
"file" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
---

As you may guess, the above means "'file' is not recognized as an internal
or external command, operable program or batch file".

Could you help with this? Perhaps the string "file" should have been
substituted by a file name elsewhere before? Could the white spaces in
"C:\Archivos de programa\..." be the source of the problem?

Thanks again,

Javier
---

> jgar...@ija.csic.es wrote:
>> Hi,
>>
>> I am working on a package with several hydrological functions which
>> builds/checks/INSTALLs gracefully for a Linux box. However, for a
>> Microsoft Windows XP [Versión 5.1.2600] I have the error:
>>
>> C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
>> C:\home\javier\Documents\hydrology\development\hydrosim
>>
>
> Are you really using version 2.9.2?  If so, I think you're on your own.
> The current release is 2.11.1, and our efforts are concentrated on
> testing the alpha/beta of 2.12.0 now.
>
> Duncan Murdoch
>
>> Can't locate R/Dcf.pm in @INC (@INC contains: C
>> /ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
>> /usr/lib/per
>> l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
>> /usr/lib/perl5/site_perl/5.10
>> /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
>> /
>> usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
>> /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
>>  at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
>> BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build
>> line
>> 28.
>>
>> However, the content of the first mentioned folder is:
>>
>> C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
>> Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm
>>
>> Is there a problem with the way windows abbreviates folder names for
>> long
>> names of names withs spaces? Or the problem is elsewhere?
>>
>> Please, could you help?
>>
>> Thanks and best regards,
>> Javier
>> ---
>>
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Prof Brian Ripley

On Thu, 30 Sep 2010, Duncan Murdoch wrote:


jgar...@ija.csic.es wrote:

Hi,

I am working on a package with several hydrological functions which
builds/checks/INSTALLs gracefully for a Linux box. However, for a
Microsoft Windows XP [Versión 5.1.2600] I have the error:

C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
C:\home\javier\Documents\hydrology\development\hydrosim



Are you really using version 2.9.2?  If so, I think you're on your own.  The 
current release is 2.11.1, and our efforts are concentrated on testing the 
alpha/beta of 2.12.0 now.


And I believe he failed to heed the warning not to use a Cygwin build 
of Perl.


Please try R 2.12.0 alpha, which does not need any version of Perl to 
build/install/check a package.




Duncan Murdoch


Can't locate R/Dcf.pm in @INC (@INC contains: C
/ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
/usr/lib/per
l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/
usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
 at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build line
28.

However, the content of the first mentioned folder is:

C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm

Is there a problem with the way windows abbreviates folder names for long
names of names withs spaces? Or the problem is elsewhere?

Please, could you help?

Thanks and best regards,
Javier
---

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread Duncan Murdoch

jgar...@ija.csic.es wrote:

Hi,

I am working on a package with several hydrological functions which
builds/checks/INSTALLs gracefully for a Linux box. However, for a
Microsoft Windows XP [Versión 5.1.2600] I have the error:

C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
C:\home\javier\Documents\hydrology\development\hydrosim
  


Are you really using version 2.9.2?  If so, I think you're on your own.  
The current release is 2.11.1, and our efforts are concentrated on 
testing the alpha/beta of 2.12.0 now.


Duncan Murdoch


Can't locate R/Dcf.pm in @INC (@INC contains: C
/ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
/usr/lib/per
l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/
usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
 at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build line
28.

However, the content of the first mentioned folder is:

C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm

Is there a problem with the way windows abbreviates folder names for long
names of names withs spaces? Or the problem is elsewhere?

Please, could you help?

Thanks and best regards,
Javier
---

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] bulding a package for Windows (path problem?)

2010-09-30 Thread jgarcia
Hi,

I am working on a package with several hydrological functions which
builds/checks/INSTALLs gracefully for a Linux box. However, for a
Microsoft Windows XP [Versión 5.1.2600] I have the error:

C:\Archivos de programa\R\R-2.9.2\bin>R CMD build
C:\home\javier\Documents\hydrology\development\hydrosim

Can't locate R/Dcf.pm in @INC (@INC contains: C
/ARCHIV~1/R/R-29~1.2/share/perl; /usr/lib/perl5/5.10/i686-cygwin
/usr/lib/per
l5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/
usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .)
 at C:\ARCHIV~1\R\R-29~1.2/bin/build line 28.
BEGIN failed--compilation aborted at C:\ARCHIV~1\R\R-29~1.2/bin/build line
28.

However, the content of the first mentioned folder is:

C:\ARCHIV~1\R\R-29~1.2\share\perl\R>ls
Dcf.pm Logfile.pm Rd.pm Rdconv.pm Rdlist.pm Rdtools.pm Utils.pm Vars.pm

Is there a problem with the way windows abbreviates folder names for long
names of names withs spaces? Or the problem is elsewhere?

Please, could you help?

Thanks and best regards,
Javier
---

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel