R - This warning is displayed once every 8 hours.Call `lifecycle::last_lifecycle_warnings()` to see where thiswarning was generated.
2023. 5. 22. 19:17ㆍ데이터 분석/에러
RStudio로 qplot그리려는 중 나온 에러

세션이 오래되어서 나온 에러라고 해서 껐다 켰는데 또다른 에러가 나왔다.
2번이 껐다 키는걸로 해결되었고 1이 남아있었다.

qplot이 이제 더이상 지원되지 않는다는 얘기.

검색해보니 도큐먼트에 qplot대신 ggplot의 쓰임을 늘리려 중단한다고 한다.
qplot에서 ggplot을 쓰면
qplot(xdata, ydata, wholedata=##) 식에서
ggplot(data=##, aes=(xdata, ydata)) 식으로 바뀐다.
https://search.r-project.org/CRAN/refmans/ggplot2/html/qplot.html
R: Quick plot
qplot {ggplot2}R Documentation Quick plot Description qplot() is now deprecated in order to encourage the users to learn ggplot() as it makes it easier to create complex graphics. Usage qplot( x, y, ..., data, facets = NULL, margins = FALSE, geom = "auto",
search.r-project.org
728x90
'데이터 분석 > 에러' 카테고리의 다른 글
R - Error in make.names(col.names, unique = TRUE) : invalid multibyte string at '<c1><f6><bf><aa>' (0) | 2023.06.05 |
---|---|
R - 한글 깨질 때 (0) | 2023.05.24 |
회귀모형 그래프 그릴때 본 에러 (0) | 2023.05.09 |
R - basic summary 결과값 해석 (0) | 2023.05.07 |
R - 히스토그램과 확률밀도함수 같이 그릴때 본 에러 (0) | 2023.04.29 |