For the current project I am working, I need to pull data from 2 different databases - SQL Server and Teradata. I am using R-Studio for compilation of my queries and R-scripts
I am using the following packages: RODBC, RJDBC, rJava,
The problem I am facing is: The SQL Server is a 64 bit ODBC connection and Teradata is a 32 bit ODBC connection. If I install 32 bit version of R, I am not able to connect to SQL Server and if I install 64 bit version of R, RJDBC and rJava are not compatible and I am not able to connect to Teradata.
Any help on how I could connect to both the data bases simultaneously is greatly appreciated!!!
R version: 3.1.1 R-Studio version: 0.98.1074
Thanks!
EDIT
I am able to switch between architectures from Tools-> Global Options in R-Studio.
But to take effect, it is asking me to restart R. By restarting R, I loosing all my instances and objects that were loaded previously in different architecture. Any workaround?