Repository navigation
Help
DescriptionHi all, apologies if this is a silly question. Is it possible to load a targets object from outside of a targets directory? For example, can I take a file from the _targets/objects folder of directory A, copy it to a non-targets directory B, and load it outside of the targets environment it was created in? I understand that in most contexts, the better solution would probably be to have targets the object simply be a pointer to a file that can be read in elsewhere, but I'm interested in exporting large target objects that are automatically generated by stantargets and would prefer not to have multiple versions of these if I can avoid it. It seems like in principle this should be easy, but I've dug through the documentation and haven't found anything (although I may have just missed it or used the wrong keywords). Thanks in advance for any help! |
Replies: 1 comment 3 replies
|
They are just rds objects, so |
They are just rds objects, so
readRDS()or similar should work.