Yes William i'll see if i can get any help from TIBCommunity, but my code worked in RStudio.
On Tue, Dec 15, 2015 at 4:41 PM, William Dunlap <wdun...@tibco.com> wrote: > It looks like you are calling TERR from Spotfire. The Spotfire/TERR > interface > can only pass TERR data.frames (eq. to Spotfire tables) back to Spotfire > and > XMLInternalDocuments cannot be columns of data.frames (in neither TERR nor > R). > > You should contact TIBCO support and/or participate in the forums at > community.tibco.com to see how to solve your problem. > > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > > On Tue, Dec 15, 2015 at 5:09 AM, Archit Soni <soni.archit1...@gmail.com> > wrote: > > Hi All, > > > > I have the code to print XML tree that is working successfully in R > Studio > > but is failing when i try to work it out with TERR: > > > > x<- XML::xmlParse(y) > > > > y is input (Coming from a row only once) > > x is output > > > > The above code is working in R studio but doesnt work in TERR, please > > suggest. > > > > TIBCO Enterprise Runtime for R returned an error: 'Error in > > as.data.frame.default(passed.args[[i]], stringsAsFactors = s : cannot > > coerce class '"XMLInternalDocumentXMLAbstractDocument"' into a > data.frame'. > > at > > > Spotfire.Dxp.Data.DataFunctions.Executors.LocalFunctionClient.OnExecuting(FunctionClient > > funcClient) at > > > Spotfire.Dxp.Data.DataFunctions.Executors.AbstractFunctionClient.d__0.MoveNext() > > at > > > Spotfire.Dxp.Data.DataFunctions.Executors.SPlusFunctionExecutor.d__0.MoveNext() > > at > > > Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.d__6.MoveNext() > > > > -- > > Regards > > Archit > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > 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. > -- Regards Archit [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.