Relative Content

Tag Archive for rrstudio

RStudio silly question – is there a way to get the cursor to go to final submitted line after highlighting several?

So, this is definitely a trivial and silly question about the RStudio environment. I resisted using it for years since I started off using R on Linux. I either use then native GUI or a text editor. One thing I miss about it is that I would highlight a large chunk of code and hit Ctrl + R and it would run and then the cursor would go all way down to the end of where I highlights. It also didn’t terminate upon error and if there was an error higher up then you’d get a bloodbath (a blue bath) of them on the console. I kinda prefer that.

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.