Git Product home page Git Product logo

Comments (11)

jalvesaq avatar jalvesaq commented on September 16, 2024

There is no mandatory setup. It should work. What is your system?

from nvim-r.

george-githinji avatar george-githinji commented on September 16, 2024

OS X (Al Capitan)
Neovim 0.1.2
Nvim-R version 0.9.1

from nvim-r.

jalvesaq avatar jalvesaq commented on September 16, 2024

Sorry, but I don't have access to a OS X. So, I have no way of discovering what is wrong because it works on Linux.

If there was an error compiling nvimcom, you should see the compiler log indicating the error just after the message "Updating nvimcom..." which appears when you do <LocalLeader>rf and nvimcom either is not installed or is outdated.

from nvim-r.

drarrae avatar drarrae commented on September 16, 2024

I get this on OS-X with vim-7.4.1583 running inside Tmux-2.1 and iTerm-2.1.4 ... needed iTerm's "Step back in time" to capture this. I just switched from vim-R-plugin so may have some lingering setup for that that is not compatible with NVim-R perhaps??

Updating nvimcom... OK!
line 13:
E121: Undefined variable: g:R_term
E15: Invalid expression: g:R_term == "rxvt" || g:R_term == "urxvt"
line 43:
E121: Undefined variable: g:R_silent_term
E15: Invalid expression: g:R_silent_term

Relevent sections of .vimrc are:
" do I still need this first one also??
Bundle 'jalvesaq/R-Vim-runtime'
Bundle 'jalvesaq/Nvim-R'

" make R run in a pane below the current terminal vim
" using tmux not screen.
let vimrplugin_tmux = 1
let vimrplugin_applescript = 0

" stick to current color scheme
let rout_follow_colorscheme = 1

I really have just switched to NVim-R so I have yet to peruse the docs to dig deeper into this myself.

UPDATE:
Commented above vim-R-plugin statements and added these instead:
let R_in_buffer = 0
let R_applescript = 0
let R_tmux_split = 1

now I get:

Updating nvimcom... OK!
Error detected while processing function StartR:
line 112:
E117: Unknown function: StartR_TmuxSplit

R_tmux_split=0 didn't make any difference either....

from nvim-r.

jalvesaq avatar jalvesaq commented on September 16, 2024

@drarrae You can do this to see past error and warning messages:

:messages

Currently, R-Vim-runtime is not necessary because R runtime files are updated in Vim >= 7.4.1439.

I committed some changes to let you pass the first error. Let's we see what happen now.

Later I will try to discover why R_tmux_split is not working.

from nvim-r.

drarrae avatar drarrae commented on September 16, 2024

haha 3 years of vim and never needed 'messages:' before... learn something new everyday.
I tried to replicate on machine at home and by dropping

Bundle 'jalvesaq/R-Vim-runtime'
let R_in_buffer = 0
let R_applescript = 0

so I only have

Bundle 'jalvesaq/Nvim-R'
let R_tmux_split = 1

all is working.

Loving the speed. Feels more responsive.

from nvim-r.

jalvesaq avatar jalvesaq commented on September 16, 2024

@biorelated Did you install Nvim-R vimball? It does not include nvimcom yet. Only the development version (here at github) already includes it.

from nvim-r.

drarrae avatar drarrae commented on September 16, 2024

Both installs were direct from github. Though the second one would have
included your changes after my first post above.
I use vundle btw. Hence the Bundle(...) entry. Both systems I ran "BundleUpdate" in order to get Nvim-R installed.

from nvim-r.

jalvesaq avatar jalvesaq commented on September 16, 2024

Thanks for the feedback, @drarrae

I believe the issue reported by @biorelated is fixed in Nvim-R 0.9.2 released today.

from nvim-r.

george-githinji avatar george-githinji commented on September 16, 2024

@jalvesaq Sorry I missed your earlier communication. Yes I had downloaded the earlier tarball. Thank you for fixing this in the latest release! The issue has been resolved! Thank you very much for this!

from nvim-r.

jalvesaq avatar jalvesaq commented on September 16, 2024

Thanks for the feedback, @biorelated !

from nvim-r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.