Displaying 20 results from an estimated 25 matches for "rwork".
Did you mean:
work
2003 Nov 03
2
problem building MS-Windows package under linux
hi there,
trying to follow the steps of Yan & Rossini 2003, I have two problems
:
first when I 'make CrossCompileBuild', I get :
******************************************************************************
make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
make -f Makefile.docfiles
make[2]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
makeinfo --no-split --html --no-headers --number-sections -o tmp.html tmp.texi
tidy tmp.html > tmp2.html 2> /dev/null
make[2]: [fixed/html/r...
2006 Nov 30
0
R2WinBUGS - parameter monitor seting
...ugs(data, inits, parameters,"bayesimp.bug",
n.chains = 1, n.iter = 4000,
bugs.directory = "c:/Program Files/WinBUGS14/",
working.directory = NULL, clearWD = TRUE, debug = TRUE)
script.txt:
display ('log')
check ('D:/Work/SpatialEpi/Water/THM Imputation/Rwork/bayesimp.txt')
data ('D:/Work/SpatialEpi/Water/THM Imputation/Rwork/data.txt')
compile (1)
inits (1, 'D:/Work/SpatialEpi/Water/THM Imputation/Rwork/inits1.txt')
gen.inits()
thin.updater (2)
update (1000)
set (y)
set (u)
set (deviance)
dic.set()
update (1000)
coda (*, 'D:/Wor...
2010 Jan 11
0
trouble with installing pbatR
...-I/usr/local/apps/R-2.8.1/lib64/R/include
-I/usr/local/include -fpic -g -O2 -c call_stsparse.
c -o call_stsparse.o
g77 -fpic -g -O2 -c dlinpk.f -o dlinpk.o
g77 -fpic -g -O2 -c lsodes.f -o lsodes.o
lsodes.f: In subroutine `dlsodes':
lsodes.f:1536: warning:
CALL DSTODE (NEQ, Y, RWORK(LYH), NYH, RWORK(LYH), RWORK(LEWT),
1
lsodes.f:3468: (continued):
CALL DSTODE (NEQ, Y, RWORK(LYH), NYH, RWORK(LYH), RWORK(LEWT),
2
Argument #10 of `dstode' is one type at (2) but is some other type at (1)
[info -f g77 M GLOBALS]
lsodes.f: In subroutine `dpre...
2010 Jan 17
2
Strange results from Windows 7
Hello,
I am a newbie.
I can run the following code stored in "test.txt" without error using my
XP machine:
x <- scan("C:\\Rwork\\A.txt")
x10 = filter(x, rep(1/10,10), sides=1)
x
x10
for(i in 10:length(x)){
if (x[i] > x10[i]) diff[i]="b" else diff[i]="s"
}
However, if I run it in another PC that uses Windows 7, the following
error occurs:
> source("c:\\Rwork\\test.txt")
Read 290...
2006 May 25
1
Building Libraries
...are given in R
code (no C/C++/Fortran) with two very simple demonstration datasets. My
manual pages all seem to work, rendering properly with:
R CMD Rd2txt myfun.Rd
and
R CMD Rdconv -t=html -o=myfun.html myfun.Rd
However, when I call the check command (on a unix machine), I get the
following:
~/RWork > R CMD check aspace
* checking for working latex ...sh: latex: not found
NO
* using log directory '/students/remmelt/RWork/aspace.Rcheck'
* using R version 2.2.0, 2005-10-06
* checking for file 'aspace/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package...
2004 Apr 22
6
Fatal Error: Invalid HOMEDRIVE
...is did not solve the problem either.
The following did work:
Create batch file MyRBat.bat
---start---
SET HOMEDRIVE=D: # for some reason "echo %HOMEDRIVE%" returns "C:" even
when I set the install path to D:\{HOME}\
SET HOMEPATH=\Documents and Settings\vinyardwc\My Documents\Rwork\work
Rgui.exe
---end---
Cheers
[[alternative HTML version deleted]]
2003 Jul 18
1
(PR#2867)
...40),10,4)
> X[,1] <- X[,2]
> (qrx <- qr(X, LAPACK=TRUE))
Error in qr(X, LAPACK = TRUE) : error code -14983444 from Lapack routine
dqeqp3
Execution halted
As an R novice, I am puzzled that the call to dgeqp3 has more arguments
than dgeqp3 itself. The call has an extra argument "rwork". But this
could explain the strange error code!
The call:
F77_CALL(dgeqp3)(&m, &n, REAL(A), &m, INTEGER(jpvt), REAL(tau),
&tmp, &lwork, rwork, &info);
The subroutine:
SUBROUTINE DGEQP3( M, N, A, LDA, JPVT, TAU, WORK, LWORK, INFO )...
2011 Dec 23
1
Help creating a symmetric matrix?
...he matrix. My code and an
example of the output is below. Can anyone point me to an example that
shows how to create a matrix with this sort of input?
Thank you in advance,
Matt
require(PortfolioAnalytics)
#load market index data
data(indexes)
#save data as a CSV
write.table(indexes, "C:/Rwork/indexes.csv", sep=",", col.names=TRUE,
row.names=FALSE, quote=FALSE, na="NA")
#assumes rJava is installed, MINE.r and MINE.jar are in the working
directory
#read in MINE.r
source.with.encoding('C:/Rwork/MINE.r', encoding='UTF-8')
#run MINE on indexes
MIN...
2003 Jun 23
2
Problem with installation under R 1.7.1 and unzip
...now which destination must be specified to unzip packages and install it. In fact i am doing this manually now and it works using "Load package" but i won't do this always because i have the same problem in updating these packages. My destination directory is Program Files\\R\\rw1071\\Rwork.
Could anyone tell me what to do and how to resolve this problem?
Thank you a lot
Ramzi
---------------------------------
[[alternative HTML version deleted]]
2008 Aug 25
4
R for Windows GUI closes when I try to read.spss
** High Priority **
I have been trying to read an SPSS file into R using
read.spss ("C:/Documents and Settings/Roderick Harrison/My
Documents/RWORK/ihisdat.sav", use.value.labels = TRUE, to.data.frame =
FALSE, max.value.labels = 500, trim.factor.names = FALSE, trim_values =
TRUE, reencode = NA, use.missings = to.data.frame)
Each time (at least 5 or 6 by now) I get the following Microsoft error
message and the R-Console crashes.
R for W...
2009 Mar 13
1
How to combine xtable and minipage with Sweave ?
...te{}
\begin{document}
\DefineVerbatimEnvironment{Sinput}{Verbatim}{formatcom = {\color[rgb]{0, 0,
0.56}}}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom = {\color[rgb]{0.56,
0, 0}}}
\setkeys{Gin}{width=\textwidth}
<<echo=FALSE, results=TEX>>=
rg<-read.table(file="d:/RWork/rg.txt", sep=";", dec=".", header=T, as.is=T)
@
\begin{figure}[ht]
\begin{minipage}[b]{0.5\linewidth}
\centering
<<RsingleA,echo=F,fig=T,width=2.5,height=2.5>>=
plot(1:10)
@
\caption{First figure}
\label{fig:figure1}
\end{minipage}
\end{figure}
\hspace{0.5cm}...
2007 Nov 25
1
Package Building under Windows with MikTeX 2.6
...bs):
C:\Uni\MikTeX
C:\Uni\R\
bin
doc
etc
include
library
modules
share\
licenses
locale
make
perl\
R
Text
R
texmf
src
Tcl
C:\Uni\Rtools
C:\Uni\WinEdt
C:\Uni\Perl
C:\Uni\htmlhelp
I generated the minimal package structure for package mbes via
skeleton(), consisting of
c:\RWork\mbes\
man\mbes.Rd
man\mbes.package.Rd
R\mbes.R
DESCRIPTION
and then in a MS DOS command window:
R CMD check mbes
which called forth the error:
Error message:
C:\RWork\mbes>R CMD check mbes
* checking for working latex ...Error: environment variable TMPDIR not
set (or set to unusable value...
2007 Aug 27
4
Problem with save or/and if (I think but maybe not ...)
...host="localhost")
# Creation des objets contenant la liste des fichiers (rel pour chemin
relatif)
# - dans le repertoire : objet rfichiers
# - deja traites : objet tfichiers
# - nouveaux depuis la derniere connexion : objet nfichiers
# chemin est le repertoire de stockage des donnees
# RWork est le repertoire de travail de R
# sep='' pour eviter l'ajout d'un espace apres Mydata/
setwd("D:/RWork")
chemin<-"d:/Mydata/"
relrfichiers<-dir(chemin, pattern=".P")
rfichiers<-paste(chemin,relrfichiers, sep='')
if (file.exists(&quo...
2005 Jan 06
1
rbugs in linux
...tional.
Error in runBugs(bugs, script.file, n.chains, workingDir, useWine, wine, :
BUGS stopped before getting to coda.
The command I'm using is:
schools.sim <- rbugs(data = schools.data, inits, parameters,
schools.bug, n.chains = 2, n.iter = 1000, workingDir =
'/mnt/win_d/Rwork/daynightR', bugsWorkingDir =
'/home/jonsen/.wine/drive_c', useWine = TRUE, wine =
'/usr/local/bin/wine', debug = TRUE, verbose = TRUE)
Any suggestions are greatly appreciated.
Thanks,
--
Ian Jonsen, Postdoctoral Fellow
Biology Dept., Dalhousie University
801 LSC, 1355 Ox...
2010 Nov 06
1
Help required to remove \\N
Dear All,
I have .csv file it looks like this :
rawdata <- read.csv(file='/home/Mohan/Rworks/tmp/VMList_User.txt',sep='\t'
, header=FALSE)
> head(rawdata,n=5)
Tenant Domain Owner Current State
1 \\N ROOT admin Running
2 \\N ROOT admin Stopped
3 \\N ROOT admin Running
4 \\N...
2004 Mar 05
1
Problems with SJava instalation
...te-library/SJava/libs/SJava.so":
libRSNativeJava.so: cannot open shared object file: No such file or
directory
Error in library(SJava) : .First.lib failed
---------------------------
The R say that file libRSNativeJava.so dont exist, but it exist.
---------------------------
[root at zeus Rwork]# ls /opt/lib/R/site-library/SJava/libs/*
/opt/lib/R/site-library/SJava/libs/SJava.so
/opt/lib/R/site-library/SJava/libs/libRSNativeJava.so
---------------------------
When I run the RJava script I have this error:
---------------------------
/opt/lib/R/site-library/SJava/scripts/RJava
Loading RI...
2001 Oct 01
1
Grouped Regression
...ET2 112.0 382.6
ET2 149.7 361.8
ET2 187.4 347.7
To do a straightforward nls on the data, some code like this would be
necessary...
char<-read.table("O:/R_STH/L_TBA/P_IndSer/IntLive/Ilem_Research/Matt/Incubat
ion/Desorption Isotherms/RWork/DPIAds.txt", header=TRUE)
library(NLS)
test1<-nls(SorbedT~A + B/(1 + D*ExtrVol2), data=char, start=list(A=200,B=80,
D=0.003),trace=TRUE)
summary(test1)
Given this code, How do I alter it to group regression based on the factor
TimeTreat, and provide a comparison of the
results?
Thanks,...
2001 Jan 17
3
how to save results???
Hi,
I'm a new R's user. I am using "faq" and "An Introdution to R" to learn.
My main problem for start the learning is: how to save my result in a output
file?
I has used the sink CMD or $ R > [output file], but the commands go to file
and can't to be read in Linux Terminal. The workspace saved at the end of
section save only commands and dont save results.
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
...oooooooooooooooooooo
Warning message:
In fun(...) : no DISPLAY variable so Tk is not available
> DIRLIST<-c("Adult_ALL
NO_ANW/")#,"Adult_Or_ANW/","Adult_Females/","Adult_Males/")
> for(d in DIRLIST){
+ theWd<- paste("/nfs/monash/home/namos/Rwork/",d,sep="")
+ setwd(theWd)
+ SPP.CODES <-"EYR"#c("BT","EYR","FH","SPP","STP")
+ for (sp in SPP.CODES){
+ path.sp<- paste(theWd,sp,"/",sep="")
+ dir.create(path.sp)
+ GENO.TABLE<-paste(theWd,sp,&...
2000 Sep 13
0
Compiling R on HP-UX: "DP relative code"
I tried to build R-1.1.1 on my HP-UX 10.20 box. For this I installed
gcc 2.95.2 and built g77 (version 2.95.2 19991024 (release)).
Making R runs to the point, where shared libs are linked. There it reports:
make[4]: Entering directory `/disk4/hoffmann/Work/rwork/src/library/ctest/src'
gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
../../../../../R-1.1.1/src/library/ctest/src/ansari.c -o ansari.o
gcc -I../../../../include -I/usr/local/include -fPIC -g -O2 -c
../../../../../R-1.1.1/src/library/ctest/src/fexact.c -o fexact.o
gcc...