I have no idea where I must R CMD build... I am using Windows 7 wiht pearl installed http://stat.ethz.ch/R-manual/R-patched/library/utils/html/PkgUtils.html its completely unclear for me ... sorry Knut
R CMD build
8 messages · Knut Krueger, Henrik Bengtsson, Gabor Grothendieck
I was looking for the problem at least two days.. and just after writing to the list I found rcmd.exe in the C:\Program Files\R\R-2.15.2\bin\i386 directory. install http://sourceforge.net/projects/mingw/?source=dlp chage the path variable of windows and set the path in front of the others C:\MinGW\msys\1.0\bin\ problems with windows 7 : Rund the cmd console as administrator and it is working Maybe anybody can add this to http://stat.ethz.ch/R-manual/R-patched/library/utils/html/PkgUtils.html
On Sat, Apr 20, 2013 at 8:09 AM, Knut Krueger <rh at knut-krueger.de> wrote:
I was looking for the problem at least two days.. and just after writing to the list I found rcmd.exe in the C:\Program Files\R\R-2.15.2\bin\i386 directory. install http://sourceforge.net/projects/mingw/?source=dlp chage the path variable of windows and set the path in front of the others C:\MinGW\msys\1.0\bin\ problems with windows 7 : Rund the cmd console as administrator and it is working Maybe anybody can add this to http://stat.ethz.ch/R-manual/R-patched/library/utils/html/PkgUtils.html
Note that there is a separate directory for the 64-bit R executables. Also, downloading MinGW should not be needed. Rtools already contains the needed UNIX utilities. You might want to look into the Windows batch files at http://batchfiles.googlecode.com .
Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
Am 20.04.2013 15:50, schrieb Gabor Grothendieck:
Note that there is a separate directory for the 64-bit R executables.
Does it make any difference to check and pack the source files iwth 32 or 64 bit?
Also, downloading MinGW should not be needed. Rtools already contains the needed UNIX utilities.
Yes indeed it works better than MinGW
You might want to look into the Windows batch files at http://batchfiles.googlecode.com .
At least it would be very helpful for windows user to give the hint to the executable rcmd.exe build ... instead of R cmd build ... I already set up an linux system today to solve the problem .... Thank you Knut
On Sat, Apr 20, 2013 at 3:10 PM, Knut Krueger <rh at knut-krueger.de> wrote:
Am 20.04.2013 15:50, schrieb Gabor Grothendieck:
Note that there is a separate directory for the 64-bit R executables.
Does it make any difference to check and pack the source files iwth 32 or 64 bit?
Also, downloading MinGW should not be needed. Rtools already contains the needed UNIX utilities.
Yes indeed it works better than MinGW
You might want to look into the Windows batch files at http://batchfiles.googlecode.com .
At least it would be very helpful for windows user to give the hint to the executable rcmd.exe build ... instead of R cmd build ...
FYI, R CMD build ... works just fine on Windows (and I'm sure R cmd build ... won't). /Henrik
I already set up an linux system today to solve the problem .... Thank you Knut
______________________________________________ R-help at 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.
On Sat, Apr 20, 2013 at 10:14 PM, Henrik Bengtsson <hb at biostat.ucsf.edu> wrote:
On Sat, Apr 20, 2013 at 3:10 PM, Knut Krueger <rh at knut-krueger.de> wrote:
Am 20.04.2013 15:50, schrieb Gabor Grothendieck:
Note that there is a separate directory for the 64-bit R executables.
Does it make any difference to check and pack the source files iwth 32 or 64 bit?
Also, downloading MinGW should not be needed. Rtools already contains the needed UNIX utilities.
Yes indeed it works better than MinGW
You might want to look into the Windows batch files at http://batchfiles.googlecode.com .
At least it would be very helpful for windows user to give the hint to the executable rcmd.exe build ... instead of R cmd build ...
FYI, R CMD build ... works just fine on Windows (and I'm sure R cmd build ... won't).
That is correct but if one were using the batchfiles I mentioned then both work. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
1 day later
Am 21.04.2013 04:14, schrieb Henrik Bengtsson:
FYI, R CMD build ... works just fine on Windows (and I'm sure R cmd build ... won't). /Henrik
Yes it works, unfortunately windows user need not consider capitals or not.
When sitting on a Windows PC I usually typing lower cas only on Linux I
am aware of lower or capital letter. The R doesnt matter (because its
windows) if it is capital or not but the rest is.
R cmd -> Argument cmd ignored
after wards you are in the r-console and if you do not recognize this:
r cmd -> unexpected symbol in "r cmd"
I tried now three times in the last couple of years to build a
package. last week I had time to figure out what was wrong. Maybe it
would be helpful to write this in the manuals f.e PkgUtils (but at least
in http://win-builder.r-project.org/ ) that Windows user either must use
capitals (but not build and check otherwies the error message is also
not constructive) or they must use rcmd.exe with lower letters for build
an check . I think this could help others not to waste time.
Knut
Am 21.04.2013 04:59, schrieb Gabor Grothendieck:
That is correct but if one were using the batchfiles I mentioned then both work. -- Statistics &
Batch files? I can find only xls2csv.bat and RunSnowWorker.bat in the 3.0 directories. Knut