Is there a way to run R scripts that are inside a zip file in c++ application?

I am using RInside to execute R scripts in c++ applications.

if there is only one R script in a zip file, I can unzip the file in memory, read the R script, then call Rinside::parseEvalQ().

but if there are multiple R scripts : one main script that uses other scripts that contains functions, classes etc. and these scripts are in different directories.

is there a way to run the main script without unzipping the zip file to disk? I can do this with python. but didn't find a way to do this with R