Error in StartR[17]: CheckNvimcomVersion[65]

21 views
Skip to first unread message

yueli...@gmail.com

unread,
May 1, 2020, 6:39:51 PM5/1/20
to Nvim-R
I am running, on Windows 7,  vim version 8.2.633 (downloaded form https://github.com/vim/vim-win32-installer/releases/tag/v8.2.0633).

After installing Nvim-R, I am happy to see the "R" menu option to appear when  I load a simple .R file.

However, I get these errors when I go up to the R menu and then do Start/Close -> StartR (default).

    Error detected while processing function StartR[17]..CheckNvimcomVersion[65]..Is
    DirWritable:
    line   13:
    E654: missing delimiter after search pattern: 482
    Error detected while processing function StartR[17]..CheckNvimcomVersion:
    line   65:
    E171: Missing :endif
    Error detected while processing function StartR:
    line   17:
    E171: Missing :endif

What am I doing wrong please?

Yuelin.

----------------
p.s., I followed the installation instructions and installed Nvim-R without problems (via Nvim-R.vmb downloaded from https://www.vim.org/scripts/script.php?script_id=2628, then read the file from vim and run 

   :packadd vimball
   :so %

The :version command shows that my gVim has +channel, +job, and +conceal.

In my _vimrc file, I have

   let R_path="C:\\Program Files\\R\\R-4.0.0\\bin\\x64"
   let R_args = ['--no-save', '--quiet']
   let R_app = 'Rterm'
   let R_cmd = 'Rterm'

and :echo R_cmd shows Rterm and :echo R_path shows C:\Program Files\R\R-4.0.0\bin\x64

Jakson Alves de Aquino

unread,
May 1, 2020, 7:28:31 PM5/1/20
to Nvim-R
I no longer have Windows in my notebook, but according to the user who reported this issue seven days ago the bug is fixed:

yueli...@gmail.com

unread,
May 3, 2020, 1:00:37 PM5/3/20
to Nvim-R
I have successfully installed Nvim-R (I think) using plug-vim as a plugin manager.  The previous error disappeared. However, when I load an R file and then click the menu bar startR, I get the error message below.  I have tried various R_args in my _vimrc file, inlcuding let R_args = ['--no-save', '--quiet'] and ['--save'].  The same error appears.

Fatal error: you must specify '--save', '--no-save' or '--vanilla'
Reply all
Reply to author
Forward
0 new messages