Issue installing packages - Linux

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

Issue installing packages - Linux

Lars Bishop-2
Hello,

I can’t seem to be able to install packages on a redhat-linux-gnu. For
instance, this is what happens when I try to install “bitops”. Any hint on
what might be the issue would be much appreciated.

> sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux

> Sys.setenv(https_proxy="https://labproxy.com:8080")
> install.packages("bitops", lib="mypath ")

Here I choose: 22: (HTTP mirrors) and then a mirror 16:Canada(ON)

* installing *source* package âbitopsâ ...
** package âbitopsâ successfully unpacked and MD5 sums checked
Error in readRDS(pfile) : error reading from connection
ERROR: lazy loading failed for package âbitopsâ

I’ve also tried from the shell (after downloading the package source)

$  R CMD INSTALL bitops_1.0-6.tar.gz
ERROR: cannot extract package from bitops_1.0-6.tar.gz

Thank you,
Lars.

        [[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: Issue installing packages - Linux

Jim Lemon-4
Hi Lars,
A mystery, but for the bodgy characters in your error message. Perhaps
there is a problem with R trying to read a different character set
from that used in the package.

Jim

On Sat, Apr 30, 2016 at 8:22 PM, Lars Bishop <[hidden email]> wrote:

> Hello,
>
> I can’t seem to be able to install packages on a redhat-linux-gnu. For
> instance, this is what happens when I try to install “bitops”. Any hint on
> what might be the issue would be much appreciated.
>
>> sessionInfo()
> R version 3.2.3 (2015-12-10)
> Platform: x86_64-redhat-linux-gnu (64-bit)
> Running under: Red Hat Enterprise Linux
>
>> Sys.setenv(https_proxy="https://labproxy.com:8080")
>> install.packages("bitops", lib="mypath ")
>
> Here I choose: 22: (HTTP mirrors) and then a mirror 16:Canada(ON)
>
> * installing *source* package âbitopsâ ...
> ** package âbitopsâ successfully unpacked and MD5 sums checked
> Error in readRDS(pfile) : error reading from connection
> ERROR: lazy loading failed for package âbitopsâ
>
> I’ve also tried from the shell (after downloading the package source)
>
> $  R CMD INSTALL bitops_1.0-6.tar.gz
> ERROR: cannot extract package from bitops_1.0-6.tar.gz
>
> Thank you,
> Lars.
>
>         [[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.

______________________________________________
[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: Issue installing packages - Linux

Lars Bishop-2
Thanks Jim. I don't think that is the issue...if anyone else can shed some
light here, that would be much appreciated.

Regards
Lars.

On Saturday, 30 April 2016, Jim Lemon <[hidden email]> wrote:

> Hi Lars,
> A mystery, but for the bodgy characters in your error message. Perhaps
> there is a problem with R trying to read a different character set
> from that used in the package.
>
> Jim
>
> On Sat, Apr 30, 2016 at 8:22 PM, Lars Bishop <[hidden email]
> <javascript:;>> wrote:
> > Hello,
> >
> > I can’t seem to be able to install packages on a redhat-linux-gnu. For
> > instance, this is what happens when I try to install “bitops”. Any hint
> on
> > what might be the issue would be much appreciated.
> >
> >> sessionInfo()
> > R version 3.2.3 (2015-12-10)
> > Platform: x86_64-redhat-linux-gnu (64-bit)
> > Running under: Red Hat Enterprise Linux
> >
> >> Sys.setenv(https_proxy="https://labproxy.com:8080")
> >> install.packages("bitops", lib="mypath ")
> >
> > Here I choose: 22: (HTTP mirrors) and then a mirror 16:Canada(ON)
> >
> > * installing *source* package âbitopsâ ...
> > ** package âbitopsâ successfully unpacked and MD5 sums checked
> > Error in readRDS(pfile) : error reading from connection
> > ERROR: lazy loading failed for package âbitopsâ
> >
> > I’ve also tried from the shell (after downloading the package source)
> >
> > $  R CMD INSTALL bitops_1.0-6.tar.gz
> > ERROR: cannot extract package from bitops_1.0-6.tar.gz
> >
> > Thank you,
> > Lars.
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [hidden email] <javascript:;> 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: Issue installing packages - Linux

Shouro Dasgupta
Hello Lara,

I recently installed a number of packages through compiling. After
downloading the package using 'wget', running R CMD INSTALL package.tar.gz
should work.

Sincerely,

Shouro

On Mon, May 2, 2016 at 5:17 PM, Lars Bishop <[hidden email]> wrote:

> Thanks Jim. I don't think that is the issue...if anyone else can shed some
> light here, that would be much appreciated.
>
> Regards
> Lars.
>
> On Saturday, 30 April 2016, Jim Lemon <[hidden email]> wrote:
>
> > Hi Lars,
> > A mystery, but for the bodgy characters in your error message. Perhaps
> > there is a problem with R trying to read a different character set
> > from that used in the package.
> >
> > Jim
> >
> > On Sat, Apr 30, 2016 at 8:22 PM, Lars Bishop <[hidden email]
> > <javascript:;>> wrote:
> > > Hello,
> > >
> > > I can’t seem to be able to install packages on a redhat-linux-gnu. For
> > > instance, this is what happens when I try to install “bitops”. Any hint
> > on
> > > what might be the issue would be much appreciated.
> > >
> > >> sessionInfo()
> > > R version 3.2.3 (2015-12-10)
> > > Platform: x86_64-redhat-linux-gnu (64-bit)
> > > Running under: Red Hat Enterprise Linux
> > >
> > >> Sys.setenv(https_proxy="https://labproxy.com:8080")
> > >> install.packages("bitops", lib="mypath ")
> > >
> > > Here I choose: 22: (HTTP mirrors) and then a mirror 16:Canada(ON)
> > >
> > > * installing *source* package âbitopsâ ...
> > > ** package âbitopsâ successfully unpacked and MD5 sums checked
> > > Error in readRDS(pfile) : error reading from connection
> > > ERROR: lazy loading failed for package âbitopsâ
> > >
> > > I’ve also tried from the shell (after downloading the package source)
> > >
> > > $  R CMD INSTALL bitops_1.0-6.tar.gz
> > > ERROR: cannot extract package from bitops_1.0-6.tar.gz
> > >
> > > Thank you,
> > > Lars.
> > >
> > >         [[alternative HTML version deleted]]
> > >
> > > ______________________________________________
> > > [hidden email] <javascript:;> 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.




--

Shouro Dasgupta, PhD
Junior Researcher
Fondazione Eni Enrico Mattei (FEEM) |
Centro Euro-Mediterraneo per i Cambiamenti Climatici (CMCC)
Isola di San Giorgio Maggiore, 8
30124 Venezia
Phone: +39 041 2700 436

        [[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.