Open aawoods97 opened 3 years ago
I would close R Studio, open R, and install rmarkdown there.
If a file is freezing it could be one of two things. You added code that can't be run - an infinite loop that never quits, a dataset that is too large to load, some calculation that gets stuck.
Or your file got froze during a knit and there are "ghosts in the machine" - corrupted objects or files that R Studio is trying to load as it loads files from the previous session.
Try clearing out the R environment - under Session >> Clear Workspace.
Check to see if there are extra files or folders in the directory that have the same name as your RMD file - those were created during a knit and might be corrupted. If you are using cached files they can sometimes get hung up as well.
Thank you! I believe it is working now!
What worked?
Actually, I think I spoke too soon. I was able to install rmarkdown. I did delete the files of the same name and cleared the workspace. However, my Rstudio is running relatively slower after updating it. (I did read an article that mentioned RStudio has been running slower on Mac computers with new software).
I have been encountering problems with my unique function, as listed below. The function runs, but it times out before finishing parsing the column. However, I am not very confident that my code is correct. Could you point me in the correct direction?
`unique <-function(first){
first %>% pander() first %>% unique() table( first ) %>% sort() }`
Mac problems sound like money problems. I can't help you there :-)
The unique() function is a core R function.
x <- c("aaron","aaron","shriti","shriti","muhamed")
unique(x)
[1] "aaron" "shriti" "muhamed"
Haha! I appreciate your humor. Thank you!! I have been having the hardest time with trying to determine how to write it!
Hello,
I've been having trouble with RStudio opening my file over the past two days so I updated R and R Studio. I am now receiving two problems:
Thank you in advance!