I'm trying to create this short document in R markdown and getting errors. Following are the code chunks and the error I'm getting. Any help will be appreciated.
title: "Penguins"
author: "MM"
date: '2022-06-29'
output:
pdf_document: default
html_document: default
Setting up my environment
Notes: Setting up my R environment by loading 'ggplot2' and 'palmerpenguin' packages
library(tidyverse)
library(palmerpenguins)
library(ggplot2)
library(Tmisc)
data(penguins)
View(penguins)
I'm getting the following error while trying to knit.
|.......... | 14%
ordinary text without R code
|.................... | 29%
label: loading packages
processing file: Penguins-analysis.Rmd
Quitting from lines 13-19 (Penguins-analysis.Rmd)
Error in .External2(C_dataviewer, x, title) : unable to start data viewer
Calls: ... withVisible -> eval_with_user_handlers -> eval -> eval -> View
Execution halted