Relative Content

Tag Archive for rrstudio

Green Infinite Circle RStudio

In “complex” codes, especially in square brackets {} Rstudio stops and displays:
“Session suspension timeout paused: Incomplete command prompt entered. Waiting for event: console_input”

I am getting an error trying to start RStudio

RStudio does not open on my Mac and it keeps crashing. I’ve tried uninstalling R and RStudio and install different versions of RStudio. I have also updated my Mac and tried re-installing. When it starts, I get a message that says “R has encountered a fatal error”.

Calculating contribution with Rstudio

I have data of disability (4 types of disability A, B, C and D) and I want to calculate the contribution of each type, so I need to remove one type each time, for example for calculating the contribution of type A I have to remove type A and calculate the disability free life expectancy(DFLE) without it then I do DFLE-DFLE(without A) to calculate its contribution. Now the problem is sometimes there is a comorbidity (individual has 2 types of disability at the same time) for example he has type A and B so how I can remove the A without removing the entire row
exmple of my data:
Ind | A | B | C | D |
i1 | 1 | 0 | 0 | 0 |
i2 | 1 | 0 | 1 | 0 |
i3 | 0 | 0 | 1 | 0 |
i4 | 0 | 0 | 0 | 1 |
i5 | 1 | 1 | 0 | 0 |
i6 | 0 | 0 | 1 | 0 |
i7 | 0 | 1 | 0 | 0 |
i8 | 1 | 0 | 0 | 1 |
i9 | 0 | 1 | 0 | 0 |
i10 | 0 | 0 | 1 | 0 |

Assigning Y-Axis with 24 hours range

Newbie in R here. I am struggling to assign the y-axis with the hour format. I have a data of Islamic prayer time for one whole year and what I am intending to do is to plot 5 prayer times in a graph starting from Jan 24 until Dec 24.

Error in download data from yahoo in r studio using tq_get function

i want to download the stock data. When i use the tq_get function, it shows that Caused by warning:
! x = ‘RCL’, get = ‘stock.prices’: Error in getSymbols.yahoo(Symbols = “RCL”, env = , verbose = FALSE, : Unable to import “RCL”.
HTTP error 403.
So how can i download the stock data, please help.