nospam@altfeld-im.de | 26 Jul 18:49 2015
Picon

R3.2.1: tools::testInstalledBasic("both") fails since no tests are installed by default. Confirmed?

Dear R-SIG-Debian team,

I have installed R3.2.1 as described at cran.r-project.org
on my Ubuntu 14.04 using the Ubuntu packages for R (r-base and
r-base-dev) from the package URL

deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/

I wanted to test the installation using the R commands:

    Sys.setenv(LC_COLLATE = "C", LANGUAGE = "en")
    library("tools")
    testInstalledBasic("both")

"testInstalledBasic()" failed with the error message:

    Error in setwd(file.path(R.home(), "tests")) : 
      cannot change working directory

"R.home()" results in

    [1] "/usr/lib/R"

I looked into this folder and could not find test sub folder "tests"
where the base tests are supposed to be stored.

My questions:

1. Can you please confirm that the "tests" sub folder is no part of the
   packages? Otherwise I have to diagnose an installation problem on
(Continue reading)

Miroslava Kavgic | 22 Jul 04:11 2015
Picon

Installing randomForest under Red Hat Linux 6

Hello,

I'm trying to install randomForest package under Red Hat (Acenet
environment).

I've typed the command: install.packages("randomForest") but this command
is not recognized.

Any suggestions?

Many thanks,
Regards,
Miroslava

--

-- 
Miroslava Kavgic, PhD
Postdoctoral Fellow
Renewable Energy Storage Laboratory
Dalhousie University, Mechanical Engineering

	[[alternative HTML version deleted]]
Austin Putz | 14 Jun 00:46 2015
Picon

Re: Cannot install R on Ubuntu 14.04 LTS

This issue has been solved. I didn't change to trusty when I updated
Ubuntu.

I now have the following lines in my /etc/apt/sources.list file:

deb http://cran.utstat.utoronto.ca/bin/linux/ubuntu trusty/

and

deb http://mirror.pnl.gov/ubuntu/ trusty-backports main restricted universe

I also installed the keys described on http://mirror.las.iastate.edu/CRAN/
but I'm not sure if I needed them or not.

Thanks for the help.

Austin

On Sat, Jun 13, 2015 at 5:33 PM, Michael Rutter <mar36 <at> psu.edu> wrote:

> Austin,
>
> You need to cc r-sig-debian in order to see the replies.  I would just do
> one wrap-up email so people can see that there was a solution.
>
> Thanks,
> Michael
>
> On 06/13/2015 05:58 PM, Austin Putz wrote:
>
(Continue reading)

Austin Putz | 13 Jun 22:17 2015
Picon

Cannot install R on Ubuntu 14.04 LTS

Hello everyone,

I've spent the last 2 days trying to install base R on my Ubuntu 14.04 LTS
machine. I even just wiped my entire computer and reinstalled the operating
system thinking that was the problem (since some people have problems
updating R).

So far I've tried to follow this link exactly that has instructions:

http://mirror.las.iastate.edu/CRAN/

Since I just reinstalled Ubuntu I figured I would have no problems. I was
just wondering if anyone else has had this happen to them. I was getting an
error while doing sudo apt-get update that said:

....public key not available iastate... NO_PUBKEY 51716619E084DAB9

So I followed that link above and installed the keys (as far as I know).

The current error while trying sudo apt-get install r-base (not installed
previously, fresh OS) is:

------------------------------------------------------------------------------------------------------------------------
Sat Jun 13 : ~ $ sudo apt-get install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
(Continue reading)

Abed W. Ayyad | 31 May 08:48 2015
Picon

Re: Installing TMAP in R Studio on Linux Mint

Copied and sent from another address:

On 31 May 2015 at 09:43, Abed W. Ayyad <imraualkays <at> gmail.com> wrote:

> To the R-Sig-Debian list:
>
> Hello, this is my first post to the list and I hope that making it short
> and swift does not make it come across as abrupt or rude.
>
> I'm having trouble installing the TMAP package on R-Studio on my build of
> Linux Mint. I was able to narrow this down to the lack of the libgeos-dev
> library, which I tried to install via the terminal, but I constantly get
> the "unable to locate package" error. I've also changed/added repositories
> several times over the past week or so.
>
> Is there anything that can be done for this problem? Has the libgeos-dev
> library been taken off of the repositories?
>
> Best regards,
>
> Abed Ayyad
>
> --
> For very rudimentary descriptive statistics on Doha:
> http://notesfromdoha.blogspot.com/
>

--

-- 
For very rudimentary descriptive statistics on Doha:
http://notesfromdoha.blogspot.com/
(Continue reading)

Sean Southard | 11 May 22:49 2015
Picon

