[R] dev-lang/R-3.1.0: biocLite(vsn) removes all files in /

2014-05-17 Thread Juergen Rose
I had the following files in /: root@caiman:/root(8)# ll / total 160301 drwxr-xr-x 2 root root 4096 May 16 12:23 bin/ drwxr-xr-x 6 root root 3072 May 14 13:58 boot/ -rw-r--r-- 1 root root 38673 May 14 14:22 boot_local-d.log lrwxrwxrwx 1 root root11 Jan 22 2011 data

[R] update.packages(checkBuilt = TRUE) fails in updating rpanel_1.1-1 due to missing package BWidget

2013-03-26 Thread Juergen Rose
update.packages(checkBuilt = TRUE) fails with: update.packages(checkBuilt = TRUE) rpanel : Version 1.0-6 installed in /usr/lib64/R/library built under R 2.15.0 Version 1.1-1 available at http://mirrors.softliste.de/cran Update (y/N/c)? y trying URL

Re: [R] getopt does not work as expected!

2012-03-30 Thread Juergen Rose
Am Mittwoch, den 28.03.2012, 14:08 +0200 schrieb Juergen Rose: I have the following script (also attached): ... Ausführung angehalten This behaviour I don't like at all. Why getopt does not distinguish beetween options starting with alt least one hyphen and normal arguments starting

[R] getopt does not work as expected!

2012-03-28 Thread Juergen Rose
I have the following script (also attached): #!/usr/bin/Rscript spec=matrix(c( 'verbose', 'v', 1, integer, 'help' , 'h', 0, logical ),ncol=4, byrow=TRUE) spec.dim=dim(spec) spec.opt.long=spec[,1] spec.opt.short=spec[,2] spec.opt.l - spec.dim[1] infile - test.dat args=commandArgs(TRUE);

Re: [R] Rmpi fails to install

2011-07-18 Thread Juergen Rose
Am Sonntag, den 03.07.2011, 18:19 +0200 schrieb r...@rz.uni-potsdam.de: Quoting r...@rz.uni-potsdam.de: Quoting Juergen Rose r...@rz.uni-potsdam.de: Hi, I was just able to install the patched Rmpi on the second system with openmpi-1.5.3. What can we that Rmpi_0.5-9a.tar.gz becomes

Re: [R] Rmpi fails to install

2011-06-30 Thread Juergen Rose
Hi Hugo, I tried your patch. The first 'R CMD INSTALL --preclean Rmpi_0.5-9a.tar.gz' failed with: *** installing help indices ** building package indices ... ** testing if installed package can be loaded [inspironM12:22936] *** Process received signal *** [inspironM12:22936] Signal: Segmentation

Re: [R] Rmpi fails to install

2011-06-30 Thread Juergen Rose
Hi, I was just able to install the patched Rmpi on the second system with openmpi-1.5.3. What can we that Rmpi_0.5-9a.tar.gz becomes a standard CRAN package? Regards Juergen Am Freitag, den 17.06.2011, 13:28 +0200 schrieb Hugo Mildenberger: Juergen, I try to install Rmpi as root with

[R] gcc-4.5.2 and install.packages(glmnet)?

2011-06-23 Thread Juergen Rose
Hi, is there any chance to install glmnet with gcc-4.5.2? For me it fails on all systems with: trying URL 'http://mirrors.softliste.de/cran/src/contrib/glmnet_1.7.tar.gz' Content type 'application/x-gzip' length 522888 bytes (510 Kb) opened URL ==

Re: [R] access data on server

2011-06-07 Thread Juergen Rose
Am Dienstag, den 07.06.2011, 11:40 +0200 schrieb Brown, Mathew: Hello, I'm running R on Linux (Ubantu) and I'm trying to run a script that will read and plot data on a linux server. I've looked around and haven't been able to figure out how to do this. I want to load several files on the

Re: [R] Segfaults of eigen

