I am trying to connect R-Studio Server with Sap Hana to fetch a view and perform analyses. I am basically using a citrix environment so I don't have access to the C: drive. Rather I have the hdbclient folder in sap stored in z: drive. The code I am using is as follows:
install.packages("RJDBC")
library("RJDBC")
jdbcDriver <- JDBC(driverClass="com.sap.db.jdbc.Driver",
classPath="Z/SAP/hdbclient/ngdbc.jar")
jdbcConnection <- dbConnect(jdbcDriver,
"jdbc:sap://ukhana.mo.sap.corp:30015/?autocommit=false"
,"username"
,"password")
However, upon executing the jdbcDriver <- command, I am getting an error "Error in jfindClass(as.character(driverclass)[1]): class not found." Please help me as I am not understanding how to proceed ahead.