see below! On Mon, Apr 9, 2012 at 3:04 PM, Gabor Grothendieck <ggrothendi...@gmail.com> wrote: > On Mon, Apr 9, 2012 at 4:02 PM, Gabor Grothendieck > <ggrothendi...@gmail.com> wrote: >> On Mon, Apr 9, 2012 at 2:47 PM, Martin Maechler >> <maech...@stat.math.ethz.ch> wrote: >>> Apropos: >>> >>> I don't have the problems, the OP had, but on my ubuntu >>> notebook, Ryacas does not return expressions (just the strings), >>> and hence >>> >>> as.expression( <yacas-result> ) >>> >>> always gives NULL and e.g. the demo(Ryacas-Function) >>> also fails: >>> >>> > yacas(expression(deriv(BurrCDF(x,c,k)))) >>> k*c*x^(c-1)*(x^c+1)^(-(k+1)); >>> > yy <- yacas(expression(deriv(BurrCDF(x,c,k)))) >>> > yy >>> k*c*x^(c-1)*(x^c+1)^(-(k+1)); >>> > str(yy) >>> List of 2 >>> $ : NULL >>> $ YacasForm: chr "k*c*x^(c-1)*(x^c+1)^(-(k+1));" >>> - attr(*, "class")= chr "yacas" >>> > >>> >>> I have >>> >>> - yacas 1.2.2 (standard ubuntu package) >> >> The latest version of Ryacas on CRAN is 0.2-11 >> http://cran.r-project.org/package=Ryacas > > and the version of yacas supported by Ryacas is: > >> yacas("Version()") > expression("1.0.63") > > The troubleshooting section on the home page that I referred to does > mention this.
Thanks! I deinstalled the synaptic-installed yacas, downloaded yacas_1.0.63.tgz unpacked it , run ./configure --enable-server then did make But make does not terminate, it ends in error! I give the last few lines of output: rm -fr .libs/filescanner.la .libs/filescanner.* .libs/filescanner.* gcc -shared filescanner.lo plugin.lo -Wl,-soname -Wl,filescanner.so -o .libs/filescanner.so ar cru .libs/filescanner.a filescanner.o plugin.o ranlib .libs/filescanner.a creating filescanner.la (cd .libs && rm -f filescanner.la && ln -s ../filescanner.la filescanner.la) make[3]: Leaving directory `/home/kjetil/yacas/yacas-1.0.63/plugins/filescanner' make[3]: Entering directory `/home/kjetil/yacas/yacas-1.0.63/plugins' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/kjetil/yacas/yacas-1.0.63/plugins' make[2]: Leaving directory `/home/kjetil/yacas/yacas-1.0.63/plugins' Making all in proteus make[2]: Entering directory `/home/kjetil/yacas/yacas-1.0.63/proteus' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/kjetil/yacas/yacas-1.0.63/proteus' Making all in manmake make[2]: Entering directory `/home/kjetil/yacas/yacas-1.0.63/manmake' source='manripper.cpp' object='manripper.o' libtool=no \ depfile='.deps/manripper.Po' tmpdepfile='.deps/manripper.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -c -o manripper.o `test -f 'manripper.cpp' || echo './'`manripper.cpp manripper.cpp: In function ‘void GetBf(char*, int, FILE*)’: manripper.cpp:20:21: error: ‘strlen’ was not declared in this scope manripper.cpp: In function ‘void ProcessFile(char*)’: manripper.cpp:40:23: error: ‘strlen’ was not declared in this scope manripper.cpp:43:30: error: ‘strncmp’ was not declared in this scope manripper.cpp:57:25: error: ‘memset’ was not declared in this scope manripper.cpp:58:39: error: ‘memcpy’ was not declared in this scope manripper.cpp:78:27: error: ‘strlen’ was not declared in this scope manripper.cpp:81:25: error: ‘memset’ was not declared in this scope manripper.cpp:82:41: error: ‘memcpy’ was not declared in this scope make[2]: *** [manripper.o] Error 1 make[2]: Leaving directory `/home/kjetil/yacas/yacas-1.0.63/manmake' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kjetil/yacas/yacas-1.0.63' make: *** [all] Error 2 kjetil@kjetil:~/yacas/yacas-1.0.63$ Kjetil > > -- > Statistics & Software Consulting > GKX Group, GKX Associates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.