Displaying 12 results from an estimated 12 matches for "rprog".
Did you mean:
prog
2007 Apr 03
2
R callbacks
...ole(char *buf, int len)
{
printf("R<< %s", buf);
}
int main(int ac, char **av)
{
R_running_as_main_program = 1;
ptr_R_WriteConsole = my_R_WriteConsole;
Rf_initialize_R(ac, av);
Rf_mainloop();
return 0;
}
---------------
I compile and run this in bash with
RPROG=R
INC=`${RPROG} CMD config --cppflags`
LDF=`${RPROG} CMD config --ldflags`
export LD_LIBRARY_PATH=`${RPROG} RHOME`/lib
gcc -o altr ${INC} ${LDF} altr.c
${RPROG} CMD ./altr
However, my customized version seems not to be used. What am I missing?
-Deepayan
2007 Apr 07
2
Rf_PrintValue problem with methods::show
...cbind2" in the code below is just a representative object, the same
holds for the few other S4 objects I have tried.
The following uses r-devel on i686-pc-linux-gnu, but the results are
same with R 2.4.1 (with suitable changes to the R_ParseVector call).
On powerpc Linux I get a segfault.
$ RPROG=R-devel
$ ${RPROG} --version | head -1
R version 2.6.0 Under development (unstable) (2007-04-06 r41080)
$ export LD_LIBRARY_PATH=`${RPROG} RHOME`/lib
$ cat parseEvalS4.c
#include <Rinternals.h>
#include <Rembedded.h>
#include <R_ext/Parse.h>
int main(int argc, char *argv[])
{...
2010 Oct 29
1
NetWorkSpace from REvolution; Distributed Computing setup questions
...nwssNGG4LF'
'RSleighUserNwsName=sleigh_user_0452__nwssNGG4LF' 'RSleighID=1'
'RSleighWorkerCount=1'
'RSleighScriptDir=/usr/local/lib/R/site-library/nws/bin'
'RSleighNwsHost=172.30.34.71' 'RSleighNwsPort=8765'
'RSleighWorkingDir=~/tmp/'
'RProg=/Library/Frameworks/R.framework/Resources/bin/R'
'RSleighWorkerOut=sleigh_ride_0450__nwssNGG4LF_0001.txt'
'RSleighLogDir=~/tmp/'
'/usr/local/lib/R/site-library/nws/bin/RNWSSleighWorker.sh'
If I type the name of the sleigh "s" as below, I get information that
m...
2010 Jan 26
3
Problem with "nls" function
Dear R users,
I have a response variable in a csv file called "y" and a matrix of
predictor variables in a csv file called "mat". I have used the function
"nls" I have specified the nonlinear relation between these variable.The
code I have witten is called Rprog which begins with the phrase:
L.minor.m1<-nls(Y~a ....etc..
The program when I execute the program, I obtain the following message:
L.minor.m1 file not found.
You find attached Rprog, y.csv and mat.csv.
Can you please help me, it is very important for my phd thesis.
Thanks in advance.
Hammadi.
-...
2006 Apr 04
1
Mpirun with R CMD scripts
...---------
But on running the same script with mpirun i get the following error.
*****************************************************************8
[srividya at cheaha ~]$ mpirun -np 3 R -slave R CMD BATCH TestSnow.R
/home/srividya/R/library/snow/RMPInode.sh: line 9: 19431 Segmentation
fault ${RPROG:-R} --vanilla >${OUT:-/dev/null} 2>&1 <<EOF
library(Rmpi)
library(snow)
runMPIslave()
EOF
**************************************
I am not sure about what the error could be and any help is greatly
appreaciated.
Thanks,
Srividya
2005 May 01
2
eigen() may fail for some symmetric matrices, affects mvrnorm()
...patch
are on my web page, along with one example of a problematic symmetric
matrix (to be loaded with the 'load' function). The NaNs should appear
in the eigenvectors. This particular matrix may not produce an error on
all platforms.
http://www.stat.columbia.edu/~kerman/Software/rprog.html
Thanks to Radford Neal who suggested on our research web log (link
below) that setting EISPACK=TRUE may help.
http://www.stat.columbia.edu/~cook/movabletype/mlm/
Jouni Kerman
Department of Statistics
Columbia University
New York
2009 Jan 09
1
snow and different R versions
...ENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] snow_0.3-3
"/home/gabor/software/lib64/R"
$rlibs
R_LIBS
"/usr/lib64/R/library:/usr/share/R/library"
$rprog
[1] "/home/gabor/software/lib64/R/bin/R"
$rscript
[1] "/home/gabor/software/lib64/R/bin/Rscript"
$rshcmd
[1] "ssh"
$scriptdir
[1] "/home/gabor/.R/library/snow"
$snowlib
[1] "/home/gabor/.R/library"
$timeout
[1] 31536000
$type
[1] "MPI&quo...
2007 Sep 03
1
Snow on Windows Cluster
Hello,
the package snow is not working on a windows cluster with MPICH2 and
Rmpi. There is an error in makeCluster:
launch failed: CreateProcess(/usr/bin/env
"RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS="
C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error
3 - Das System kann den angegbenen Pfad nicht finden.
I looked into makeMPIcluster. It could not work, mpi.comm.spawn gets the
s...
2009 Apr 09
0
Connecting to "heterogenous" cluster using makeSOCKcluster of SNOW-package
...e I intend to use really "inhomgenous" clusters, I followed the
respective instructions given on
http://www.stat.uiowa.edu/~luke/R/cluster/cluster.html#Section:InhomogeneousSystems.
I also tried the modifications to RSOCKnode.sh proposed in
http://heather.cs.ucdavis.edu/~matloff/R/RProg.pdf - no different
behaviour.
I'd appreciate any comments that help me in getting an incomogenous
cluster running without the need of MPI or PVM.
Thanks in advance.
Till Francke
Dept. for Geoecology
University of Potsdam
--
2007 May 20
4
Running an R script without running R
Is there any way to run an R script without running R?
As an example, suppose I have a tcl/tk interface that asks
for a number (in a GUI) and displays its factorial. Is there a
way to invoke this script without invoking R?
I'm using R 2.4.1 in GNU/Linux Fedora Core 4.
Alberto Monteiro
2014 Jul 09
3
La lista está para ayudar...
Hola Ernesto.
Ya que estás pensando en abandonar la lista, yo (antes) me lanzaría a preguntar alguna cosa (de esas que tienes guardadas esperando al foro adecuado).
Qué puedes perder?
:-)
Un Saludo,
________________________
Miguel Ángel Rodríguez Muíños
Dirección Xeral de Innovación e Xestión da Saúde Pública
Consellería de Sanidade
Xunta de Galicia
http://dxsp.sergas.es
-----Mensaje
2010 Oct 31
1
R-help Digest, Vol 92, Issue 31
...nwssNGG4LF'
'RSleighUserNwsName=sleigh_user_0452__nwssNGG4LF' 'RSleighID=1'
'RSleighWorkerCount=1'
'RSleighScriptDir=/usr/local/lib/R/site-library/nws/bin'
'RSleighNwsHost=172.30.34.71' 'RSleighNwsPort=8765'
'RSleighWorkingDir=~/tmp/'
'RProg=/Library/Frameworks/R.framework/Resources/bin/R'
'RSleighWorkerOut=sleigh_ride_0450__nwssNGG4LF_0001.txt'
'RSleighLogDir=~/tmp/'
'/usr/local/lib/R/site-library/nws/bin/RNWSSleighWorker.sh'
If I type the name of the sleigh "s" as below, I get information that
m...