Skip to content

Progress .r File | Decompile

dput(data, file="reconstructed.R")

con <- file("yourfile.r", "rb") raw_content <- readBin(con, raw(), file.size("yourfile.r")) obj <- unserialize(raw_content) This works only if the file is a raw serialization stream. decompile progress .r file

load("yourfile.r") # loads object(s) into environment # or data <- readRDS("yourfile.r") Then inspect structure: dput(data, file="reconstructed

(if it contains a function)

file yourfile.r or inside R: