R library()

1 개요[ | ]

R library()

2 기본 예제[ | ]

R
CPU
0.3s
MEM
51M
0.4s
Copy
p <- ggplot(mtcars, aes(wt, mpg))
print( "hello" )
Error in ggplot(mtcars, aes(wt, mpg)) : could not find function "ggplot"
Execution halted
Command exited with non-zero status 1
R
CPU
0.9s
MEM
73M
1.2s
Copy
library(ggplot2)
p <- ggplot(mtcars, aes(wt, mpg))
print( "hello" )
[1] "hello"

3 quietly 옵션[ | ]

R
Copy
library(caret)
print( "hello" )
Loading
R
Copy
library(caret, quietly=T)
print( "hello" )
Loading

4 warn.conflicts 옵션[ | ]

R
Copy
library(dplyr)
print( "hello" )
Loading
R
Copy
library(dplyr, quietly=T)
print( "hello" )
Loading
R
Copy
library(dplyr, warn.conflicts=FALSE) 
print( "hello" )
Loading

5 같이 보기[ | ]

6 참고[ | ]