Foreach %dopar% operator incorrectly load balancing

Dear R-SIG-Debian,

I am using R version 3.1.2 with rstudio-server 0.98.113 on debian build
3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u1 x86_64 GNU/Linux.

I often use the %dopar% operator in from the foreach package to run code in
parallel. However, the only other use on the box seemingly installed a few
items and suddenly %dopar% will use far more than the number of cores I am
specifying and seems to load balance between all of them. The issue with
this is that it doesn't actually seem to perform non-trivial tasks at all
anymore.

This is an example of testing code I've been using for testing the %dopar%
 loop.

library(iterators)
library(foreach)
library(doParallel)
library(Parallel)
nCores <- 4

cl <- makeCluster(nCores)
registerDoParallel(cl)
trials = 100000

x <- iris[which(iris[,5] != "setosa"),c(1,5)]
    t2 <- system.time({
    r2 <- foreach(icount(trials), .combine=cbind) %dopar% {
    ind <- sample(100,100,replace= TRUE)
    results1 <- glm(x[ind,2]~x[ind,1],family=binomial(logit))
(Continue reading)

Natalia Morandeira | 8 May 04:10 2015
Picon

Unable to install packages: "/usr/bin/ld: cannot find -lgfortran"

Dear all,

I'm using R version 3.2.0 in Ubuntu 12.04 LTS.

 While trying to install any package I get the error: "/usr/bin/ld: cannot 
find -lgfortran"

If I open a Terminal and run "ldconfig -p | grep libgfortran"​, I get:​
"libgfortran.so.3 (libc6,x86-64) => 
/usr/lib/x86_64-linux-gnu/libgfortran.so.3"

I've been an R user for two years and this is the first time I get this 
error. I've uninstalled R and re-installed it but the problem was not 
solved. 

I'll be very grateful for any help or suggestions to solve the problem.

Best regards,

Natalia Morandeira
	[[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
"Dr. Stefan Röttger" | 7 May 09:39 2015
Picon
Picon

Problems installing packages with R 3.2.0 on Linux Mint 17.1

Dear R-SIG-Debians,

I have difficulties installing packages from within R through 
install.packages(). R version is 3.2.0 and OS is Linux Mint 17.1.

For most packages, a lot of error messages come up which seem to be 
related to compilation. Installing packages provided by the ubuntu 
distro through apt-get works just fine.

I followed all directions given in CRAN's /bin/linux/ubuntu/readme.html, 
but the problem persists.

Entering install.packages("sem") in R, for example, produces the output 
below.

I would be happy if anyone could give me a hint or recommendation on how 
to get the compilation going.

Best regards,
Stefan

 > install.packages("sem")
Installing package into ‘/home/stefan/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
versuche URL 'http://cran.rstudio.com/src/contrib/sem_3.1-5.tar.gz'
Content type 'application/x-gzip' length 146831 bytes (143 KB)
==================================================
downloaded 143 KB

* installing *source* package ‘sem’ ...
(Continue reading)

Vincent Lemoine | 20 Apr 14:26 2015

Dependency problem with "python-rpy2" package

Hello,

I have a problem with package "python-rpy2" with Debian Wheezy repository.

I use this repo :
deb http://cran.r-project.org/bin/linux/debian wheezy-cran3/

This package depends on "python-singledispatch" but it doesn't exist in official Debian repo...

Could you help me to fix this issue ?

Thanks a lot,
kamaraju kusumanchi | 20 Apr 00:10 2015
Picon

R-SIG-Debian Info Page is down

I am getting a "Error 503" when I go to
https://stat.ethz.ch/mailman/listinfo/r-sig-debian . Could you please
take a look?

thanks
raju
--

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
kamaraju kusumanchi | 19 Apr 23:58 2015
Picon

running unit tests on the stringr package

I am trying to learn how  to run the unit tests in the stringr package
and have the following questions.

1) The r-cran-stringr package does not suggest/depend on the
r-cran-testthat package . Would it make sense to add such a thing
since after all the tests in /usr/lib/R/site-library/stringr/tests
rely on testthat package?

2) I am getting the following error when trying to run the unit tests

% R
R version 3.1.1 (2014-07-10) -- "Sock it to Me"
...
> library('testthat')
> library('stringr')
> test_dir('/usr/lib/R/site-library/stringr/tests')
String and pattern checks : 123
Counting matches : ....
Detecting patterns : ..........
Duplicating strings : ......
Extract patterns : ..
Joining strings : ......
String length : .........
Locations : ............
Matching groups : ..............
Test padding : ....
Splitting strings : .........................
Extracting substrings : ...................
Trimming strings : ........

(Continue reading)


Gmane