Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Code to connect Redshift to R #16

Open
ashwanthpasu opened this issue Feb 29, 2016 · 1 comment
Open

Need Code to connect Redshift to R #16

ashwanthpasu opened this issue Feb 29, 2016 · 1 comment

Comments

@ashwanthpasu
Copy link

I tried to use the code from this link https://blogs.aws.amazon.com/bigdata/post/Tx1G8828SPGX3PK/Connecting-R-with-Amazon-Redshift but I got an error

driver <- JDBC("com.amazon.redshift.jdbc41.Driver", "RedshiftJDBC41-1.1.9.1009.jar", identifier.quote="`")
JavaVM: requested Java version ((null)) not available. Using Java at "" instead.
JavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib
JavaVM FATAL: Failed to load the jvm library.
Error in .jinit(classPath) : JNI_GetCreatedJavaVMs returned -1

after loading the driver and trying to connect. I dont know how to connect Redshift to R.

@EeshanChatterjee
Copy link
Contributor

Just use a default postgresql driver.
Look at the examples with the redshift.connect() function in the package for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants