1 |
Statistics about stderr of test 'rapi06` in directory 'monetdb5/extras/rapi`: |
1 |
|
1 |
Statistics about stderr of test 'rapi06` in directory 'monetdb5/extras/rapi`: |
1 |
2 |
1 lines, 8 words, 67 chars in lines not matching '^$|^(\| |)#|^=` |
2 |
! |
2 |
12 lines, 59 words, 739 chars in lines not matching '^$|^(\| |)#|^=` |
2 |
3 |
= 1 lines, 8 words, 67 chars in lines not matching '^$|^(\| |)#` |
3 |
! |
3 |
= 12 lines, 59 words, 739 chars in lines not matching '^$|^(\| |)#` |
3 |
4 |
# 17 lines, 64 words, 633 chars in all lines |
4 |
! |
4 |
# 29 lines, 119 words, 1389 chars in all lines |
4 |
5 |
|
5 |
|
5 |
|
5 |
8 |
|
8 |
|
8 |
|
8 |
9 |
# 16:45:17 > |
9 |
! |
9 |
# 19:17:51 > |
9 |
10 |
# 16:45:17 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=33997" "--set" "mapi_usock=/var/tmp/mtest-95437/.s.monetdb.33997" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/Users/hannes/monetdb-rint-install/var/MonetDB/mTests_monetdb5_extras_rapi" "--set" "mal_listing=2" "--set" "embedded_r=yes" |
10 |
! |
10 |
# 19:17:51 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=8" "--set" "mapi_open=true" "--set" "mapi_port=31079" "--set" "mapi_usock=/var/tmp/mtest-20757/.s.monetdb.31079" "--set" "monet_prompt=" "--forcemito" "--set" "gdk_vm_maxsize=8589934592" "--dbpath=/home/monet/testing/f687d6376a82-8-1-1/tests/monetdb5/dbfarm/mTests_monetdb5_extras_rapi" "--set" "embedded_r=yes" "--set" "embedded_c=true" |
10 |
11 |
# 16:45:17 > |
11 |
! |
11 |
# 19:17:51 > |
11 |
12 |
|
12 |
! |
12 |
|
12 |
13 |
|
13 |
! |
13 |
|
13 |
14 |
# 16:45:18 > |
14 |
! |
14 |
# 19:17:52 > |
14 |
15 |
# 16:45:18 > "mclient" "-lmal" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-95437" "--port=33997" |
15 |
! |
15 |
# 19:17:52 > "mclient" "-lmal" "-ftest" "-tnone" "-Eutf-8" "--host=/var/tmp/mtest-20757" "--port=31079" |
15 |
16 |
# 16:45:18 > |
16 |
! |
16 |
# 19:17:52 > |
16 |
17 |
|
17 |
! |
17 |
|
17 |
18 |
|
18 |
! |
18 |
#~ MAPI = (monetdb) /var/tmp/mtest-20757/.s.monetdb.31079 |
18 |
19 |
# 16:45:18 > |
19 |
! |
19 |
QUERY = ts:= bat.new(:int); |
19 |
20 |
# 16:45:18 > "Done." |
20 |
! |
20 |
bat.append(ts,1387360138); |
20 |
21 |
# 16:45:18 > |
21 |
! |
21 |
bat.append(ts,451665720); |
21 |
|
|
|
+ |
22 |
bat.append(ts,514382400); |
22 |
|
|
|
+ |
23 |
bat.append(ts,1000209600); |
23 |
|
|
|
+ |
24 |
bat.append(ts,1326272400); |
24 |
|
|
|
+ |
25 |
|
25 |
|
|
|
+ |
26 |
r:bat[:int] := rapi.eval(nil:ptr,"library(moonsun);options(latitude=arg2,longitude=arg3);angles <- sapply(arg1,FUN=function(x){ts <- as.POSIXlt(x,origin = \"1970-01-01\",tz=\"UTC\");moon(jd(epoch=ts)+ts$hour/24)$angle});return(arg1[angles > 0])",ts,52.3,4.8); |
26 |
|
|
|
+ |
27 |
|
27 |
|
|
|
+ |
28 |
io.print(r); |
28 |
|
|
|
+ |
29 |
ERROR = !MALException:rapi.eval:Error running R expression: Error in .library.original(package, help, pos, lib.loc, character.only = T, : there is no package called ‘moonsun’ Calls: as.data.frame -> <Anonymous> -> library -> .library.original |
29 |
|
|
|
+ |
30 |
|
30 |
|
|
|
+ |
31 |
# 19:17:53 > |
31 |
|
|
|
+ |
32 |
# 19:17:53 > "Done." |
32 |
|
|
|
+ |
33 |
# 19:17:53 > |
33 |
22 |
|
22 |
|
34 |
|
34 |