Francesco Brundu | 18 Apr 12:11 2014
Picon

How to use rainbow function without the gamma argument

Hi,
I am using a old code (probably written for R 2.5) and it stops when
calling rainbow() with gamma argument. I saw that gamma argument is not
present in newer version of R rainbow function. How can I translate this
line of code:

rainbow(100, s = 1.0, v = 0.75, start = 0.0, end = 0.75, gamma = 1.5)

?

It fails with:

Error in rainbow(100, s = 1, v = 0.75, start = 0, end = 0.75, gamma = 1.5)
:
  unused argument (gamma = 1.5)
Calls: nmfconsensus ... matrix.abs.plot -> image -> image.default -> rainbow
Execution halted

Thanks

~ Francesco Brundu

	[[alternative HTML version deleted]]
Martin Bel | 18 Apr 10:49 2014

Ubuntu 13.10 - not able to upgrade R

Hi,
I'm having some issues upgrading R. I'm using ubuntu linux 13.10, saucy and would like to upgrade R to the new
version.I'm currently using 3.0.1
I've been following the instructions given in:1.
http://stackoverflow.com/questions/10476713/how-to-upgrade-r-in-ubuntuand2. http://cran.r-project.org/bin/linux/ubuntu/

Here is exactly what i did, following mostly the stackoverflow description:
1) Added the cran mirror link to the sources list(I've actually tryed with 3 different mirrors just in
case)sudo gedit /etc/apt/sources.listdeb http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ saucy/
2) Getting the key step gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9gpg -a --export
E084DAB9 | sudo apt-key add -
3) Run the updates/upgradessudo apt-get update && sudo apt-get upgrade
After a large list of succesful updates i get the following result in the terminal:

