Category "rstudio"

How do I change the directory displayed in the RStudio file pane / navigator using code?

I am writing an R package for a lab notebook. One function makes a new directoy with some Rmd files, opens the files with file.edit, and changes the current wor

Making neural network training reproducible using RStudio's Keras interface

I'm trying to make neural network training reproducible using RStudio's Keras interface. Setting a seed in the R script (set.seed(42)) doesn't seem to work. Is

Keyboard shortcut for code chunk in R Markdown for windows gives í

Using RStudio for windows. Help says keyboard shortcut for inserting code chunk is Ctrl + Alt + i, which should give me: ```{r} ``` Instead, I get í

Git tab missing in RStudio after git installed on Windows

Installed R, R Studio, Git but when I opened R Studio, there was no Git tab, like the screenshot below: Windows 8.1, x64 R version: 3.5.1 R Studio version: 1.

R Session Aborted and R encountered a fatal error

I have been using Rstudio for a while and there was no problem until I was trying to install rJava and xlsx package in R. I had updated both my RGui and Rstudio

`rgl` crashes R 4.2.0 in RStudio

The new release of R version 4.2.0 will crash when loading the rgl package if in RStudio. What can I do about it?

Rstudio does not recognize MacTeX MacOSx 10.7.5, can't preview pdf

I have created an .md file, but to preview it in pdf format Rstudio requires MacTeX installation. I've installed it, read README file, everything is there, the

Saving an R-Script results in empty file

I have recently started using R for uni. I want to save my code using either save as or ctrl+s. However, the saved file is empty more often than not. For some r

Rstudio: Changing origin for git version control of project

I originally set up git in Rstudio while enrolled in the Data Scientist's Toolbox course at Coursera. Unfortunately, I did this in my phd project. The repositor

Unable to get plots displayed in Rstudio graphical viewer.

When I run my code all my graphs (both ggplot2 and plot) are displayed in an external "Quartz 2 [*]" graphical viewer. I would like them to be displayed in th

Unable to get plots displayed in Rstudio graphical viewer.

When I run my code all my graphs (both ggplot2 and plot) are displayed in an external "Quartz 2 [*]" graphical viewer. I would like them to be displayed in th