[Rd] 'libRblas.so' missing in R 2.12.1

2010-12-16 Thread Christian Kohler
Dear R developers,

I just compiled the latest version of R (2.12.1) and noticed that 'libRblas.so' 
is missing in the '/x86_64/src/extra/blas' subdirectory of my
R-installation.

Did I miss ongoing discussions on the Mailinglist about this or might it be a 
local problem?

Thanks for this brilliant software.

Best
Christian
-- 

Christian Kohler
Institute of Functional Genomics
 ~ Statistical Bioinformatics ~
University of Regensburg (BioPark I)
D-93053 Regensburg (Germany)

Tel. +49 941 943 5055
Fax  +49 941 943 5020
christian.koh...@klinik.uni-regensburg.de

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] S4 slot with NA default

2008-03-26 Thread Christian Kohler
Hi Robin,

you could try this:
> setClass("foo",
representation=representation(x="numeric"),prototype=list(x=as.numeric(NA)))
> test<-new("foo")
> test
>An object of class "foo"
>Slot "x":
>[1] NA


Cheers,
Christian


Robin Hankin wrote:
> Hi
>
> How do I specify an S4 class with a slot that is potentially numeric,  
> but NA
> by default?  I   want the slot to be NA until I calculate its value
>   (an expensive operation, not needed for all applications).   When  
> its value is
> known, I  will create a new object with the correct value inserted in  
> the slot.
>
> I want "NA" to signify "not known".
>
> My attempt fails because NA is not numeric:
>
>  >  
> setClass 
> ("foo",representation=representation(x="numeric"),prototype=list(x=NA))
> Error in makePrototypeFromClassDef(properties, ClassDef, immediate,  
> where) :
>in making the prototype for class "foo" elements of the prototype  
> failed to match the corresponding slot class: x (class “numeric” )
>  >
>
> (the real application has other slots too).   I can
> use "NaN", which is numeric:
>
>  >  
> setClass 
> ("foo",representation=representation(x="numeric"),prototype=list(x=NaN))
> [1] "foo"
>  >
>
> But this is not the correct sense: to me "NaN" means "not a number"  
> and I want
> the sense to be "not available".
>
>
>
> Any advice?
>
>
>
>
>
> --
> Robin Hankin
> Uncertainty Analyst and Neutral Theorist,
> National Oceanography Centre, Southampton
> European Way, Southampton SO14 3ZH, UK
>   tel  023-8059-7743
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>   


-- 

Christian Kohler
Institute of Functional Genomics
Computational Diagnostics
University of Regensburg (BioPark I)
D-93147 Regensburg (Germany)

Tel. +49 941 943 5055
Fax  +49 941 943 5020
[EMAIL PROTECTED]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] problems installing rJava with R-2.8.0

2008-10-29 Thread Christian Kohler
Dear R-developers,

I am having trouble installing rJava on R 2.8.0 / debian etch.

What goes wrong?

I am happy for every advice.

Best,
Christian



> install.packages("rJava")
Warning in install.packages("rJava") :
  argument 'lib' is missing: using
'/nfs/compdiag/package/R/lib/bioconductor/release_2.3/x86_64'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://cran.rakanu.com/src/contrib/rJava_0.6-0.tar.gz'
Content type 'application/x-gzip' length 234704 bytes (229 Kb)
opened URL
==
downloaded 229 Kb

* Installing *source* package 'rJava' ...
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
configure: checking whether gcc -std=gnu99 supports static inline...
yes
checking Java support in R... present:
interpreter : '/usr/lib/jvm/java-1.5.0-sun/jre/bin/java'
archiver: '/usr/lib/jvm/java-1.5.0-sun/bin/jar'
compiler: '/usr/lib/jvm/java-1.5.0-sun/bin/javac'
header prep.: '/usr/lib/jvm/java-1.5.0-sun/bin/javah'
cpp flags   : '-I/usr/lib/jvm/java-1.5.0-sun/include
-I/usr/lib/jvm/java-1.5.0-sun/include/linux'
java libs   :
'-L/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/amd64/server
-L/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/amd64
-L/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/../lib/amd64
-L/usr/local/lib64 -ljvm'
checking whether JNI programs can be compiled... yes
checking JNI data types... configure: error: One or more JNI types
differ from the corresponding native type. You may need to use
non-standard compiler flags or a different compiler in order to fix this.
ERROR: configuration failed for package 'rJava'
** Removing
'/nfs/compdiag/package/R/lib/bioconductor/release_2.3/x86_64/rJava'

The downloaded packages are in
/nfs/scratch/Rtmp/RtmpUMDzVa/downloaded_packages
Warning message:
In install.packages("rJava") :
  installation of package 'rJava' had non-zero exit status


> sessionInfo()
R version 2.8.0 (2008-10-20)
x86_64-unknown-linux-gnu

locale:
C

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base

loaded via a namespace (and not attached):
[1] tcltk_2.8.0 tools_2.8.0









-- 

Christian Kohler
Institute of Functional Genomics
Computational Diagnostics
University of Regensburg (BioPark I)
D-93147 Regensburg (Germany)

Tel. +49 941 943 5055
Fax  +49 941 943 5020
[EMAIL PROTECTED]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel