[R] locating rcmd.exe through a batch script
ligges at statistik.tu-dortmund.de
Sat May 2 17:27:49 CEST 2009
> Dear R-sians...
> Installing libraries
Well, I think you want to install a *package* into a library.
> through RCMD INSTALL does not seem to work.. Is the
> following command c
> R CMD install -l "C:\Program Files\R\R-2.8.1\library"
Please use forward slashes or soubled backslashes for
filenamespecification in R.
> I get the following error message.
> 'C:\temp\xpose4_4.0.4_win32.zip':Windows binary packages in zipfiles are not
> supported: skipping
Yes, the command line interface is intended for source packages only.
Use install.packages() from within R in order to isjtall binary packages
as those shipped in zip files.
> On Fri, May 1, 2009 at 3:51 PM, Santosh <santosh2005 at gmail.com> wrote:
>> Dear R-sians!
>> The following command works fine on Dos Prompt, but not in a windows batch
>> dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1"
>> how do I implement the above in a windows batch script? I tried to use:
>> for /F "usebackq tokens=*" %%i in (`dir /S /B C:\Progra~1\R\R* |findstr /I
>> "rcmd.exe" |findstr /I "2.8.1"`) do @echo %%i
>> and it does not seem to work! Where am I doing wrong?
>> THANKS A TON in advance!
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help