when i was trying to use R to visualize my VCF file I first loaded the file and compressed it:

vcf <- readVcf(str.vcf, "Genome")...