powered by
as.character
## S3 method for class 'file': as.character(x, ...)
file
summary.connection
rprofile <- file.path(R.home("etc"), "Rprofile.site") fcon <- file(rprofile) assert_all_are_true(identical(as.character(fcon), rprofile)) close(fcon)
Run the code above in your browser using DataLab