kamaraju kusumanchi | 21 Dec 12:37 2014

How to get fortunes in R

I was going through
and found this on pg-3

> fortunes::fortune(92)
## If you don't go with R now, you will someday.
## -- David Kane (on whether to use R or S-PLUS)
## R-SIG-Finance (November 2004)

However, when I tried it on my machine, I get

rajulocal <at> hogwarts:~/work/r_programming$ R -q
> fortunes::fortune(92)
Error in loadNamespace(name) : there is no package called ‘fortunes’

What package(s) do I need to install to get fortune in R? I tried
doing a "apt-cache search fortune R" but none of the hits look
promising. I am using Debian Jessie.

rajulocal <at> hogwarts:~/work/r_programming$ dpkg -l \*fortune\* r-base | grep ^ii
ii  fortune-mod       1:1.99.1-7   amd64        provides fortune
cookies on demand
ii  fortunes-min      1:1.99.1-7   all          Data files containing
selected fortune cookies
ii  r-base            3.1.1-1      all          GNU R statistical
computation and graphics system


(Continue reading)

Nussbaum Madlene | 16 Dec 14:10 2014

BLAS/LAPACK routine 'DLASCL' gave error code -4 in liblapack3 Version 3.5.0

Dear all

Some computations gave a matrix. The single value decomposition of it worked fine previously, after an
system upgrade I get the following error:
> La.svd(x,256,256)
Error in La.svd(x, nu, nv) :
  BLAS/LAPACK routine 'DLASCL' gave error code -4
Erroneous Matrix: ftp://usys-ftp.ethz.ch/ITES/STEP/nussbaum/R/matrix-lapack-error4.RData /.csv
Operating System: Debian 8
Previous version:    liblapack3   3.4.1 (running without error)
New version:          liblapack3   3.5.0-4 (gives error above)
How do I track down this error code?
Is this a bug in liblapack3 or what did change?
Thank you!
M. Nussbaum

	[[alternative HTML version deleted]]
Seb R | 5 Nov 09:48 2014

Latest version of R from CRAN for utopic (14.10)

I am not in a hurry, but I would like to upgrade my ubuntu to utopic.
However, for now, the latest version of R that can be installed from CRAN
mirrors is not available for utopic.
Indeed, I am not sure I understand this sentence :

> R packages for Ubuntu on i386 and amd64 are available for all stable
> Desktop releases of Ubuntu until their official end of life date. However,
> only the latest Long Term Support (LTS) release is fully supported. As of
> October 17, 2013, the supported releases are Trusty Tahr (14.04), Precise
> Pangolin (12.04; LTS), and Lucid Lynx (10.04; LTS).
Does this mean that from now only LTS version will get the latest version
of R, or the non-LTS will be partially supported ?
If, as I think I understand, non-LTS can also get latest R, is there any
schedule for utopic ?
I don't have any idea of how long and complicated it is for you developpers
to make it available after, I suppose, a stability testing period...
Thank you

	[[alternative HTML version deleted]]
David Ibarra Gómez | 22 Oct 10:22 2014

Problems to compile examples of RInside


                I have some problems to migrate to R  >3.0 my devel machine (R.2.15.2). So I decided to start from scratch with
a brand new virtual machine.

Downloaded latest network install of debian testing, not stable (jessie/sid, SMP Debian 3.16.3-2
(2014-09-20) x86_64 GNU/Linux) installed only with ssh-server and basic utilities (no X).

Then I installed R by:

apt-get install r-base-dev

Then from R, I installed the needed (for me) packages by:

install.packages(c("Rcpp","RInside","forecast", "quadprog", "tseries", "fracdiff", "zoo", "RcppArmadillo","randomForest","RInside","lubridate","quantmod","nnet","caret"),type="source")

Session info extract (Rcpp and RInside libraries loaded):

R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)

