Installation of biocLite packages dependencies

73 views
Skip to first unread message

Hasche89

unread,
Feb 14, 2016, 9:42:20 AM2/14/16
to Cambridge R user group
Hi, I recently started using R on Ubuntu 12.04. I am using R 3.2.3. Is there a R command that automatically downloads and installs dependencies along with the intended package; say- Biobase. Kindly help.

Laurent

unread,
Feb 14, 2016, 9:49:51 AM2/14/16
to Cambridge R user group
 
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("Biobase")

Same procedure for all Bioconductor packages.

Hasnahana Chetia

unread,
Feb 14, 2016, 11:07:26 PM2/14/16
to cambridge-r...@googlegroups.com
@Laurent Do this command also perform concurrent installation of all the dependencies of Biobase?

--
You received this message because you are subscribed to a topic in the Google Groups "Cambridge R user group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cambridge-r-user-group/UZfcP8UgLiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cambridge-r-user-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Ms. Hasnahana Chetia
Research Scholar,
Bioengineering Research Laboratory,
Dept. of Biosciences and Bioengineering ,
Indian Institute of Technology Guwahati, Assam-39

Hasnahana Chetia

unread,
Feb 14, 2016, 11:32:08 PM2/14/16
to cambridge-r...@googlegroups.com
I got the following message-
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘biomaRt’ had non-zero exit status
4: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘rtracklayer’ had non-zero exit status
5: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘GenomicFeatures’ had non-zero exit status

Did the package install properly? if not how can I correct this?

Laurent Gatto

unread,
Feb 15, 2016, 2:01:44 AM2/15/16
to cambridge-r...@googlegroups.com


On 15 Feb 2016 04:07, "Hasnahana Chetia" <hasc...@gmail.com> wrote:
>
> @Laurent Do this command also perform concurrent installation of all the dependencies of Biobase?

Try it out and you will see for yourself that it does so.

Hasnahana Chetia

unread,
Feb 15, 2016, 3:06:40 AM2/15/16
to cambridge-r...@googlegroups.com
Well, it did for Biobase. Doing the same for GenomicFeatures gave the foll. warning messages-

1: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘biomaRt’ had non-zero exit status
4: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘rtracklayer’ had non-zero exit status
5: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘GenomicFeatures’ had non-zero exit status
--
You received this message because you are subscribed to a topic in the Google Groups "Cambridge R user group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cambridge-r-user-group/UZfcP8UgLiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cambridge-r-user-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Laurent

unread,
Feb 15, 2016, 6:26:13 AM2/15/16
to Cambridge R user group


On Monday, 15 February 2016 08:06:40 UTC, Hasche89 wrote:
Well, it did for Biobase. Doing the same for GenomicFeatures gave the foll. warning messages-

So you answered your question - well done.

1: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘XML’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘RCurl’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘biomaRt’ had non-zero exit status
4: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘rtracklayer’ had non-zero exit status
5: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘GenomicFeatures’ had non-zero exit status
On Mon, Feb 15, 2016 at 12:31 PM, Laurent Gatto <lauren...@gmail.com> wrote:


On 15 Feb 2016 04:07, "Hasnahana Chetia" <hasc...@gmail.com> wrote:
>
> @Laurent Do this command also perform concurrent installation of all the dependencies of Biobase?

Try it out and you will see for yourself that it does so.

> On Sun, Feb 14, 2016 at 8:19 PM, Laurent <lauren...@gmail.com> wrote:
>>
>>  
>>
>> ## try http:// if https:// URLs are not supported
>> source("https://bioconductor.org/biocLite.R")
>> biocLite("Biobase")
>>
>> Same procedure for all Bioconductor packages.
>>

--
You received this message because you are subscribed to a topic in the Google Groups "Cambridge R user group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cambridge-r-user-group/UZfcP8UgLiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cambridge-r-user-group+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hasnahana Chetia

unread,
Feb 15, 2016, 10:00:11 PM2/15/16
to cambridge-r...@googlegroups.com
To all who has the same problem as mine,
The non-zero exit status error occurred due to lack of libxml and libcurl. Install these with "sudo apt-get" which will solve the problem. GL.

To unsubscribe from this group and all its topics, send an email to cambridge-r-user-...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Ms. Hasnahana Chetia
Research Scholar,
Bioengineering Research Laboratory,
Dept. of Biosciences and Bioengineering ,
Indian Institute of Technology Guwahati, Assam-39

--
You received this message because you are subscribed to a topic in the Google Groups "Cambridge R user group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cambridge-r-user-group/UZfcP8UgLiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cambridge-r-user-...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages