randy3k / radian

A 21 century R console
MIT License
2k stars 76 forks source link

`?/help` only valid in the the integrated `radian` in the `vscode` or `R` in the terminal #337

Open sci-42ver opened 2 years ago

sci-42ver commented 2 years ago

options(languageserver.snippet_support = TRUE) options(languageserver.max_completions = 50) options(languageserver.rich_documentation = TRUE) options(languageserver.log_file = "~/R_languageserver.log") options( languageserver.server_capabilities = list( resolveProvider = TRUE ) )

options(vsc.use_httpgd = TRUE) options(vsc.str.max.level = 5) options(vsc.rstudioapi = TRUE) options(vsc.viewer = "Beside") options(vsc.defaultAllowGlobalDebugging = TRUE) options(vsc.plot = "Active") options(vsc.browser = "Active") options(vsc.viewer = "Active") options(vsc.page_viewer = "Active") options(vsc.view = "Active") options(vsc.helpPanel = "Active") options(vsc.dev.args = list(width = 10, height = 8, units = "in", res = 300))

options(tab.width = 2) options(width = 130) options(graphics.record = TRUE) options(scipen = 10)

utils::rc.settings(ipck = TRUE) .First <- function() { options( searcher.launch_delay = 0, searcher.use_rstudio_viewer = FALSE, searcher.default_keyword = "tidyverse"

)

Sys.setenv(TERM_PROGRAM = "vscode") source(file.path( Sys.getenv( if (.Platform$OS.type == "windows") "USERPROFILE" else "HOME" ), ".vscode-R", "init.R" ))

Sys.setenv(R_HISTSIZE = "100000") cat("\nWelcome at", date(), "\n")

if (Sys.getenv("TERM") %in% c("xterm-256color", "screen-256color")) { library("colorout") } } .Last <- function() { cat("\nGoodbye at ", date(), "\n") }

options(editor = "vim")

- I run `r --r-binary $(which R)` but it doesn‘t help 
  -  I only installed only one version of `R`
    ```bash
    whereis R
    R: /usr/bin/R /usr/lib/R /etc/R /usr/local/lib/R /usr/share/R /usr/share/man/man1/R.1.gz
randy3k commented 2 years ago

I am not sure if I understand your issue.

sci-42ver commented 2 years ago

I am sorry for saying maybe hastily.

I am not sure if I understand your issue.

but I solved the issue and thank for your development :smiling_face_with_three_hearts: