Skip to content

Commit af42797

Browse files
updating appdeploy samples
1 parent ebf5846 commit af42797

4 files changed

Lines changed: 2 additions & 12 deletions

File tree

samples/features/sql-big-data-cluster/app-deploy/RollDice/roll-dice.R

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
##
77
#####################################################
88
#####################################################
9-
#install.packages("TeachingDemos")
109
# Note if you choose > 10 as the number of dice the app fails as it is not able to handle Null or N/A which are the default lables for the colors
1110
rollEm <- function(numDice = 2)
1211

@@ -21,8 +20,4 @@ rollEm <- function(numDice = 2)
2120
return(as.data.frame(r))
2221
}
2322
else {"Oops we have not quite figued this out... number of dice need to be less than or equal to 10!"}
24-
}
25-
26-
27-
result<-rollEm(x)
28-
23+
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
def add(x,y):
22
result = x+y
3-
return result;
4-
result=add(x,y)
3+
return result

samples/features/sql-big-data-cluster/app-deploy/magic8ball/magic8ball.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,3 @@ def magic8ball(txt):
3434
msg="My sources say no"
3535

3636
return msg
37-
#quizme="SQL Server Big Data Cluster is awesome"
38-
39-
result =magic8ball(txt)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
sofsq <- function(a,b) {
22
a^2 + b^2
33
}
4-
result <- sofsq (a,b)

0 commit comments

Comments
 (0)