Quantcast
Channel: R Integration Pack
Viewing all articles
Browse latest Browse all 456

New Post: Error "the formula for derived metric is incorrect"

$
0
0
Thanks Rick.
I was successfully able to add the RScript functions to my project after upgrading it. However, I see no data returned for the derived metric in desktop (the save action on web hangs)

Here's the error in DSSErrors.log:

[Analytical Services][Error][0x80042425] Analytical Engine Error. Apply function failed. Internal error.
[Analytical Services][Error][0x80002434] Analytical Engine plug-in function error: [CRFPCommonNNGEN::ExRScript: R script execution failed: cannot open the connection]

I was getting this "Cannot open connection" error when trying to hit "save" in the R console as well, after previewing the header block.
However, since I was using the sample script SeasonalForecasting.R and did not make it any changes to it, I captured the metric definition as is.

RScript<_RScriptFile="C:\Program Files (x86)\R Integration Pack\RScripts\SeasonalForecasting.R", _InputNames="target, trend, season", StringParam9="SeasonalForecast">(target, trend, season)

Please let me know your thoughts on this error.

Thanks!

Viewing all articles
Browse latest Browse all 456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>