New installation of RStudio not working properly

Today I update RStudio and I am experiencing lots of problems. I can no longer knit markdown files. Each time I know, it reinstalls various libraries.

I cannot use the command source(). Here is an example:

source('Louisville-addressesD10.R')

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

filter, lag

The following objects are masked from ‘package:base’:

intersect, setdiff, setequal, union

trying URL 'https://cran.mirrors.hoobly.com/src/contrib/rmarkdown_2.19.tar.gz'
Content type 'application/x-gzip' length 3243575 bytes (3.1 MB)

downloaded 3.1 MB

  • installing source package ‘rmarkdown’ ...
    ** package ‘rmarkdown’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    *** copying figures
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    ** testing if installed package can be loaded from final location
    ** testing if installed package keeps a record of temporary installation path
  • DONE (rmarkdown)

The downloaded source packages are in
‘/private/var/folders/yk/spk56bkn22n8w43h0mr6x59xtb6t8m/T/RtmpTD79O7/downloaded_packages’
Error in eval(ei, envir) : object 'xfun' not found

You can see that running "source()" installed dplyr and rmarkdown. Also it does not find fun, but I re-installed and I checked the libraries and it is in the right place. By the way, I work on a Mac.
So can some one help me????

I see online that I am not the only one with issues. This version of RStudio was not tested properly.
I'm worried about classes next semester because if RStudio does not work, I don't know what'll do with my students.

Best,
K

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.