2011-06-07 Thread Juergen Rose
for yourself (see 'Writing R Extensions') or ask your vendor for support. I still suffer from the same problem, but now with R version 2.12.2. On Mon, 21 Feb 2011, Juergen Rose wrote: Am Montag, den 21.02.2011, 11:11 +0100 schrieb Juergen Rose: Hi, .. With large(?) matrices eigen produces

[R] glmnet_1.6 fails to install due to unsupported Fortran 90 compiler

2011-05-20 Thread Juergen Rose
Hi, if I try to install glmnet, the installation fails with: install.packages(glmnet,dependencies=TRUE) trying URL 'http://mirrors.softliste.de/cran/src/contrib/glmnet_1.6.tar.gz' Content type 'application/x-gzip' length 522657 bytes (510 Kb) opened URL

[R] Installation of rattle complains about missing packages

2011-05-13 Thread Juergen Rose
Hi, if I try to install rattle, R fails to install: rpvm, rsprng, RBGL, pcalg, arulesViz, pkgDepTools, Rgraphviz . rpvm depends on pvm, rsprng on sprng which is not installed and which seems not so easy to install on my gentoo systems. ArulesViz depends on Rgraphviz, RBGL and pcalg depends on

Re: [R] repeated execution of svm(e1071) gives different results, if weights are use and if probability = TRUE is set

2011-02-24 Thread Juergen Rose
Am Mittwoch, den 23.02.2011, 18:12 +0100 schrieb Juergen Rose: class.weights=Wts, I have just seen, that me last code was not complete. I try it once more: library(e1071) data(Glass, package = mlbench) index - 1:nrow(Glass) testindex - sample(index, trunc(length(index)/5)) testset - Glass

[R] svm(e1071) and scaling of weights

