similar to: Installing packages from source code

Displaying 20 results from an estimated 1000 matches similar to: "Installing packages from source code"

2008 Oct 16
1
packages in Depends field and NAMESPACES
Must packages in the Depends field of the DESCRIPTION file have NAMESPACES? I haven't seen this explicitly indicated anywhere. I am writing a small package and find that when I add the abind package to the list of the Depends field, I get an error in R CMD check of the build. * checking package name space information ... OK * checking package dependencies ... ERROR Packages required but not
2005 Mar 02
1
Error on Windows installing package to non-default library
Hi all, I'm seeing an error on Windows when I try to install a package to a package library path that starts with a digit. I can reproduce the error as follows using R-devel from Feb 24 on Windows advanced server: badLib = "c:\\badExample\\2\\foo" dir.create(badLib, recursive=TRUE) z = .libPaths() z = .libPaths(c(badLib, z)) z [1] "c:\\badExample\\2\\foo"
2005 Jun 19
1
Creating a R package for Windows XP
Hi: I'm trying to create a package to pass to someone else to use a group of functions with help files. I'm working on Windows XP. Step One: I use the example > ## two functions and two "data sets" : > f <- function(x,y) x+y > g <- function(x,y) x-y > d <- data.frame(a=1, b=2) > e <- rnorm(1000) > >
2005 Apr 21
1
R 2.1.0 for Windows installation error? atanh not in R.dll?
Could someone please tell me what I did wrong to create this message or what I should do to correct this problem? I downloaded 2.1.0 Windows binary and installed into C:/R/rw2010, using the installer. I ran md5check.exe in C:/R/rw2010/bin/ and got "No errors." The problem is this: When I start up Rgui.exe from its shortcut (target= C:\R\rw2010\bin\Rgui.exe --save -sdi, Start in
2006 Nov 23
2
loading libraries on MPI cluster
Dear R-users, we are using library(snow) for computation on a linux cluster with RMPI. We have a problem with clusterEvalQ: after launching clusterEvalQ it seems loading the required library on each node but if we type a function belonging to the loaded package R doesn't find it. > library(snow) # making cluster with 3 nodes > cl <- makeCluster(3, type = "MPI") Loading
2005 Aug 29
2
FW: RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve that appear to suite my requirements but I'm facing some configuration problems. I' following the web page tutorial (http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above problem: C:\Program Files\R\rw2010\bin>R CMD RSERVE Can't open perl script "C:\PROGRA~1\R\rw2010/bin/RSERVE":
2011 Aug 12
1
install packages from intranet
Hi, I'm new to R. Apologies if this is a simple query, I've searched the mailing lists and docs but can't find a solution to my problem. I'm trying to make some packages available on our intranet. During development the 'intranet' is a webserver running on localhost. * When I call "install.packages" I get a mesage about not being able to access 'index
2003 Oct 21
5
do.call() and aperm()
Hi everyone I've been playing with do.call() but I'm having problems understanding it. I have a list of "n" elements, each one of which is "d" dimensional [actually an n-by-n-by ... by-n array]. Neither n nor d is known in advance. I want to bind the elements together in a higher-dimensional array. Toy example follows with d=n=3. f <-
2005 Oct 21
1
Generalised rbind/cbind
Dear list, Is there a generalised form of rbind/cbind for combining matrices/arrays into higher-D structures? ie. if I have: a <- matrix(2,2,2) b <- matrix(3,2,2) how can I get array(rep(c(3,2), each=4), c(2,2,2)) ? It seems like this would be the job of a generalised abind function: abind(a,b, along=1) == rbind(a,b) abind(a,b, along=2) == cbind(a,b) abind(a,b, along=3)
2002 Mar 13
1
several bugs (PR#918) lists and matrices
### I got bit again by the same bugs I wrote about a year ago. ### The bugs are related to matrices and arrays of lists. ### 1. There is a clear inconsistency in how R handles two ### functionally equivalent statements. ### array() is able to take a list and create a matrix. ### matrix() is unable to create that matrix. > vector("list", 2) [[1]] NULL [[2]] NULL >
2004 Mar 20
0
new version of abind()
There is a new version of the abind package on CRAN (abind_1.1-0). abind() is a multi-dimensional generalization of cbind() and rbind() -- it can bind multiple 2-d matrices into a 3-d array, or bind 3-d arrays together, etc. In this new version the behavior of the function abind() has been enhanced slightly (it can now accept a list as the first argument, removing the need to use do.call()
2004 Mar 20
0
new version of abind()
There is a new version of the abind package on CRAN (abind_1.1-0). abind() is a multi-dimensional generalization of cbind() and rbind() -- it can bind multiple 2-d matrices into a 3-d array, or bind 3-d arrays together, etc. In this new version the behavior of the function abind() has been enhanced slightly (it can now accept a list as the first argument, removing the need to use do.call()
2005 Aug 29
1
RServe initialization problem
I want to use the R functionalities in my Java program. I found the Rserve that appear to suite my requirements but I'm facing some configuration problems. I' following the web page tutorial (http://stats.math.uni-augsburg.de/Rserve/doc.shtml) but I face the above problem: C:\Program Files\R\rw2010\bin>R CMD RSERVE Can't open perl script
2011 Jan 20
1
syntax for a list of components from a list
I'm attempting to generalise a function that reads individual list components, in this case they are matrices, and converts them into 3 dimensional array. I can input each matrix individually, but want to do it for about 1,000 of them ... This works array2 <- abind(list1[[1]],list1[[2]],list1[[3]],along=3) This doesn't array2 <- abind(list1[[1:3]],along=3) This doesn't either
2012 Mar 13
1
Visualising multiple response contingency tables
Dear R Help Community, I have a question and an answer (based on reading this forum and online research), but I though I should share both since probably there's a much better way to go about my solution. My question is specifically about how to best visualise multiple response contingency tables. What I mean by 'multiple response' is that the total number of responses per row of a
2005 Apr 25
2
Installing packages, again
Hi again, I've just uninstalled R2.01 and installed the new R2.10 on my WindowsXP machine. I then attempted to install the vegan package from source files, as I learned to do last week, with the help of some of you. I have updated my path variable to the new R directory (R/rw2010/bin instead of R/rw2001pat/bin), and I've still got the HTMLHelpWorkshop files installed, as well as Perl
2005 Apr 23
1
RCMD check error windows
Dear Lister, I am working with Windows XP and R 2.1.0 and can check and build home-made packages easily (just *.r, *.rmd, *.rda files, no compiled code). However for some reasons, I cannot check or build the package 'foreign' from the source (I took it as an exercise...). After some lines of sentences OK (here omitted and replaced by ...), I get a message like this: RCMD check
2009 Oct 19
1
rbind to array members‏
(resent as hotmail really cannot format plaintext, but I've just read Tony Plate's message that what I'd like to do might not be possible) > > library(abind) ## array binding I've looked into using abind() but it seems I might not understand it properly. I can build my 2 table array and insert a row into each table using: x <- array(0,c(1,3,2)) x[,,1]
2005 Jun 07
1
update.packages keeps trying to update gregmisc
If I issue the command > update.packages() it wants to update 'gregmisc' but then if I do it again right afterwards it still wants to update 'gregmisc'. It should have updated everything the first time and should not be trying to update anything the second time. Any comments? Here is the transcript of a session (R version at end): > update.packages() gregmisc :
2003 Sep 16
7
Retrieve ... argument values
Dear R users, I want to retrieve "..." argument values within a function. Here is a small exmaple: myfunc <- function(x, ...) { if (hasArg(ylim)) a <- ylim plot(x, ...) } x <- rnorm(100) myfunc(x, ylim=c(-0.5, 0.5)) Error in myfunc(x, ylim = c(-0.5, 0.5)) : Object "ylim" not found > I need to retrieve values of "ylim" (if it is defined