I try a simple example document .rnw at WinEdt with R Sweave Plugin like this :


\textbf{hello world}



So, i am running my document with R Sweave plugin but i get error like this

tes r sweave and knitr at Winedt

Error Launching Console Application 
Command Line:   "\bin\x64\Rscript" "C:\Users\hirwanto\AppData\Roaming\WinEdt Team\WinEdt 8\Contrib\R-Sweave\Sweave.R" "Ass.Rnw"
Startup Folder: D:

The system cannot find the file specified.

I don't know How to resolve it ? Before I can running my document.rnw and .rmd.


[To get this off the unanswered list]

First of all be sure to have R installed.

Then please uninstall the R-Sweave plugin (obsolete) and install the new RManager plugin.

This new one is able to detect the path to Rscript.exe from the Windows registry, so you will not have problems like this anymore!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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