r - How to pass an RDS object to the stackoverflow community -
suppose want ask question code uses rds object containing lot of information. example, here can download such object (named "ita_adm1.rds"). locally i'll do:
... italia <- readrds("ita_adm1.rds") ... now, suppose want "pass" object (such let try it). have tried solve throught dput():
objx <- dput(x = italia, file = "") italia2 <- dget(objx) but doesn't work because objx null.
how can put @ disposal (supposing isn't on web)?
edit: final purpose (if useful) plot map
> col1 <- dput(col) c("#ffff80ff", "#ffff00ff", "#ffaa00ff", "#ff5500ff", "#ff0000ff") > library(sp) > spplot(italia, "feature", col.regions=col, main = title) and ask how change side legend.

Comments
Post a Comment