[R] TIBCO Enterprise Runtime for R

William Dunlap wdunlap at tibco.com
Tue Dec 15 23:41:24 CET 2015

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

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.archit1989 at 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 at 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.

More information about the R-help mailing list