W: Failed to fetch http://cran.cnr.berkeley.edu/bin/linux/ubuntu/saucy/InRelease  
W: Failed to fetch http://cran.cnr.berkeley.edu/bin/linux/ubuntu/saucy/Release.gpg  Cannot
initiate the connection to cran.cnr.berkeley.edu:80 (2607:f140:0:8000::201). - connect (101:
Network is unreachable) [IP: 2607:f140:0:8000::201 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.Reading package
lists... DoneBuilding dependency tree       Reading state information... Done0 upgraded, 0 newly
installed, 0 to remove and 0 not upgraded.

I've done this a few times. At this point there are no more updates and the R error is isolated.
Is there a solution to this or should i just re-install R.
Thanks for your time,
Martin
 		 	   		   		 	   		  
	[[alternative HTML version deleted]]
Peter Dotson | 8 Apr 00:14 2014

I am getting 3.1.0 beta instead of 3.0.3

When I use apt-get install r-base, I am getting the 3.1.0 beta instead of
3.0.3

I tried the install from three different mirrors with the same result:

## R repo
deb http://cran.stat.ucla.edu/bin/linux/ubuntu precise/

Setting up r-base (3.0.3.20140328-1precise0) ...
Setting up r-base-dev (3.0.3.20140328-1precise0) ...
Setting up r-base-html (3.0.3.20140328-1precise0) ...
root <at> UNew-SAS:~# R

R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

## R repo
#deb http://cran.stat.ucla.edu/bin/linux/ubuntu precise/
deb http://ftp.osuosl.org/pub/cran/bin/linux/ubuntu precise/

Setting up r-base-dev (3.0.3.20140328-1precise0) ...
Setting up r-base-html (3.0.3.20140328-1precise0) ...
root <at> UNew-SAS:~# R

R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

## R repo
(Continue reading)

Francesco Brundu | 7 Apr 17:15 2014
Picon

How to use stable release in Ubuntu

Hi all,
I am writing to you since I think I am experiencing a regression on the
latest beta release, R version 3.1.0 beta (2014-03-28 r65330) -- "Spring
Dance" .. Since I need to check for it before posting, I was searching for
a method to revert to version 3.0.2 in Ubuntu, but I was unable to find it.
Could you please give me some hints?

Thanks
~ Francesco Brundu

	[[alternative HTML version deleted]]
Robert Bruggner | 2 Apr 00:31 2014
Picon

R 3.1.0 Beta installed but I'm not sure how

Hi All, 

I have installed R on Ubuntu 12.04 with apt pointed at my favorite mirror
(http://cran.cnr.berkeley.edu/bin/linux/ubuntu precise/). Today, I ran an apt-get upgrade and now
when I launch R, it tells me that I’m running R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance”.

I’m slightly confused as when I look at the package list in
http://cran.r-project.org/bin/linux/ubuntu/precise/, looks as though r-base-core is version
3.0.3. In other words, I’m not sure how I got the the 3.1.0 beta version installed and running instead? 

Perhaps this is related to Paul’s message yesterday
(https://stat.ethz.ch/pipermail/r-sig-debian/2014-April/002245.html) but I’m not sure how to
correct the situation. Apologies if this is something trivial - any help would be greatly appreciated. 

Cheers, 

-Rob
	[[alternative HTML version deleted]]

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian <at> r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian
Paul Johnson | 1 Apr 16:07 2014
Picon

Head's up: Renviron change in R_LIBS_USER to 3.1

Hi

Here's a warning for you. If you start R today and it can't find any
packages in your home directory that it did find yesterday, don't
faint. You'll see something like this:
> library(data.table)
Error in library(data.table) : there is no package called 'data.table'

and your user home folder R packages will no longer appear in path:

> .libPaths()
[1] "/usr/local/lib/R/site-library" "/usr/lib/R/site-library"
[3] "/usr/lib/R/library"

Explanation/solution:

Yesterday on Ubuntu 13.10 I ran the package updates and R 3.0.3
installed and it altered the /etc/R/Renviron file to look for packages
here

R_LIBS_USER=${R_LIBS_USER-'~/R/x86_64-pc-linux-gnu-library/3.1'}

But  my packages are still installed in
~/R/x86_64-pc-linux-gnu-library/3.0. This seems unnecessary, on the
face of it, since R is still 3.0.3, not 3.1, but perhaps there's some
binary incompatibility they are worrying about.

I can't say for sure which package caused that particular change, but
I'm suspecting the first or second one here (from the history):

(Continue reading)

Dario Strbenac | 27 Mar 11:00 2014
Picon

mclapply Segmentation Fault for Ubuntu

Running the example in the documentation causes R to crash.

dario <at> bioinfo:~$ R

R version 3.0.3 (2014-03-06) -- "Warm Puppy"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

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.

> library(parallel)
> simplify2array(mclapply(rep(4, 5), rnorm))

 *** caught segfault ***
address 0x7fee2a7229d0, cause 'memory not mapped'

Traceback:
 1: mcexit(0L)
(Continue reading)

Pedro Cruz | 8 Mar 11:37 2014
Picon

Fwd: installing R "in portuguese"

Dear all,

my Ubuntu 12.04 instalation is in english.

I would like to run R such that as many as possible output messages
(results, plots or textual answers) are in portuguese (pt_pt or
pt_br).

How to do it ?

(maybe this is not the best group to post this question: any other suggestion?)

Thank you,

Pedro
Sasha Cuerda | 7 Mar 21:49 2014
Picon

Rcpp problems while installing httpuv / running build-dep r-base-core

Hello all,

I am in the process of trying to install Shiny Server on a DreamHost VPS.
As Shiny Server must be built on Debian, I've been muddling my way through
the steps but I have run into a roadblock w/ httpuv.

Following these https://github.com/rstudio/httpuv instructions, I ran the
devtools::install_github('httpuv', 'rstudio') command and received the
error pasted below.

devtools::install_github("httpuv", "rstudio")
Installing github repo httpuv/master from rstudio
Downloading httpuv.zip from
https://github.com/rstudio/httpuv/archive/master.zip
Installing package from /tmp/RtmpFFihBG/httpuv.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing httpuv
'/usr/lib64/R/bin/R' --vanilla CMD INSTALL  \
  '/tmp/RtmpFFihBG/devtools64b428f5bfa0/httpuv-master'  \
  --library='/usr/local/lib/R/site-library' --install-tests

* installing *source* package 'httpuv' ...
** libs
g++ -I/usr/share/R/include -DNDEBUG -I./libuv/include -I./http-parser
-I./sha1 -I./base64  -I"/usr/local/lib/R/site-library/Rcpp/include"
-fpic  -O3 -pipe  -g  -c RcppExports.cpp -o RcppExports.o
RcppExports.cpp:4:18: error: Rcpp.h: No such file or directory
RcppExports.cpp:6: error: 'Rcpp' is not a namespace-name
RcppExports.cpp:6: error: expected namespace-name before ';' token
RcppExports.cpp:9: error: variable or field 'sendWSMessage' declared void
(Continue reading)

Sasha Cuerda | 7 Mar 21:36 2014
Picon

Rcpp problems while installing httpuv / running build-dep r-base-core

Hello all,

I am in the process of trying to install Shiny Server on a DreamHost VPS.
As Shiny Server must be built on Debian, I've been muddling my way through
the steps but I have run into a roadblock w/ httpuv.

Following these <https://github.com/rstudio/httpuv> instructions, I ran the
devtools::install_github('httpuv', 'rstudio') command and received the
error pasted below.

devtools::install_github("httpuv", "rstudio")
Installing github repo httpuv/master from rstudio
Downloading httpuv.zip fromhttps://github.com/rstudio/httpuv/archive/master.zip
Installing package from /tmp/RtmpFFihBG/httpuv.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing httpuv
'/usr/lib64/R/bin/R' --vanilla CMD INSTALL  \
  '/tmp/RtmpFFihBG/devtools64b428f5bfa0/httpuv-master'  \
  --library='/usr/local/lib/R/site-library' --install-tests

* installing *source* package 'httpuv' ...
** libs
g++ -I/usr/share/R/include -DNDEBUG -I./libuv/include -I./http-parser
-I./sha1 -I./base64  -I"/usr/local/lib/R/site-library/Rcpp/include"
-fpic  -O3 -pipe  -g  -c RcppExports.cpp -o RcppExports.o
RcppExports.cpp:4:18: error: Rcpp.h: No such file or directory
RcppExports.cpp:6: error: 'Rcpp' is not a namespace-name
RcppExports.cpp:6: error: expected namespace-name before ';' token
RcppExports.cpp:9: error: variable or field 'sendWSMessage' declared void
RcppExports.cpp:9: error: 'string' is not a member of 'std'
(Continue reading)

Sasha Cuerda | 7 Mar 21:34 2014
Picon

Rcpp problems while installing httpuv / running build-dep r-base-core

Hello all,

I am in the process of trying to install Shiny Server on a DreamHost VPS.
As Shiny Server must be built on Debian, I've been muddling my way through
the steps but I have run into a roadblock w/ httpuv.

Following these <https://github.com/rstudio/httpuv> instructions, I ran the
devtools::install_github('httpuv', 'rstudio') command and received the
error pasted below.

devtools::install_github("httpuv", "rstudio")
Installing github repo httpuv/master from rstudio
Downloading httpuv.zip from
https://github.com/rstudio/httpuv/archive/master.zip
Installing package from /tmp/RtmpFFihBG/httpuv.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing httpuv
'/usr/lib64/R/bin/R' --vanilla CMD INSTALL  \
  '/tmp/RtmpFFihBG/devtools64b428f5bfa0/httpuv-master'  \
  --library='/usr/local/lib/R/site-library' --install-tests

* installing *source* package 'httpuv' ...
** libs
g++ -I/usr/share/R/include -DNDEBUG -I./libuv/include -I./http-parser
-I./sha1 -I./base64  -I"/usr/local/lib/R/site-library/Rcpp/include"
-fpic  -O3 -pipe  -g  -c RcppExports.cpp -o RcppExports.o
RcppExports.cpp:4:18: error: Rcpp.h: No such file or directory
RcppExports.cpp:6: error: 'Rcpp' is not a namespace-name
RcppExports.cpp:6: error: expected namespace-name before ';' token
RcppExports.cpp:9: error: variable or field 'sendWSMessage' declared void
(Continue reading)


Gmane