Relative Content

Tag Archive for rrstudio

Cannot figure out source of lmrob() error that reads: Error in lmrob.S(x, y, control = control) : length(y) == n is not TRUE

I am doing a personal project trying to learn about multivariate statistics. I downloaded a dataset (found here if you want to look). At first I wanted to do a MANOVA since I have a tutorial for doing MANOVA in RStudio but realized the data doesn’t really work for a MANOVA. So, I decided to try a multivariate linear model of predicting multiple DV scores from scores on the IV.

I made two plots using par() in R, but it doesn’t save

I made a function where I read a csv file, process the data into the dataframe, make a boxplot and barplot in a (2,1) layout, and save in png file. If I run a function, it does show the correct dataframe, but the plots are not saved. If I run the plot code independently, Rstudio shows the plots correctly though. Please help…

RStudio does not open after Windows11 update

After the Windows11 update my RStudio opened only being blank. I could not access any settings or scripts I used to have open. So I deinstalled it + my R-version and installed the latest R and RStudio versions, then it told me “R does not appear to be installed”, although it is.

R function stopped working after R update

I am really puzzled over this. I have been using an R package called “ggcyto”. After some updates to R, the function stopped working by returning the following error when running the following code: