Q:

How to import data from Google Cloud Platform (BigQuery/Cloud SQL) into R?

I know there is API for Python to import data from GCP BigQuery into Jupyter Notebook. I am looking for way to import data from GCP (whether Cloud SQL or BigQuery) into R directly. Appreciate your advice.

A:

You might want to take a look into: "Use R with BigQuery". That page describes how to load data from BigQuery into an R data frame, using the bigrquery R package. Also to this "bigrquery" doc.
Also, as mentioned in the comments: it worth to take a look in to this github There are many related blog posts on reddit. too 

