aboutsummaryrefslogtreecommitdiff
path: root/dialoguer
diff options
context:
space:
mode:
Diffstat (limited to 'dialoguer')
-rw-r--r--dialoguer/context_script.r2
1 files changed, 2 insertions, 0 deletions
diff --git a/dialoguer/context_script.r b/dialoguer/context_script.r
index 0d51f7b..7c2f78a 100644
--- a/dialoguer/context_script.r
+++ b/dialoguer/context_script.r
@@ -60,6 +60,7 @@ send <- function(conn, data) {
}
# Add optional expect_data_type argument that will receive and convert data type as string
+# should there be an expected data type arg that specifies a known data type?
recv <- function(conn, silent = TRUE) {
if (silent) {
suppressWarnings(data <- readBin(conn, "raw", HEADER))
@@ -81,6 +82,7 @@ file_path <- recv(con)
file_path <- convert_from_binary(file_path, "character")
#load target file
+# need to learn how to receive path as system argument.
source(file_path)
confirm <- TRUE