I am trying to use the package Ryacas
in R
. Here what is going on:
> install.packages("Ryacas")
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://www.stats.bris.ac.uk/R/bin/windows/contrib/2.14/Ryacas_0.2-11.zip'
Content type 'application/zip' length 263424 bytes (257 Kb)
opened URL
downloaded 257 Kb
package ‘Ryacas’ successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Documents and Settings\yogcal\Local Settings\Temp\RtmpKeuu7m\downloaded_packages
Then I try to load Ryacas
:
> library(Ryacas)
Loading required package: XML
C:\Program Files\R\R-2.14.1\library\Ryacas\yacdir\yacas.exe
or C:\Program Files\R\R-2.14.1\library\Ryacas\yacdir\scripts.dat
not found.
Run yacasInstall() without arguments to install yacas.
So then I run yacasInstall()
:
> yacasInstall()
trying URL 'http://ryacas.googlecode.com/files/yacas-1.0.63.zip'
Content type 'application/x-zip' length 746009 bytes (728 Kb)
opened URL
downloaded 728 Kb
And then when I try an example:
> library(Ryacas)
> yacas("TeXForm(3 * x^2/(2 * (x + 1)) - (x^3) * 2/(2 * (x + 1))^2)",
+ retclass = "unquote")
[1] "Starting Yacas!"
Error in socketConnection(host = "127.0.0.1", port = 9734, server = FALSE, :
cannot open the connection
In addition: Warning message:
In socketConnection(host = "127.0.0.1", port = 9734, server = FALSE, :
127.0.0.1:9734 cannot be opened
>
What is going wrong here?
Thanks a lot...