简体   繁体   English

.jfindClass中的R Redshift错误

[英]R Redshift Error in .jfindClass

reading the Howto on connecting Redshift to R, and am getting an error, any ideas ? 阅读将Redshift连接到R的Howto并遇到错误,有什么想法吗?

source - https://aws.amazon.com/blogs/big-data/connecting-r-with-amazon-redshift/ 来源-https://aws.amazon.com/blogs/big-data/connecting-r-with-amazon-redshift/

after the driver <- line I get this error: 在驱动程序<-行之后,出现此错误:

driver <- JDBC("com.amazon.redshift.jdbc41.Driver", "RedshiftJDBC41-1.1.9.1009.jar", identifier.quote="`") Error in .jfindClass(as.character(driverClass)[1]) : class not found 驱动程序<-JDBC(“ com.amazon.redshift.jdbc41.Driver”,“ RedshiftJDBC41-1.1.9.1009.jar”,identifier.quote =“`”).jfindClass(as.character(driverClass)[1])错误:找不到课程

this error went away when I downloaded the used the 42-driver, not the 41-driver 当我下载使用的是42驱动程序而不是41驱动程序时,此错误消失了

download.file(' http://s3.amazonaws.com/redshift-downloads/drivers/RedshiftJDBC42-1.2.1.1001.jar ','RedshiftJDBC42-1.2.1.1001.jar') download.file(' http://s3.amazonaws.com/redshift-downloads/drivers/RedshiftJDBC42-1.2.1.1001.jar','RedshiftJDBC42-1.2.1.1001.jar ')

Hopefully this will help someone.. on Windows 7 希望这会帮助某人..在Windows 7上

Ray 射线

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM