The support.bioconductor.org editor has been updated to markdown! Please see more info at: Tutorial: Updated Support Site Editor
It depends on the source. For RefSeq in particular, you could use
GenomicFeatures::makeTxDbFromUCSC() and ask for the "refGene" table (I think that's what it's called). Then, extract the desired features as a GRanges with e.g.
genes(). There are probably resources available from AnnotationHub, as well.