search for: rksh

Displaying 20 results from an estimated 134 matches for "rksh".

Did you mean: ksh
2004 Jul 05
1
"make" error for R-1.9.1
...ower text html latex varWeights text html latex varWeights.glsStruct text html latex varWeights.lmeStruct text html latex Error in .installPackageIndices(".", "/working/jrd/sat/rksh/R-1.9.1/library/nlme ") : cannot open directory'/working/jrd/sat/rksh/R-1.9.1/library/nlme/Meta' Execution halted ERROR: installing package indices failed ** Removing '/working/jrd/sat/rksh/R-1.9.1/library/nlme' make[2]: *** [nlme.ts] Error 1 make[2]: Leaving director...
2006 Apr 06
1
R CMD check for packages in a bundle
...hree. I am having problems. The bundle as a whole passes R CMD check, but fails when I cd to the bundle directory and run R CMD check on a package directory. The whole bundle passes: octopus:~/scratch% R CMD check ./BACCO * checking for working latex ... OK * using log directory '/Users/rksh/scratch/BACCO.Rcheck' * using R version 2.2.1, 2005-12-20 * checking for file 'BACCO/DESCRIPTION' ... OK * looks like 'BACCO' is a package bundle * this is bundle 'BACCO' version '1.0-29' * checking if this is a source bundle ... OK [snip] ** creating approxima...
2003 Oct 24
2
x[c(1,2,1)] <- 1:3
...e the usual strategy of considering vectors as whole entities---because in this case we have to specify whether the assignment starts at c(1,2,1)[1] and proceeds to c(1,2,1)[3], or starts at c(1,2,1)[3] and proceeds to c(1,2,1)[1]. And the results are different! What is the R position on this? rksh
2006 Feb 02
3
Make error durring compilation of OpenSSH 4.3p1 on HP-UX 11.00
Hi, compilation of OpenSSH 4.2p1 / OpenSSL 0.9.8a / zlib 1.2.3 worked fine on Linux i386 / x86_64, SunOS, AIX and HP-UX. Compilation of OpenSSH 4.3p1 / OpenSSL 0.9.8a / zlib 1.2.3 works fine now only on Linux i386 / x86_64, SunOS, AIX. But on HP-UX 11.00 (gcc 3.3.2), "make" produces following... (cd openbsd-compat && make) gcc -o ssh ssh.o readconf.o
2002 Jan 14
1
new R documentation on CRAN
...ely-used high-level graphics/mathematics tool and octave a free clone). Someone has just pointed out to me that I never announced its existence to anyone, hence this email (I understand that some people don't check CRAN every single day with baited breath looking for new R stuff ;-). enjoy rksh -- Robin Hankin, Lecturer, School of Environmental and Marine Science Private Bag 92019 Auckland New Zealand r.hankin at auckland.ac.nz tel 0064-9-373-7599 x6820; FAX 0064-9-373-7042 as of: Mon Jan 14 14:42:00 NZDT 2002 This (linux) system up continuously for: 137 days, 20 hours, 37 minut...
2008 Dec 05
1
array indexing
...]] and a[index[4:6]]. This seems to be a sensible way of going about array indexing. For example, even *defining* the 'index' matrix is simpler. So, what is the thinking behind the behaviour as implemented? I'm asking because I want to understand the thinking behind the decision. rksh -- Robin K. S. Hankin Uncertainty Analyst University of Cambridge 19 Silver Street Cambridge CB3 9EP 01223-764877
2007 Nov 19
2
All nonnegative integer solution
Dear all, Is there any method in R to find all possible nonnegative integer solutions to the linear equation with unit coefficients as follow: X1+X2+...+Xk=N Thank you, Amin Zollanvari
2009 Dec 03
1
S4 and head() problems
...ction "head", for signature "matrix" > and sometimes it works as desired. Why should head() not be able to take the first few lines of a matrix? It seems to be "forgetting" that head.matrix() exists. Can anyone give me some pointers for debugging this problem? rksh -- Robin K. S. Hankin Uncertainty Analyst University of Cambridge 19 Silver Street Cambridge CB3 9EP 01223-764877
2013 Jan 22
1
file.system() in packages
...ectory". So I've put my Rnw file and also the bib file in emulator/vignettes/ directory. And indeed, following R CMD build and then R CMD INSTALL on the tarball, I can see the Rnw file: > system.file("doc","emulex.Rnw",package="emulator") [1] "/home/rksh/Rd/lib64/R/library/emulator/doc/emulex.Rnw" > so I know system.file() works as desired. But I can't find uncertainty.bib as R CMD INSTALL does not copy it to the system: > system.file("doc","uncertainty.bib",package="emulator") [1] "" >...
2002 Dec 11
2
ordering x's and y's
Hello ALL: How do I get R to list all possible orderings of 2 x's and 3 y's? It should look like this (which rows appear first is unimportant): x x y y y x y x y y x y y x y x y y y x y x x y y y x y x y y x y y x y y x x y y y x y x y y y x x Thanks, ANDREW
2004 Sep 13
1
Rd files with "%" (was: permuting dimensions)
...I think) because it interprets the "%" as a control character. Does anyone have a best-practice example of a package that includes a function like "%eq%" that I could modify? In particular, how do I get \usage{m1 %eq% m2} and \examples{..} to work nicely? best wishes rksh > > > >>What has this to do with the original subject line? Replacement functions >>are not intended to be used directly, and certainly not in do.call. >> >>See ?aperm, as in >> >>xx <- x >>dim(xx) <- c(2,2,3,3) >>xx <- aperm(xx,...
2006 May 22
1
R CMD check problem
...le, I can install the package, and use it, and source the test suite with no errors. My problem is with R CMD check. It passes on R-2.2-0: Robin-Hankins-Computer:~/scratch% R CMD check ./partitions_1.1-0.tar.gz * checking for working latex ... OK [snip] make[1]: Leaving directory `/users/sat/rksh/partitions.Rcheck/tests' OK * creating partitions-manual.tex ... OK * checking partitions-manual.tex ... OK But it doesn't pass on R-2.3.0, MacOSX: Robin-Hankins-Computer:~/scratch% R CMD check ./partitions_1.1-0.tar.gz * checking for working latex ... OK *[snip] * checking examples...
2006 Sep 12
1
package.skeleton() in R-2.4.1
...no default method)", domain = NA)(x)), class = structure ("nonstandardGenericFunction", package = "methods")) [subject to line breaking] but this file gives an error when sourced (below). I didn't get this problem with R-2.3.1. > > source("/Users/rksh/anRpackage/R/getX.R") Error in parse(file, n = -1, NULL, "?") : syntax error at 2: structure(function(x){standardGeneric("getX")} 3: , generic = structure("getX", package = ".GlobalEnv"), package = ".GlobalEnv", group = list(), valueClass = c...
2011 Aug 03
1
NAMESPACE problems
...enericFunction", "standardGeneric") Error in setGeneric(f, where = where) : must supply a function skeleton, explicitly or via an existing function Error : unable to load R code in package 'Brobdingnag' ERROR: lazy loading failed for package ?Brobdingnag? * removing ?/Users/rksh/packages/Brobdingnag.Rcheck/Brobdingnag? wt118:~/packages% AFAICS, all the setGeneric() calls are pretty much like this: setGeneric("getX",function(x){standardGeneric("getX")}) Can anyone advise? thank you Robin -- Robin Hankin Uncertainty Analyst hankin.robin at gma...
2004 Nov 17
3
3d scatter plot with drop line
This is a follow up to my question from yesterday. I want to do in R what is called a "3d scatter plot with drop lines" in S-PLUS. Basically, it's a 3dscatterplot with lines connecting the x-y grid to the z points. The lines give a better perspective on the shape of the data surface. How to? Joel Bremson UC Davis Statistics
2004 Sep 08
3
do.call("[", ...) question
Hi again everyone I have an arbitrarily dimensional array "a" and a list "jj" of length length(dim(a)). The elements of jj are vectors of indexes. How do I use do.call() to extract a[ jj[[1]], jj[[2]], jj[[3]], ...] ? Toy example follows: a <- matrix(1:30,5,6) jj <- list(5:1,6:1) I want the following a[ jj[[1]],jj[[2]] ] How do I do this? OBAttempts:
2004 Jun 11
4
rownames of single row matrices
Hi I want to extract rows of a matrix, and preserve rownames even if only one row is selected. Toy example: R> a <- matrix(1:9,3,3) R> rownames(a) <- letters[1:3] R> colnames(a) <- LETTERS[1:3] R> a A B C a 1 4 7 b 2 5 8 c 3 6 9 Extract the first two rows: R> wanted <- 1:2 R> a[wanted,] A B C a 1 4 7 b 2 5 8 rownames come through fine. Now extract just
2009 Nov 12
1
S4 objects in the data directory
...;", as.is = FALSE), envir = envir), found <- FALSE) 1: utils::data(list = f, package = character(0L), envir = dataEnv) Execution halted Portable packages use only ASCII characters in their datasets. * checking examples ...no parsed files found NONE WARNING: There were 2 warnings, see /home/rksh/anRpackage.Rcheck/00check.log for details le112:~% -- Robin K. S. Hankin Uncertainty Analyst University of Cambridge 19 Silver Street Cambridge CB3 9EP 01223-764877
2007 Feb 13
4
Generating MVN Data
Dear All I want to generate multivariate normal data in R for a given covariance matrix, i.e. my generated data must have the given covariance matrix. I know the rmvnorm command is to be used but may be I am failing to properly assign the covariance matrix. Any help will be greatly appreciated thanks. M. R. Ahmad
2004 May 27
2
block diagonal matrix function
Hello List I have just written a little function that takes two matrices as arguments and returns a large matrix that is composed of the two input matrices in upper-left position and lower-right position with a padding value everywhere else. (function definition and toy example below). I need nonsquare matrices and rowname() and colname() inherited appropriately. Two questions: (1) Is there a