Skip to content

Commit eb4a259

Browse files
committed
bugs
1 parent 46fd7f7 commit eb4a259

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

interpreter.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
# This is the main interpreter. This is used to read through the file and call the respective libraries
55
#
66

7-
7+
rm(list=ls()) #This clears all system vars to avoid errors
88
#First Check OS type:
99
os_version <- 0
1010
if(Sys.info()[1] != "Windows"){
1111
os_version <- 1
1212
}
1313
# TO read console input for ths program
14-
rm(list=ls()) #This clears all system vars to avoid errors
1514
args <- commandArgs(trailingOnly = TRUE)
1615
loadScript <- function(){
1716
fileName <- ""
@@ -38,7 +37,7 @@ library(foreach)
3837
if (!require("tools")) install.packages("tools", repos='http://cran.us.r-project.org')
3938
library(tools)
4039

41-
devToggle <- 1 # Toggle 1 is dev mode 0 isnt
40+
devToggle <- 0 # Toggle 1 is dev mode 0 isnt
4241

4342
if(devToggle != 1){
4443
# From loading from a file have to conver to table matrix

0 commit comments

Comments
 (0)