Unable to install packages...

Hi,

I'm a system administrator with no knowledge of RStudio. Users have no permissions to install packages, so they ask me to do it for them.

With the command install.packages("rsample") i should be able to install RSample. However i get the output below. What am i doing wrong here?

Installing package into ‘P:/R Studio’
(as ‘lib’ is unspecified)

There is a binary version available but the source version is later:
binary source needs_compilation
rsample 0.1.1 1.1.1 FALSE

installing the source package ‘rsample’

trying URL 'https://cran.rstudio.com/src/contrib/rsample_1.1.1.tar.gz'
Content type 'application/x-gzip' length 325612 bytes (317 KB)
downloaded 317 KB

'\domain\dfs\home\userid\Documents'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.

  • installing source package 'rsample' ...
    ** package 'rsample' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error: object 'values' is not exported by 'namespace:future'
    Execution halted
    ERROR: lazy loading failed for package 'rsample'
  • removing 'P:/R Studio/rsample'
  • restoring previous 'P:/R Studio/rsample'
    Warning in install.packages :
    installation of package ‘rsample’ had non-zero exit status

If installing from source doesn't work the first time, choose n the next time for the binary source. Most folk who use R don't want to spend their time dealing with a compilation chain.

Hi,

Thanks for your answer. How exactly do i choose n?

Is there a phrase like this? "Do you wnat to install ...... (Yes/no/cancel)" Example

1 Like

install.package Message is something like “a binary version is available but a source version is later. Do you want to install from source? Y/n”

1 Like

Yes, thanks for your help!!

1 Like

This topic was automatically closed 7 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.