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”.
Why .libPaths update in R but not in Rstudio?
I made a copy of R from C: drive in windows to a usb stick together with a copy of Rstudio.
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.
Rplotly plot showing white viewer
Using getting started with rplotly guide, viewer pane shows white. how to get around with this? many thanks in advance.
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.
Removing ‘De’ and ‘Da’ prefixes from author names in biblioshiny plot
I am currently working on a bibliometric analysis using the bibliometrix package in R. I have encountered an issue where author names with the prefixes ‘De’ and ‘Da’ are causing problems in the biblioshiny plot of most relevant authors.
I got this on my first screen after the installation. how can I fix this?
install.packages(“stats”, dependencies = TRUE)
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
R debugonce error: “Error :no more error handlers available (recursive errors?)”
After a recent upgrade to R v 4.4.0. I am getting the following error when trying to debug code in Rstudio v. 2023.06.2 (“Mountain Hydrangea”) using both debugonce
and debug
:
R – Using robustrao package – constructing dataset
for a university project i’m interested in measured interdisciplinarity between a set of scientific articles.