Autocad Crashes When Plotting Pdf In R