When trying to add an RData reader (.RData or .Rda), FME is unable to open the file and gives the error below:
Workspace generation failed.
When trying to add an RData reader (.RData or .Rda), FME is unable to open the file and gives the error below:
Workspace generation failed.
Can you please check that you have met the prerequesites for using the RData format:
- additional software is required to use this format in FME: Circle Systems Stat/Transfer
- a third-party license is required to use this format in FME, from Circle Systems
More on the RData reader in the FME User Documentation
I've installed and fully licensed Stat/Transfer 12. The problem I'm having is that FME is failing to generate a workspace with the R reader due to an error translating the R file (.rda). As you may know, there are a lot of ways to save an R file. FME Translator can only work with the R file if it is uncompressed. By default, a simple save command for an R file delivers a compressed file; so the need to uncompress my R file is an example of a little something extra I had to do to get past initial errors. What other parameters do I need to set in R (before working with the R reader) to get a workspace generated with an R reader?
*R code to prepare "joinedACS_TEST_FME_II.Rda" for FME
serialize(joinedACS, connection=NULL, xdr=FALSE)
save(joinedACS, file="joinedACS_TEST_FME_II.Rda", compress=FALSE)
It looks like we have more work to do on clarifying the functionality of the RData reader in the reader documentation. We will also look at creating an KnowledgeCenter article on why you might use the RData reader vs. RCaller
serialize(joinedACS, connection=NULL, xdr=FALSE)
save(joinedACS, file="ONE_TWO.Rda", ascii=TRUE, compress=FALSE)
<br>