First of all, many thanks for NppToR. It's a great program.
When sending a command to R using F8, it just add the code to the current line. So, if something is already written on the line in the R console, it may execute wrong code.
Suppose you have written in the R console
if you send x<-1
>MyVarx <- 1
I think NppToR could use a strategy similar to the one used by Rgui with "update packages..."
It record the command on the current line.
Restore the command previously removed.
Something else (that look more like a feature request). I would really enjoy a shortcut to send a source command on the current file to R. Something like
> source (pathtomyfile)
when pressing F9 (or anything else.)
Many thanks again