Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I needed to run a .bat file on ubuntu 10.04, so I installed wine and brought up the console. my .bat file has R scripts, and when I run start test.bat I get the following error: wine: cannot find L"C:\\windows\\system32\\Rscript.exe" I know I have R as I use it the regular way, but this is my first experience with wine. any suggestions on how to fix the error....do I need to install R again. thx!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

For this error, you will need to install R for Windows within Wine. That should resolve your errors which you are getting.

share|improve this answer
thanks @Thomas. since I have never used Wine before, is there anything special I need to do to install it within Wine, or do I just go about the process as if I was working on windows machine... –  wineRy Dec 5 '11 at 5:14
@wineRy i'm not an expert with installing things on Wine. Personally, I run a Windows VM for Windows things, so i'm probably not the best person to ask how to install R within wine. I'd assume the process would be the same, but check appdb.winehq.org/… for compatibility charts of software on Wine. –  Thomas W. Dec 5 '11 at 18:52
(out of comment space) As well, I'd use the version that has the "Gold" rating for R. But that's just me. –  Thomas W. Dec 5 '11 at 18:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.