require(redshift)
# conn <- redshift.connect("jdbc:postgresql://blah.blah.eu-west-1.redshift.amazonaws.com:5439/data", "username", "password")
#results <- redshift.query(conn, "INSERT INTO mytable",
# "VALUES (2,652,'Eeshan','Chatterjee')")
Run the code above in your browser using DataLab