Packages

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Packages

AbouEl-Makarim Aboueissa-3
Dear All:

After installing the packages "car" and "alr3", I got the following error
messages:


> library(car)
Error in library(car) : there is no package called ‘car’

> library(alr3)
Error in library(alr3) : there is no package called ‘alr3’

any helps would be appreciated.


with many thanks
abou
______________________


*AbouEl-Makarim Aboueissa, PhD*

*Professor, Statistics and Data Science*
*Graduate Coordinator*

*Department of Mathematics and Statistics*
*University of Southern Maine*

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Packages

Duncan Murdoch-2
On 23/01/2019 12:13 p.m., AbouEl-Makarim Aboueissa wrote:

> Dear All:
>
> After installing the packages "car" and "alr3", I got the following error
> messages:
>
>
>> library(car)
> Error in library(car) : there is no package called ‘car’
>
>> library(alr3)
> Error in library(alr3) : there is no package called ‘alr3’
>
> any helps would be appreciated.
>

You need to show us the messages you received when you installed them.
The usual cause of problems like this is that you don't have write
permission on the default location, and R has chosen an alternate; then
when you try to attach the packages, you haven't told R to look in the
alternate location.

Duncan Murdoch

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Packages

AbouEl-Makarim Aboueissa-3
here is the messages I got when I install the "car" package:

> install.packages("car")
Installing package into ‘C:/Users/aaboueissa/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
also installing the dependency ‘rio’


  There are binary versions available but the source versions are later:
    binary source needs_compilation
rio 0.5.10 0.5.16             FALSE
car  3.0-0  3.0-2             FALSE

installing the source packages ‘rio’, ‘car’

trying URL 'https://cran.case.edu/src/contrib/rio_0.5.16.tar.gz'
Content type 'application/x-gzip' length 420489 bytes (410 KB)
downloaded 410 KB

trying URL 'https://cran.case.edu/src/contrib/car_3.0-2.tar.gz'
Content type 'application/x-gzip' length 447952 bytes (437 KB)
downloaded 437 KB

* installing *source* package 'rio' ...
** package 'rio' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
  there is no package called 'Rcpp'
ERROR: lazy loading failed for package 'rio'
* removing 'C:/Users/aaboueissa/Documents/R/win-library/3.3/rio'
ERROR: dependency 'rio' is not available for package 'car'
* removing 'C:/Users/aaboueissa/Documents/R/win-library/3.3/car'

The downloaded source packages are in

‘C:\Users\aaboueissa\AppData\Local\Temp\RtmpK0MQ8V\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l
"C:\Users\aaboueissa\Documents\R\win-library\3.3"
C:\Users\AABOUE~1\AppData\Local\Temp\RtmpK0MQ8V/downloaded_packages/rio_0.5.16.tar.gz'
had status 1
2: In install.packages("car") :
  installation of package ‘rio’ had non-zero exit status
3: running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l
"C:\Users\aaboueissa\Documents\R\win-library\3.3"
C:\Users\AABOUE~1\AppData\Local\Temp\RtmpK0MQ8V/downloaded_packages/car_3.0-2.tar.gz'
had status 1
4: In install.packages("car") :
  installation of package ‘car’ had non-zero exit status


______________________


*AbouEl-Makarim Aboueissa, PhD*

*Professor, Statistics and Data Science*
*Graduate Coordinator*

*Department of Mathematics and Statistics*
*University of Southern Maine*



On Wed, Jan 23, 2019 at 12:20 PM Duncan Murdoch <[hidden email]>
wrote:

> On 23/01/2019 12:13 p.m., AbouEl-Makarim Aboueissa wrote:
> > Dear All:
> >
> > After installing the packages "car" and "alr3", I got the following error
> > messages:
> >
> >
> >> library(car)
> > Error in library(car) : there is no package called ‘car’
> >
> >> library(alr3)
> > Error in library(alr3) : there is no package called ‘alr3’
> >
> > any helps would be appreciated.
> >
>
> You need to show us the messages you received when you installed them.
> The usual cause of problems like this is that you don't have write
> permission on the default location, and R has chosen an alternate; then
> when you try to attach the packages, you haven't told R to look in the
> alternate location.
>
> Duncan Murdoch
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Packages

