I am having issues with Ryacas errors. I searched and found this error was reported in 2006, but nothing since.> library(Ryacas)Loading required package: XML> yacas(expression(Factor(x^2-1)))[1] "Starting Yacas!" CommandLine(1) : Expecting ) closing bracket for sub-expression, but got ^ instead> yacas("D(x)Sin(x)")CommandLine(1) : Expecting ) closing bracket for sub-expression, but got Sin instead>> x <- Sym('x') > (x+1) * (x-1)CommandLine(1) : Error parsing expression, near token +>os:WindowsXP Rversion: R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit)R-2.15.1 Yacas version:1.0.63 Any suggestions appreciated, Jason -- View this message in context: http://r.789695.n4.nabble.com/Ryacas-tp4642204.html Sent from the R help mailing list archive at Nabble.com.
On Tue, Sep 4, 2012 at 2:34 PM, Jason Romine <jromine at usgs.gov> wrote:> I am having issues with Ryacas errors. I searched and found this error was > reported in 2006, but nothing since. >It works for me on my Windows Vista laptop. Suggest you review the toubleshooting section on the home page http://ryacas.googlecode.com/#TROUBLESHOOTING> library(Ryacas)Loading required package: XML> library(Ryacas) > yacas(expression(Factor(x^2-1)))[1] "Starting Yacas!" expression((x + 1) * (x - 1))> yacas("D(x)Sin(x)")expression(cos(x))> > x <- Sym('x') > (x+1) * (x-1)expression((x + 1) * (x - 1)) -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com
Thank you Gabor. I tried to exhaust all troubleshooting solutions listed on the site you suggested prior to posting my question. Perhaps you could share what this error is stemming from. Interestingly, on another machine I have no issue with it when I run R 2.10, whereas when I try Ryacas with R 2.15.1 on the same machine the error shows up. Thanks, Jason -- View this message in context: http://r.789695.n4.nabble.com/Ryacas-tp4642204p4642229.html Sent from the R help mailing list archive at Nabble.com.
On Tue, Sep 4, 2012 at 5:19 PM, Jason Romine <jromine at usgs.gov> wrote:> Thank you Gabor. I tried to exhaust all troubleshooting solutions listed on > the site you suggested prior to posting my question. Perhaps you could > share what this error is stemming from. Interestingly, on another machine I > have no issue with it when I run R 2.10, whereas when I try Ryacas with R > 2.15.1 on the same machine the error shows up. >Its not related to R 2.15.1 since I used that on Windows to produce the answers in my post. The error message you got does not indicate the source of the problem. You could try using verbose=TRUE to get more feedback and go over the troubleshooting section again. Look at the whole section and not just the Windows part. yacas(expression(Factor(x^2-1)), verbose = TRUE) -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com