Sounds like it would have to do with the path to your R executable. I just tried on my computer, where i don't have any R installation, and got this in my log:
RCaller(InlineQueryFactory): InlineQueryFactory is using R interpreter `/Library/Frameworks/R.framework/Versions/Current/Resources/bin/Rscript'.
RCaller(InlineQueryFactory): InlineQueryFactory encountered an error when starting R interpreter. Message was: No such file or directory
InlineQueryFactory failed to execute scripted code.
RCaller(InlineQueryFactory): A fatal error has occurred. Check the logfile above for details
So it looks like we don't do a nice bit of error checking when R isn't installed, and I'll ask the team to improve the message.
Please check out the doc at http://docs.safe.com/fme/2016.1/html/FME_Desktop_D... in particular the "installing R" notes in the usage section.
If the problem persists, please do post your log file and we'll look deeper.
Thank you very much!
It worked indeed by specifying the the R Interpreter Path in FME Options.
Hi!
I followed the same installation instructions but I still get the same problem.
This is what I read:
Open an R command prompt.
- Windows:
Run the R GUI as an administrator by right-clicking it in the Start
menu and selecting “Run as administrator…” You should use the version
that matches your FME version - 64-bit or 32-bit. - Mac: Launch the R Console.
- Run the following command at the R command prompt:
install.packages("sqldf") - This will
launch a window prompting you to select a download mirror. Once a mirror
is selected, the sqldf package will be installed to the system-wide R
library. It is important that this is done with administrative
privileges, otherwise the package will be installed to a user library
and FME will not be able to use it. - To verify that sqldf was installed correctly, check the location listed when you run
.libPaths()
at the command line. There should be a folder called “sqldf”.
Then I put this adress to set the path of the "sqldf" library :
C:\\Users\\.......\\Documents\\R\\win-library\\3.3\\sqldf
What else can I do ?
Try to put all your R-packages (just do copypaste) including sqldf in your default FME-folder under the following path:
...\FME\Plugins\R\