Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R error installing package on start [duplicate]

Tags:

r

When I start R on my windows machine, I get below log. Why do i get 2 errors below? how could I debug them? Is the problem associated with packages Arules and Matrix? Why do I get this error only for these 2 packages? I also installed rest of the packages in the same location...

What does it mean when it says " The following objects are masked from ‘package:base’: "?

R version 3.1.0 (2014-04-10) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)


R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Workspace loaded from ~/.RData]

**Error installing package: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Error installing package: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.**

Loading required package: arules
Loading required package: Matrix

Attaching package: ‘arules’

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

    %in%, write
like image 762
user2543622 Avatar asked Feb 02 '26 13:02

user2543622


1 Answers

This may be related to a space in the install location of R, which is not recommended see:

Error installing R Packages

like image 120
Ryan Horrisberger Avatar answered Feb 04 '26 07:02

Ryan Horrisberger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!