Neal Fultz-2
I'd recommend you upgrade to R version 3.5.2, the version you have is quite
out of date.

On Wed, Jan 23, 2019 at 9:42 AM AbouEl-Makarim Aboueissa <
[hidden email]> wrote:

> here is the messages I got when I install the "car" package:
>
> > install.packages("car")
> Installing package into ‘C:/Users/aaboueissa/Documents/R/win-library/3.3’
> (as ‘lib’ is unspecified)
> also installing the dependency ‘rio’
>
>
>   There are binary versions available but the source versions are later:
>     binary source needs_compilation
> rio 0.5.10 0.5.16             FALSE
> car  3.0-0  3.0-2             FALSE
>
> installing the source packages ‘rio’, ‘car’
>
> trying URL 'https://cran.case.edu/src/contrib/rio_0.5.16.tar.gz'
> Content type 'application/x-gzip' length 420489 bytes (410 KB)
> downloaded 410 KB
>
> trying URL 'https://cran.case.edu/src/contrib/car_3.0-2.tar.gz'
> Content type 'application/x-gzip' length 447952 bytes (437 KB)
> downloaded 437 KB
>
> * installing *source* package 'rio' ...
> ** package 'rio' successfully unpacked and MD5 sums checked
> ** R
> ** inst
> ** preparing package for lazy loading
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
> = vI[[j]]) :
>   there is no package called 'Rcpp'
> ERROR: lazy loading failed for package 'rio'
> * removing 'C:/Users/aaboueissa/Documents/R/win-library/3.3/rio'
> ERROR: dependency 'rio' is not available for package 'car'
> * removing 'C:/Users/aaboueissa/Documents/R/win-library/3.3/car'
>
> The downloaded source packages are in
>
> ‘C:\Users\aaboueissa\AppData\Local\Temp\RtmpK0MQ8V\downloaded_packages’
> Warning messages:
> 1: running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l
> "C:\Users\aaboueissa\Documents\R\win-library\3.3"
>
> C:\Users\AABOUE~1\AppData\Local\Temp\RtmpK0MQ8V/downloaded_packages/rio_0.5.16.tar.gz'
> had status 1
> 2: In install.packages("car") :
>   installation of package ‘rio’ had non-zero exit status
> 3: running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l
> "C:\Users\aaboueissa\Documents\R\win-library\3.3"
>
> C:\Users\AABOUE~1\AppData\Local\Temp\RtmpK0MQ8V/downloaded_packages/car_3.0-2.tar.gz'
> had status 1
> 4: In install.packages("car") :
>   installation of package ‘car’ had non-zero exit status
>
>
> ______________________
>
>
> *AbouEl-Makarim Aboueissa, PhD*
>
> *Professor, Statistics and Data Science*
> *Graduate Coordinator*
>
> *Department of Mathematics and Statistics*
> *University of Southern Maine*
>
>
>
> On Wed, Jan 23, 2019 at 12:20 PM Duncan Murdoch <[hidden email]>
> wrote:
>
> > On 23/01/2019 12:13 p.m., AbouEl-Makarim Aboueissa wrote:
> > > Dear All:
> > >
> > > After installing the packages "car" and "alr3", I got the following
> error
> > > messages:
> > >
> > >
> > >> library(car)
> > > Error in library(car) : there is no package called ‘car’
> > >
> > >> library(alr3)
> > > Error in library(alr3) : there is no package called ‘alr3’
> > >
> > > any helps would be appreciated.
> > >
> >
> > You need to show us the messages you received when you installed them.
> > The usual cause of problems like this is that you don't have write
> > permission on the default location, and R has chosen an alternate; then
> > when you try to attach the packages, you haven't told R to look in the
> > alternate location.
> >
> > Duncan Murdoch
> >
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Packages

Duncan Murdoch-2
In reply to this post by AbouEl-Makarim Aboueissa-3
On 23/01/2019 12:27 p.m., AbouEl-Makarim Aboueissa wrote:
> here is the messages I got when I install the "car" package:

