Displaying 7 results from an estimated 7 matches for "breaktest".
Did you mean:
breakfast
2017 Aug 23
4
Possible repeat{} / break function bug in R 3.4.1
...>>> [1] "No Break Dance :("
>>>> [1] "No Break Dance :("
>>>> [1] "No Break Dance :("
>>>> [1] "Break Dance!"
>>>> However, if I take the loop contents of the repeat{} function, and save them to a file (breakTest.R) that contains the following:
>>>>
>>>> if(x < y) {
>>>> print("No Break Dance :-(")
>>>> x = x + 1
>>>> } else {
>>>> print("Break Dance!")
>>>> break
>>>> }
>>>>
&g...
2017 Aug 23
2
Possible repeat{} / break function bug in R 3.4.1
..."No Break Dance :("
>> [1] "No Break Dance :("
>> [1] "No Break Dance :("
>> [1] "Break Dance!"
>> >
>>
>> However, if I take the loop contents of the repeat{} function, and save them to a file (breakTest.R) that contains the following:
>>
>> if(x < y) {
>> print("No Break Dance :-(")
>> x = x + 1
>> } else {
>> print("Break Dance!")
>> break
>> }
>>
>> And then run the follow...
2017 Aug 22
2
Possible repeat{} / break function bug in R 3.4.1
...}
}
[1] "No Break Dance :("
[1] "No Break Dance :("
[1] "No Break Dance :("
[1] "No Break Dance :("
[1] "No Break Dance :("
[1] "Break Dance!"
>
However, if I take the loop contents of the repeat{} function, and save them to a file (breakTest.R) that contains the following:
if(x < y) {
print("No Break Dance :-(")
x = x + 1
} else {
print("Break Dance!")
break
}
And then run the following code:
x <- 1
y <- 5
repeat{
source("./breakTest.R")
}
I get the following error:
[1] "No Br...
2017 Aug 23
0
Possible repeat{} / break function bug in R 3.4.1
..."No Break Dance :("
>>> [1] "No Break Dance :("
>>> [1] "No Break Dance :("
>>> [1] "Break Dance!"
>>>>
>>>
>>> However, if I take the loop contents of the repeat{} function, and save them to a file (breakTest.R) that contains the following:
>>>
>>> if(x < y) {
>>> print("No Break Dance :-(")
>>> x = x + 1
>>> } else {
>>> print("Break Dance!")
>>> break
>>> }
>>>
>>> And then run the follow...
2017 Aug 23
0
Possible repeat{} / break function bug in R 3.4.1
..."No Break Dance :("
>>>>> [1] "No Break Dance :("
>>>>> [1] "No Break Dance :("
>>>>> [1] "Break Dance!"
>>>>> However, if I take the loop contents of the repeat{} function, and save them to a file (breakTest.R) that contains the following:
>>>>>
>>>>> if(x < y) {
>>>>> print("No Break Dance :-(")
>>>>> x = x + 1
>>>>> } else {
>>>>> print("Break Dance!")
>>>>> break
>>&...
2017 Aug 23
0
Possible repeat{} / break function bug in R 3.4.1
...:("
>>>>> [1] "No Break Dance :("
>>>>> [1] "No Break Dance :("
>>>>> [1] "Break Dance!"
>>>>> However, if I take the loop contents of the repeat{} function, and
>>>>> save them to a file (breakTest.R) that contains the following:
>>>>>
>>>>> if(x < y) {
>>>>> print("No Break Dance :-(")
>>>>> x = x + 1
>>>>> } else {
>>>>> print("Break Dance!")
>>>>> break
>>&g...
2017 Aug 23
0
Possible repeat{} / break function bug in R 3.4.1
...t;No Break Dance :("
> [1] "No Break Dance :("
> [1] "No Break Dance :("
> [1] "No Break Dance :("
> [1] "Break Dance!"
> >
>
> However, if I take the loop contents of the repeat{} function, and save them to a file (breakTest.R) that contains the following:
>
> if(x < y) {
> print("No Break Dance :-(")
> x = x + 1
> } else {
> print("Break Dance!")
> break
> }
>
> And then run the following code:
>
> x <- 1
> y <- 5...