convertir archivos json en archivos R / text sin ejecución

Rstudio se ha bloqueado mientras trabajaba y los archivos no guardados no se pudieron cargar en la sesión. Pero los archivos están disponibles en formato JSON. Un ejemplo,

{
    "contents" : "library(hgu133a.db)\nx <- hgu133aENSEMBL\nx\nlength(x)\ncount.mappedkeys(x)\nx[1:3]\nlinks(x[1:3])\n\n## Keep only the mapped keys\nkeys(x) <- mappedkeys(x)\nlength(x)\ncount.mappedkeys(x)\nx # now it is a submap\n\n## The above subsetting can also be achieved with\nx <- hgu133aENSEMBL[mappedkeys(hgu133aENSEMBL)]\n\n",
    "created" : 1463131195093.000,
    "dirty" : true,
    "encoding" : "",
    "folds" : "",
    "hash" : "1482602869",
    "id" : "737C178C",
    "lastKnownWriteTime" : 0,
    "path" : null,
    "project_path" : null,
    "properties" : {
        "tempName" : "Untitled3"
    },
    "source_on_save" : false,
    "type" : "r_source"
}

Los archivos de formato JSON se pueden leer utilizando eljsonlite::fromJSON&nbsp;y la información requerida se almacenó en la variable de contenido. Cuando trató de leer los comandos usando elreadLines()&nbsp;oscan()&nbsp;los comandos se ejecutaban en lugar de convertirlos en un archivo simple. Cómo convertir esto en unr&nbsp;archivo ?

salida (?): comando en unr&nbsp;archivo de script / texto.

library(hgu133a.db)
x <- hgu133aENSEMBL
x
length(x)
count.mappedkeys(x)
x[1:3]
links(x[1:3])

## Keep only the mapped keys
keys(x) <- mappedkeys(x)
length(x)
count.mappedkeys(x)
x 
# now it is a submap

## The above subsetting can also be achieved with
x <- hgu133aENSEMBL[mappedkeys(hgu133aENSEMBL)]