Dear Community,
When I open Rstudio on my macbook I always got an request from R-studio to install/alter my settings regarding development tools (or something like that). I never installed it because studio was working fine. But today is used the fix() command and then it gave the request to alter the settings again. Which I did but now the packages aren't working properly anymore. I get weird errors when using (for example) the plot() command:
dataset <- read.csv(file.choose(), header = TRUE, sep = ";")
attach(dataset)
plot(Age, LungCap)
Warning message:
In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion.
Before I never got a warning or an error and the plot only show a view variables. Before it showed all 725 variabels.
Also the lm() command:
lm(Age ~ LungCap)
Call:
lm(formula = Age ~ LungCap)
Coefficients:
(Intercept) LungCap1,025 LungCap1,125 LungCap1,175 LungCap1,325
3.000e+00 -1.404e-13 1.000e+00 6.156e-13 2.000e+00
LungCap1,45 LungCap1,575 LungCap1,625 LungCap1,675 LungCap1,775
1.077e-14 3.000e+00 5.000e+00 5.601e-13 4.000e+00
LungCap1,85 LungCap1,9 LungCap1,925 LungCap1,95 LungCap10
5.000e+00 5.000e+00 2.000e+00 4.000e+00 1.500e+01
LungCap10,025 LungCap10,05 LungCap10,1 LungCap10,125 LungCap10,175
(deleted the other items)
Before it just showed two coefficients: one for LungCap and one for Age.
Also issues with lm.fit.
I do not have these issues when I import the data with the function import dataset in the section environment.
Can someone please help?
With kind regards,
DataMagic