From ec3762249bfac1e0270d633b67025cb844e79300 Mon Sep 17 00:00:00 2001 From: marcelcosta Date: Fri, 1 Apr 2022 12:38:11 +0200 Subject: [PATCH] Hacer que el source sea local para que se almacenen las variables. --- R/sqlFile.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/sqlFile.R b/R/sqlFile.R index cdcb479..c96b422 100644 --- a/R/sqlFile.R +++ b/R/sqlFile.R @@ -1,6 +1,5 @@ sqlFile<-function(file=1, list=F){ - source("~/.BDpath.R", encoding = "UTF-8") - sqlFiles<-list() + source("~/.BDpath.R", encoding = "UTF-8", local = T) if (list){ print(sqlFiles) }else{