[R] Problem with installing R under Windows

2006-08-04 Thread TAN Chong Hui
I have been trying to install R under Windows from the source by
following the instructions in R Installation and Adminstration.
Met with a list of problems along the way.

1) Recommended packages: 

I tried to do 

 make lnik-recommended

and 

 make rsync-recommended
 
In both cases, I got the message no rule to make target

Have I gotten the make directory wrongly?

2) Building core files:

After I did

 make all recommended 

in R_HOME/src/gnuwin32, the process ends with the following error
message:

 make --no-print-directory -C ../modules \
   OPTFLAGS='-O3 -Wall -pedantic -std=gnu99' FOPTFLAGS='-O3 -Wall' -f 
 Makefile.wi n gcc  -shared -s  -o lapack.dll lapack.def Lapack.o 
 dllversion.o -L../../../bin - lRlapack -lRblas -lR
 c:\minGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
 cannot fin
 d -lRlapack
 collect2: ld returned 1 exit status
 make[5]: *** [lapack.dll] Error 1
 make[4]: *** [all] Error 2
 make[3]: *** [all] Error 1
 make[2]: *** [rmodules] Error 2
 make[1]: *** [rbuild] Error 2
 make: *** [all] Error 2

What should I be doing here?

3) Building manuals

After I did

 make manuals

in R_HOME/src/gnuwin32, the process ends with the error message

! LaTeX Error: File `datasets-pkg.tex' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: tex)

Enter file name:
! Emergency stop.
read *

l.77 \input{datasets-pkg.tex}

!  == Fatal error occurred, the output PDF file is not finished!
Transcript written on refman.log.
make[1]: *** [refman.pdf] Error 1
make: *** [manuals] Error 2

What should I be doing here?



Can anyone help?

Thanks.

Rgds
Chong Hui



[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] A problem with R CMD SHLIB

2006-08-01 Thread TAN Chong Hui
Hi,

I followed the example in Writing R Extensions to create a shared
object in Windows, using the command

R CMD SHLIB X.cc X_main.cc

This was encountered: 

../src/gnuwin32/MkRules:155: warning: overriding commands for target
'.c.d'
../src/gnuwin32/MkRules:143: warning: ignoring old commands for target
'.c.d'
../src/gnuwin32/MkRules:171: warning: overriding commands for target
'.c.d'
../src/gnuwin32/MkRules:159: warning: ignoring old commands for target
'.c.d'
make: *** No rule to make target 'X_main.cc''.  Stop.

What might be the problem?
Please advise, anyone?

Rgds
Chong Hui 

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] libRmath

2006-08-01 Thread TAN Chong Hui
Hi

I'm trying to use the standalone library libRmath.
According to the documentation, I need to builld it in
src/nmath/standalone

But this directory does not exist in the R I installed.

What's the problem here, anyone?

Thanks!

Rgds
Chong Hui

[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Use R in Java

2006-08-01 Thread TAN Chong Hui
Hi

I'm trying to use R from Java.
There doesn't seem to be much documentation on this. 
I installed JGR that has JRI and Rjava coming with it.

According to the short description at www.rosuda.org/JRI/,
there's supposed to be an examples directory in JRI.
I don't seem to be able to find that.

I tried to install JRI on its own (not with JGR) from rosuda.
But there seems to be some error with the zip-file.

Help, anybody?

Thanks.

Rgds
Chong Hui


[[alternative HTML version deleted]]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.