[3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8       LC_NAME=C
[9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
(Continue reading)

Ali Youssef | 30 Sep 20:09 2014

Re: String Kernel for R 3.1.1

Dear all , 

May you inform me how  to use the function of gapweightkernel() from stringkernel Library . where the
library is not for R 3.1.1 . I am using R 3.1.1 .

	[[alternative HTML version deleted]]
Miguel Angel Barros | 30 Sep 14:24 2014

error in Ubuntu

I've got this error while I'm try to install R on Ubuntu 12.04. The cran
that I used was from Argentina.
"E:Type 'http://cran.r-project.org/bin/linux/ubuntu' is not known on line
60 in source list /etc/apt/sources.list  "

So, please, Could everyone help me with this error.

Thank you so much

	[[alternative HTML version deleted]]
Matthieu | 27 Sep 21:08 2014

r-cran-rgdal: dependency on libgdal1 unsatisfied in ubuntu 12.04?


I am trying to install the rgdal package through r-cran-rgdal (I had 
added the ppa), and run into an error in Ubuntu 12.04:
r-cran-rgdal : Dépend: libgdal1 (>= 1.9.0) mais il n'est pas installable

in English, libgdal1 1.9 does not seem available in Ubuntu 12.04 (I 
think version 1.7) comes.

And indeed, a:
$sudo apt-get install  libgdal1

Gives also an error message, saying libgdal1 not available, but 
suggesting libgdal1h, although installing the latter does not solve 

I looked into several forums, tried to install from several  ppas, but 
was not able to get it working. Would someone have an idea how to 
install this unsatisfied dependency?



R-SIG-Debian mailing list
R-SIG-Debian <at> r-project.org
Matt Dowle | 26 Sep 19:00 2014

configure: error: linking to Fortran libraries from C fails

Hi all,

Nice one for a Friday afternoon ...

I'm trying to follow this section of the manual :


to build R-devel (as of a few hours ago: rev 66684) with 

My OS is Linux Mint Debian Edition.  To get gcc-4.9 I added Debian 
testing to my apt sources and ran :

    sudo apt-get install gcc-4.9, g++-4.9 gfortran-4.9

in the root of a clean Rtrunk.  I then started simple with just ASAN 
first of all :

./configure CC="gcc-4.9 -std=gnu99 -fsanitize=address" 
CFLAGS="-fno-omit-frame-pointer -O0 -g -Wall -pedantic -mtune=native" 
--without-recommended-packages --enable-strict-barrier 

This runs for a while and then returns the following error :

checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in `/home/mdowle/R/Rtrunk':
configure: error: linking to Fortran libraries from C fails
(Continue reading)

Pratibha Rana | 18 Sep 17:03 2014

difference between install from source and install from repositories


What is the difference between the R installation from source and the R
installation from ubuntu repositories. Specifically when I install
R-3.1.1 on ubuntu 14.04 from sources ldflags and CXXFLAGS are different
that those from the installation from a repo.

Installation from sources:

R CMD config --ldflags

-Wl,--export-dynamic -fopenmp  -L/home/prana/prana_R/third-party/install/lib/R/lib -lR -lrt -ldl -lm


Installation from repo:

 R CMD config --ldflags

-Wl,--export-dynamic -fopenmp  -L/usr/lib/R/lib -lR -lpcre -llzma -lbz2 -lz -lrt -ldl -lm


-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security

These are the steps that I followed to install from sources

./configure  --enable-R-shlib --with-x=no --with-readline=no
(Continue reading)

Matt Dowle | 13 Sep 17:22 2014

Picking 'rgl' as source package instead of 'r-cran-rgl'


$ more /etc/apt/sources.list.d/additional-repositories.list
deb http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/
deb-src http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/

$ sudo apt-get update

$ sudo apt-get install r-cran-rgl      # works great

$ sudo apt-get build-dep r-cran-rgl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'rgl' as source package instead of 'r-cran-rgl'
E: Unable to find a source package for rgl

What have I done wrong?!

Thanks, Matt
Sebastian P. Luque | 14 Aug 23:05 2014

littler autoloader issue


I'm not sure when this started occurring, but now I get:

---<--------------------cut here---------------start------------------->---
$ r -e 'quantile(rnorm(1e5))'
Error in (function (name, package, ...)  : 
  autoloader did not find 'quantile.default' in 'stats'
---<--------------------cut here---------------end--------------------->---

I'm using the latest Debian sid R and littler packages.  Any ideas?