Error Downloading a package into R

Error Information:> install.packages("~/Downloads/Math104_1.0.tar", repos = NULL)

Error in install.packages : type == "both" cannot be used with 'repos = NULL'
Description of issue -
trying to download package going up with message : > install.packages("~/Downloads/Math104_1.0.tar", repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'
Steps taken so far -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:

Also:

  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

See the first S/O. In particular you should be giving the full file path.

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.