I have PLINK dosage files in the form pgen/psam/pvar. I would like to know how to do either/both of the following:

1. Convert the file set to bed/bim/fam files (hard-calls) 

2. Read the allele dosage from pgen into R as a continuous variable

Thanks. 
Convert to hard-calls: "plink2 --pfile ... --make-bed --out ..."

Convert to an R-readable form: "plink2 --pfile ... --export A-transpose --out ..."