Description Usage Arguments Examples
View source: R/Isobole_plotting.R
Reads an RDS file which can be stored in a xxxx.zip file The filename argument specifies the path to the RDS file. If the files is inside a zip file, then "@#@" is used as a delimiter.
1 | readRDS.zipped(filename)
|
filename |
path to file |
1 2 3 4 5 6 7 8 9 10 11 12 | # Read parts from zipped files
.inputFolder <- system.file("examples/Example-1/Outputs/Simulations",
package = "populationIsoboles")
files <- populationIsoboles:::list.files.zipped(.inputFolder, "", full.names = TRUE)
file <- grep("@#@", files, value =TRUE)[1]
print(file)
populationIsoboles:::readRDS.zipped(file)
# Read non-zipped files
tf <- tempfile(fileext = ".rds")
saveRDS(mtcars, tf)
populationIsoboles:::readRDS.zipped(tf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.