Hi guys
Please assists I'm creating a Markov chain using the function "new" but everytime I run that line of code my rStudio stops working. there is a stop sign as if I am loading a package and it never goes away. I have tried to restart multiple times but still doesn't work.
MCcriminal <- new("markovchain", states = Statelbls, transitionMatrix = P)
So I decided to switch computers and now I'm getting an error message;
criminals <- new("markovchain", states = Statenames, transitionMatrix = P)
Error in FUN(X[[i]], ...) :
function 'Rcpp_precious_remove' not provided by package 'Rcpp'
This got me to the same problem. I will uninstall rStudio and download the latest version. hope that helps and will update you. thanks for being so kind
I am currently using the cloud version of rStudio and I have no issues there. So clearly there must be a problem with the rStudio installed.
I understand why you might think that but as andresrcs hinted at. Rstudio is an Integrated Development environment for R, that makes it convenient to program in R, but is seperate and distinct from R itself.
In fact if you go to Rstudio's Tools menu, General , you will see a box to select the R version to use.