You didn't install it, you got errors during the install.

I'm not sure why there was no attempt to install Rcpp (which was
required by rio, see the error message).  Perhaps the mirror you used
doesn't have it?  I'd recommend using the cloud.r-project.org mirror
rather than a local one in almost any case.

In any case, Neal's advice to update R is likely to make your life a lot
easier.

Duncan Murdoch

>
>  > install.packages("car")
> Installing package into ‘C:/Users/aaboueissa/Documents/R/win-library/3.3’
> (as ‘lib’ is unspecified)
> also installing the dependency ‘rio’
>
>
>    There are binary versions available but the source versions are later:
>      binary source needs_compilation
> rio 0.5.10 0.5.16             FALSE
> car  3.0-0  3.0-2             FALSE
>
> installing the source packages ‘rio’, ‘car’
>
> trying URL 'https://cran.case.edu/src/contrib/rio_0.5.16.tar.gz'
> Content type 'application/x-gzip' length 420489 bytes (410 KB)
> downloaded 410 KB
>
> trying URL 'https://cran.case.edu/src/contrib/car_3.0-2.tar.gz'
> Content type 'application/x-gzip' length 447952 bytes (437 KB)
> downloaded 437 KB
>
> * installing *source* package 'rio' ...
> ** package 'rio' successfully unpacked and MD5 sums checked
> ** R
> ** inst
> ** preparing package for lazy loading
> Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
> versionCheck = vI[[j]]) :
>    there is no package called 'Rcpp'
> ERROR: lazy loading failed for package 'rio'
> * removing 'C:/Users/aaboueissa/Documents/R/win-library/3.3/rio'
> ERROR: dependency 'rio' is not available for package 'car'
> * removing 'C:/Users/aaboueissa/Documents/R/win-library/3.3/car'
>
> The downloaded source packages are in
>          
> ‘C:\Users\aaboueissa\AppData\Local\Temp\RtmpK0MQ8V\downloaded_packages’
> Warning messages:
> 1: running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l
> "C:\Users\aaboueissa\Documents\R\win-library\3.3"
> C:\Users\AABOUE~1\AppData\Local\Temp\RtmpK0MQ8V/downloaded_packages/rio_0.5.16.tar.gz'
> had status 1
> 2: In install.packages("car") :
>    installation of package ‘rio’ had non-zero exit status
> 3: running command '"C:/PROGRA~1/R/R-33~1.2/bin/x64/R" CMD INSTALL -l
> "C:\Users\aaboueissa\Documents\R\win-library\3.3"
> C:\Users\AABOUE~1\AppData\Local\Temp\RtmpK0MQ8V/downloaded_packages/car_3.0-2.tar.gz'
> had status 1
> 4: In install.packages("car") :
>    installation of package ‘car’ had non-zero exit status
>
>
> ______________________
>
> *AbouEl-Makarim Aboueissa, PhD
> *
> *
> *
> *Professor, Statistics and Data Science*
> *Graduate Coordinator*
> *Department of Mathematics and Statistics
> *
> *University of Southern Maine*
>
>
>
> On Wed, Jan 23, 2019 at 12:20 PM Duncan Murdoch
> <[hidden email] <mailto:[hidden email]>> wrote:
>
>     On 23/01/2019 12:13 p.m., AbouEl-Makarim Aboueissa wrote:
>      > Dear All:
>      >
>      > After installing the packages "car" and "alr3", I got the
>     following error
>      > messages:
>      >
>      >
>      >> library(car)
>      > Error in library(car) : there is no package called ‘car’
>      >
>      >> library(alr3)
>      > Error in library(alr3) : there is no package called ‘alr3’
>      >
>      > any helps would be appreciated.
>      >
>
>     You need to show us the messages you received when you installed them.
>     The usual cause of problems like this is that you don't have write
>     permission on the default location, and R has chosen an alternate; then
>     when you try to attach the packages, you haven't told R to look in the
>     alternate location.
>
>     Duncan Murdoch
>

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.