From 66f7f3d839b1b2fb7afae2269f425c348fdd3498 Mon Sep 17 00:00:00 2001 From: TinWoodman92 Date: Sat, 17 Jun 2023 20:31:25 -0500 Subject: Update context_script.r added comments --- dialoguer/context_script.r | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dialoguer') 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 -- cgit v1.2.3