GithubHelp home page GithubHelp logo

function hint about r-box HOT 19 CLOSED

randy3k avatar randy3k commented on July 20, 2024
function hint

from r-box.

Comments (19)

randy3k avatar randy3k commented on July 20, 2024

You can try to specify the path to the R script executable in the R-Box settings.

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

wow. This quick.
Shall I edit R-Box.sublime-settings files? The path seems right. My Rscript was in "/usr/bin/Rscript". And it is executable.

from r-box.

randy3k avatar randy3k commented on July 20, 2024

Yes, it is R-Box.sublime-settings. However, your path to Rscript is the standard path /usr/bin/Rscript. R-Box should be able to find it automatically...

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

That's weird. I set Rscript path to your hint.py file and still not working. I can call function by Rscript from terminal as well. Anyway, thanks!

from r-box.

randy3k avatar randy3k commented on July 20, 2024

are there any error messages in the sublime console?

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

no. all plugin were loaded.

startup, version: 3065 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
working dir: /
packages path: /home/james/.config/sublime-text-3/Packages
state path: /home/james/.config/sublime-text-3/Local
hardware concurrency: 4
zip path: /opt/sublime_text/Packages
zip path: /home/james/.config/sublime-text-3/Installed Packages
found 10 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 38 files for base name Main.sublime-menu
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
startup cache, total files: 251 cache hits: 251
pre session restore time: 0.065783
using gamma: 1 (err: 0)
startup time: 0.180086
first paint time: 0.189713
launching: /opt/sublime_text/plugin_host
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin DeleteBlankLines.DeleteBlankLines
reloading plugin Package Control.Package Control
reloading plugin R-Box.appswitch
reloading plugin R-Box.completions
reloading plugin R-Box.hint
reloading plugin R-Box.misc
reloading plugin R-Box.sendtext
reloading plugin R-Box.source
reloading plugin SublimeREPL.init
reloading plugin SublimeREPL.completions
reloading plugin SublimeREPL.lang_integration
reloading plugin SublimeREPL.run_existing_command
reloading plugin SublimeREPL.sublimerepl
reloading plugin SublimeREPL.sublimerepl_build_system_hack
reloading plugin SublimeREPL.text_transfer
plugins loaded
loaded 837 snippets
Package Control: No updated packages

from r-box.

randy3k avatar randy3k commented on July 20, 2024

how about when you type a function name? for example, plot(?
The status bar should show the arguments of plot if it functions correctly.

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

unfortunately, nothing happened..

screenshot from 2014-10-25 15 42 20

from r-box.

randy3k avatar randy3k commented on July 20, 2024

But no error message in the console?

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

no...
screenshot from 2014-10-25 15 48 11

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

Function hint works fine in my win7 PC. It showed nothing for function like 'qplot' but it's ok to show hints for regular functions like 'read.tree' and 'as.data.frame'.

from r-box.

randy3k avatar randy3k commented on July 20, 2024

May be you haven,t installed ggplot2?

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

of coz I did...I thought it might associate with my ubuntu? have you tried this funtion on linux platform? because my PC seems fine. Thx!

from r-box.

randy3k avatar randy3k commented on July 20, 2024

it is working on my ubuntu.

and for you windows issue, I also cannot do qplot, but I can do ggplot....very strange.

from r-box.

randy3k avatar randy3k commented on July 20, 2024

ar...I just recognized that there are potential problems if users don't have both ggplot2 and data.table installed. I am making them optional.

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

I stalled these two packages but still not working...sad

from r-box.

randy3k avatar randy3k commented on July 20, 2024

I have changed the way status bar hint works. See if it works for you now.

from r-box.

jameshliang avatar jameshliang commented on July 20, 2024

Hi Randy,

It's working. I re-installed R-Box. Then I put your updated packages on git into ~/.config/sublime-text-3/Packages. It works fine now. Thanks for the wonderful work!

James

from r-box.

randy3k avatar randy3k commented on July 20, 2024

great. :)

from r-box.

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.