2011-02-23 Thread Juergen Rose
I expected, that I will get the same prediction, if I multiply the weights for all classes with a constant factor, but I got different results. Please look for the following code. library(e1071) data(Glass, package = mlbench) index - 1:nrow(Glass) testindex - sample(index,

[R] repeated execution of svm(e1071) gives different results, if probability = TRUE is set

2011-02-23 Thread Juergen Rose
I called svm and predict three times with the same data and got three differing predictions: library(e1071) Lade nötiges Paket: class data(Glass, package = mlbench) index - 1:nrow(Glass) testindex - sample(index, trunc(length(index)/5)) testset - Glass[testindex, ] trainset -

[R] Segfaults of eigen

2011-02-21 Thread Juergen Rose
Hi, with small matrices eigen works as expected: eigen(cbind(c(1,4),c(4,7)), only.values = TRUE) $values [1] 9 -1 $vectors NULL eigen(cbind(c(1,4),c(4,7))) $values [1] 9 -1 $vectors [,1] [,2] [1,] 0.4472136 -0.8944272 [2,] 0.8944272 0.4472136

Re: [R] Segfaults of eigen

2011-02-21 Thread Juergen Rose
Am Montag, den 21.02.2011, 11:11 +0100 schrieb Juergen Rose: Hi, with small matrices eigen works as expected: eigen(cbind(c(1,4),c(4,7)), only.values = TRUE) $values [1] 9 -1 $vectors NULL eigen(cbind(c(1,4),c(4,7))) $values [1] 9 -1 $vectors [,1] [,2] [1

Re: [R] Segfaults of eigen with blas-atlas at x86_64-pc-linux-gnu systems

2011-02-21 Thread Juergen Rose
Am Montag, den 21.02.2011, 11:25 +0100 schrieb Karl Ove Hufthammer: Juergen Rose wrote: eigen(D) *** caught segfault *** address (nil), cause 'unknown' Traceback: 1: .Call(La_rs, x, only.values, PACKAGE = base) 2: eigen(D) All systems are Gentoo systems, i.e. R-2.12.1

[R] segfault during example(svm)

2011-02-18 Thread Juergen Rose
If do: library(e1071) example(svm) I get: svm data(iris) svm attach(iris) svm ## classification mode svm # default with factor response: svm model - svm(Species ~ ., data = iris) svm # alternatively the traditional interface: svm x - subset(iris, select = -Species) svm y - Species svm

Re: [R] segfault during example(svm)

2011-02-18 Thread Juergen Rose
Am Freitag, den 18.02.2011, 11:53 -0800 schrieb Peter Ehlers: On 2011-02-18 11:16, Juergen Rose wrote: If do: library(e1071) example(svm) I get: svm data(iris) svm attach(iris) svm ## classification mode svm # default with factor response: svm model- svm(Species

Re: [R] segfault during example(svm)

2011-02-18 Thread Juergen Rose
Am Freitag, den 18.02.2011, 21:42 +0100 schrieb Claudia Beleites: update.packages (checkBuilt = TRUE) Dear Claudia, I just tried update.packages (checkBuilt = TRUE), it did not solved the issue. Nevertheless thanks, Juergen __ R-help@r-project.org

[R] How to reset libPaths for root

2011-02-10 Thread Juergen Rose
. .libPaths() [1] /root/R/x86_64-pc-linux-gnu-library/2.12 [2] /usr/lib64/R/library How can I reset libPaths permanently for root to /usr/lib64/R/library? I have: root@lynx:/root(4)# R --version R version 2.12.1 (2010-12-16) .. Regards. -- Juergen Rose r...@rz.uni

[R] update.packages() and install.packages() does not work more because of Error in read.dcf

2010-03-30 Thread Juergen Rose
the problem. Any hint is appreciated. Regards Juergen -- Juergen Rose r...@rz.uni-potsdam.de Uni-Potsdam __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

[R] Strange indices of support verctors from e1071

2009-06-08 Thread Juergen Rose
Hello, In the attached file training.csv (I apologize for the large file) I have 238 objects belonging to 13 classes, which are described by 183 properties. I would like to find a svm model for these objects. I tried the following R statements. library('e1071') datatraining -

Re: [R] Strange indices of support verctors from e1071

2009-06-08 Thread Juergen Rose
Am Montag, den 08.06.2009, 18:20 +0200 schrieb Juergen Rose: Hello, In the attached file training.csv (I apologize for the large file) I have 238 objects belonging to 13 classes, which are described by 183 properties. I would like to find a svm model for these objects. I tried

Re: [R] Strange indices of support verctors from e1071

2009-06-08 Thread Juergen Rose
Am Montag, den 08.06.2009, 12:30 -0400 schrieb milton ruser: Dear Rose, no attached file came with the message. bests milton I try once more to attache the file. I hope that 89 KB is not to large for the mailing list. On Mon, Jun 8, 2009 at 12:20 PM, Juergen Rose r...@rz.uni

Re: [R] Strange indices of support verctors from e1071

2009-06-08 Thread Juergen Rose
Am Montag, den 08.06.2009, 18:33 +0200 schrieb Juergen Rose: Am Montag, den 08.06.2009, 12:30 -0400 schrieb milton ruser: Dear Rose, no attached file came with the message. bests milton I try once more to attache the file. I hope that 89 KB is not to large for the mailing list

Re: [R] Strange indices of support verctors from e1071

2009-06-08 Thread Juergen Rose
Am Montag, den 08.06.2009, 13:33 -0400 schrieb David Winsemius: On Jun 8, 2009, at 12:42 PM, Juergen Rose wrote: Am Montag, den 08.06.2009, 18:33 +0200 schrieb Juergen Rose: Am Montag, den 08.06.2009, 12:30 -0400 schrieb milton ruser: Dear Rose, no attached file came with the message

Re: [R] interactive file choosing in Linux?

2009-05-27 Thread Juergen Rose
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Juergen Rose r...@rz.uni-potsdam.de Uni Potsdam __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] package for /usr/lib64/R/library/tkrplot/libs/tkrplot.so

2009-05-17 Thread Juergen Rose
Hi, 'revdep-rebuild' under GENTOO shows me that /usr/lib64/R/library/tkrplot/libs/tkrplot.so, which was installed at April 24th, is broken. 'ldd /usr/lib64/R/library/tkrplot/libs/tkrplot.so' shows me that tkrplot.so needs libtcl8.4.so and libtk8.4.so, which is no more installed since the

Re: [R] package for /usr/lib64/R/library/tkrplot/libs/tkrplot.so

2009-05-17 Thread Juergen Rose
Am Sonntag, den 17.05.2009, 13:16 -0500 schrieb Dirk Eddelbuettel: On 17 May 2009 at 12:53, Juergen Rose wrote: | 'revdep-rebuild' under GENTOO shows me | that /usr/lib64/R/library/tkrplot/libs/tkrplot.so, which was installed | at April 24th, is broken. | 'ldd /usr/lib64/R/library/tkrplot

Re: [R] 'Dynamic' 3D plot

2009-05-08 Thread Juergen Rose
simply to reply the postings. Regards Juergen 2009/5/8 Juergen Rose r...@rz.uni-potsdam.de Am Freitag, den 08.05.2009, 02:43 -0700 schrieb Tony Breyal: Hi Martial, The rgl package is quite nice for this sort of thing: # this is the example

[R] args and test of passed paramters

2009-04-17 Thread Juergen Rose
Hi, I would like to call a R script sometimes with: R --slave --vanilla --args Debug=1 N=25 test.R and sometimes with R --slave --vanilla Debug=1 test.R or similar. Inside the R script I get the arguments with: args=(commandArgs(TRUE)) if(length(args)==0){ print(===No arguments

[R] Howto build combinations of colums of a data frame

2009-04-16 Thread Juergen Rose
Hi, as a R-newcomer I would like to create some new data frames from a given data frame. The first new data frame should content all pairs of the columns of the original data frame. The second new data frame should content all tripels of of the columns of the original data frame and the last the

Re: [R] Howto build combinations of colums of a data frame

2009-04-16 Thread Juergen Rose
Am Donnerstag, den 16.04.2009, 10:59 -0400 schrieb David Winsemius: Thanks David, is there also a shorter way to get the columns names of the new data frames? Juergen On Apr 16, 2009, at 10:14 AM, Juergen Rose wrote: Hi, as a R-newcomer I would like to create some new data frames from

Re: [R] Howto build combinations of colums of a data frame

2009-04-16 Thread Juergen Rose
) cnames.new - apply(combn(cnames,3), 2, paste,collapse=) tripels - apply(combn(colnames(DF),3), 2, function(x) DF[,x[1]]*DF[,x[2]]*DF[,x[3]]) colnames(tripels) - cnames.new print(tripels=); print(tripels) and I am very satisfied. Juergen baptiste On 16 Apr 2009, at 17:33, Juergen Rose wrote

[R] Translate the elements of a dataframe

2009-04-16 Thread Juergen Rose
The second beginner question. I want to create a new dataframe, where each element of the original dataframe is translated to 1 if it was +, to 0 if it was - to -1 otherwise. I could do with: Lines - abcd +-+ + +++ - +1- '+ ' -+

Re: [R] Translate the elements of a dataframe

2009-04-16 Thread Juergen Rose
Am Donnerstag, den 16.04.2009, 15:14 -0400 schrieb Chuck Cleland: On 4/16/2009 2:58 PM, Juergen Rose wrote: The second beginner question. I want to create a new dataframe, where each element of the original dataframe is translated to 1 if it was +, to 0 if it was - to -1 otherwise. I could

[R] read.xls and name of worksheet

2009-03-12 Thread Juergen Rose
- i+1 } } But now I don't find the information about Writing Sheet number in text.log*. Any hint appreciated. Regards -- Juergen Rose r...@rz.uni-potsdam.de Uni-Potsdam __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help