rstudio

How to set the console's key binding in RStudio?

旧街凉风 提交于 2020-06-12 07:25:06
问题 I have set the keybindings to emacs in the RStudio's global option, but it seems didn't affect the console. Is there any way to set the console's keybinding to emacs? 回答1: Unfortunately no -- the active keybindings currently only take effect within the source editor. 来源: https://stackoverflow.com/questions/40457084/how-to-set-the-consoles-key-binding-in-rstudio

Exporting Arabic Text from R

那年仲夏 提交于 2020-06-11 11:10:06
问题 I'm trying to export a data frame with Arabic text in R. When R imports Arabic text it converts it to UTF-8 codes. Like this: <U+0627><U+0644><U+0641><U+0631><U+0639> <U+0627><U+0644><U+062A><U+0634><U+0631><U+064A><U+0639><U+064A><U+060C> <U+0627><U+0644><U+0641><U+0631><U+0639> <U+0627><U+0644><U+062A><U+0646><U+0641><U+064A><U+0630><U+064A><U+060C><U+0627><U+0644><U+0641><U+0631><U+0639> <U+0627><U+0644><U+0642><U+0636><U+0627><U+0626><U+064A>. <U+0627><U+0644><U+062D><U+0643><U+0648><U

Leaflet maps not working in R Studio after R 4.0.0 upgrade

核能气质少年 提交于 2020-05-28 07:17:01
问题 I updated my computer the other day (R, R Tools, and RStudio), and leaflet stopped working. When I run this example in the RGUI it's very slow, but eventually it opens a web page in a browser. When I run it in R Studio it's very slow, eventually the command finishes but nothing appears in the "view" tab, and R Studio keeps using more and more memory until I force kill it. library(leaflet) leaflet() %>% addTiles() %>% addMarkers(lng=174.768, lat=-36.852, popup="R") I've tried a few things with

Leaflet maps not working in R Studio after R 4.0.0 upgrade

帅比萌擦擦* 提交于 2020-05-28 07:14:48
问题 I updated my computer the other day (R, R Tools, and RStudio), and leaflet stopped working. When I run this example in the RGUI it's very slow, but eventually it opens a web page in a browser. When I run it in R Studio it's very slow, eventually the command finishes but nothing appears in the "view" tab, and R Studio keeps using more and more memory until I force kill it. library(leaflet) leaflet() %>% addTiles() %>% addMarkers(lng=174.768, lat=-36.852, popup="R") I've tried a few things with

R Studio - Task ScheduleR Installation

ⅰ亾dé卋堺 提交于 2020-05-17 06:08:25
问题 I am new to R and using the software via work controlled installation. We have managed to install Task Scheduler as in I can see it in Addin dropdown however when it runs i get this error message and the IT team are at a loss; Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In gzfile(file, mode) : cannot open compressed file 'C:/Program Files/R/R-3.6.1/library/taskscheduleR/extdata/RscriptRepository.rds', probable reason 'Permission denied' Any any

Installing a package in R inside a script

时间秒杀一切 提交于 2020-05-17 06:03:23
问题 I'm a beginner with R. I want to launch R scripts at specific moments, managing this with Linux's cron and launching the scripts as Rscript name_of_the_script . I have installed tidyverse in Rstudio, with install.packages("tidyverse") . Ok, but I guess that installation is specific to the Rstudio environment. When working in a script (not using Rstudio), and launching that script with Rscript, the library tidyverse is not installed. Even worse, I couldn't install it in the script with install

When loading data in Rstudio getting error “ReadItem: unknown type 161, perhaps written by later version of R”?

寵の児 提交于 2020-05-13 22:38:03
问题 When I am trying to load a clean data in Rstudio, file name called salesClean.RData, I am getting error. Error message is: ReadItem: unknown type 161, perhaps written by later version of R Screenshot of error message: 回答1: Here is what worked for me: Simple Solution: Try to use the tool Load Workspace . It allows you to select the Rds file and load it into memory. Best Solution: In some cases you do need to load the file programatically. In these situations you will probably prefer get your R

When loading data in Rstudio getting error “ReadItem: unknown type 161, perhaps written by later version of R”?

*爱你&永不变心* 提交于 2020-05-13 22:37:43
问题 When I am trying to load a clean data in Rstudio, file name called salesClean.RData, I am getting error. Error message is: ReadItem: unknown type 161, perhaps written by later version of R Screenshot of error message: 回答1: Here is what worked for me: Simple Solution: Try to use the tool Load Workspace . It allows you to select the Rds file and load it into memory. Best Solution: In some cases you do need to load the file programatically. In these situations you will probably prefer get your R

Buttons to stage and discard selections in Rstudio editor not working

风格不统一 提交于 2020-05-12 19:58:49
问题 I have a problem that I am unable to use the "Stage line/selection" and "Discard line/selection" buttons that appear when selecting specific lines in the Rstudio git review changes. When pressed, the selection disappears and nothing happens. To illustrate, say I have a file in which I have made some additions and deletions: Note, the "Stage chunk" and "Discard chunk" buttons on the right works as expected. Now, say I wish to stage and commit only the added lines (the code comment). I first

Buttons to stage and discard selections in Rstudio editor not working

泪湿孤枕 提交于 2020-05-12 19:58:26
问题 I have a problem that I am unable to use the "Stage line/selection" and "Discard line/selection" buttons that appear when selecting specific lines in the Rstudio git review changes. When pressed, the selection disappears and nothing happens. To illustrate, say I have a file in which I have made some additions and deletions: Note, the "Stage chunk" and "Discard chunk" buttons on the right works as expected. Now, say I wish to stage and commit only the added lines (the code comment). I first