similar to: making R packages and compacting an entire R set up

Displaying 20 results from an estimated 3000 matches similar to: "making R packages and compacting an entire R set up"

2005 Jan 04
1
Difference between "R CMD build --binary" and "R CMD INSTALL --build"
As the title suggests, when building R packages on Windows, what is the difference between: R CMD build --binary mypack And R CMD INSTALL --build mypack ?? The former is suggested by my previous notes and seems to work, and the latter is suggested by http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html, and also seems to work. Thanks in advance Mick
2011 Jun 16
5
Porting "unmaintained" packages to post R 2.10.0 era
Hi all, I am trying to re-compile some "unmaintained" (it seems) packages, namely rSoNIA and dynamicnetwork from: http://csde.washington.edu/~skyebend/rsonia/rsoniaDemo/ These packages predates R 2.10.0 so they need to be recompile. After split the single big file in /man in each packages into a file for each function + some minor fix, I successfully manage to recompile and load
2009 Oct 23
3
How to make R packages?
I found the following document on making R packages. But it is old. I'm wondering if there is more current ones and hopefully more complete ones. http://biosun1.harvard.edu/courses/individual/bio271/lectures/L6/Rpkg.pdf
2010 Jan 14
1
How to install old randomForest?
Hi all, I'm using windowsXP and R 2.10.0. I downloaded "randomForest 4.5-33.tar.gz" from its archive, but how do I make it into a installation ZIP file? Thanks, Ted
2007 Jul 04
1
Newbie creating package with compiled code
Hi R Gurus! I'm trying to create a test package using the package.skeleton function. I wanted to add some compiled code too. In the src library, I put together a baby subroutine, compiled it and created a test.dll When I use the R cmd build, it works fine. But I get into trouble with the R CMD check section. /home/Desktop/R-2.5.1/bin # ./R CMD check mypkg * checking for working latex ...
2010 Sep 06
4
How to run R on Emacs+ESS
Hi folks, Debian 504 64-bit I found following document; http://www.biostat.wisc.edu/~kbroman/Rintro/ Whether it is the right document for installing Emacs+ESS and R so that R can run on Emacs? TIA B.R. Stephen L
2005 Feb 15
2
Making a Package
Hello. I have what I know to be a simple question, but never having done anything like this it is pretty tough. I'm trying to write an R package. I have a collection of functions that I loaded into R and then used package.skeleton(). After editing everything in the resulting folder, call it NewPackage, I tried to follow along with some instructions I found for Windows users. I installed
2007 Aug 27
2
Rmpi and x86
Dear R Gurus: Is there a problem with Rmpi on x86 with SUSE 10.1, please? I've tried everything and it still won't load. Has anyone else dealt with this please? Thanks, Edna Bell
2007 Nov 28
2
[OT] putting URLs in Latex
Hi R Gurus! This is definitely off topic, but I thought I'd try: what is the way to put in url's into a Latex file, please? I know that you start with a \newcommand statement, with some kind of argument that will change, but I'm not sure how to set it up, please. thanks, Edna Bell
2009 Mar 19
8
function question
Dear R Gurus: I read somewhere that functions are considered vectors. Is this true, please? thanks Edna Bell
2003 Oct 15
5
Problems Building RMySQL in Windows
Hi all, Unfortunately I must use winXP at my job, so I'm trying install from source RMySQL. Here are some details about this problem: - R 1.7.1 - RMySQL 0.5-2 - mysql 4.1.0-alpha-max-nt I followed the instructions posted in http://www.biostat.jhsph.edu/~kbroman/Rintro/Rwinpack.html and the following messages appeared. BTW, thanks in advance for your help and comments. C:\Program
2007 Nov 26
3
generating .Rd files
Hi R Gurus! I have a package that I am putting together. I waited until the end to do the documentation and would like to generate a set of "empty" .Rd files. Is there a quick way to do this, please? Thanks, Edna Bell PS I can't seem to access the "Writing R Extensions" manual from 2.6.1 on Windows.
2007 Oct 01
2
convert time series to data.frame
Dear R gurus I would like to take a monthly time series and convert it to a data frame without losing the tsp items, pleae I've tried as.data.frame and data.frame but I get the series without the time element. Any suggestions, please? tia Edna Bell
2008 Jul 24
2
factor question
Hi! Suppose I have a factor: > fac1 <- factor(rep(c("dog","cat","tree"),c(2,3,4))) > fac1 [1] dog dog cat cat cat tree tree tree tree Levels: cat dog tree > length(fac1) [1] 9 Now I want to get rid of the dogs: > fac1 <- fac1[3:9] > fac1 [1] cat cat cat tree tree tree tree Levels: cat dog tree > How should I remove the dog from the
2007 Oct 22
3
strsplit
Hello R Gurus: I would like to take a character string and split at the $ sign. I thought that strsplit would do it, but here are the results: > vv [1] "whine$ts1" > vv [1] "whine$ts1" > strsplit(vv,"$") [[1]] [1] "whine$ts1" Does anyone have any suggestions, please? Thanks, Edna Bell
2009 Mar 15
2
builtin vs. closure
Dear R Gurus: I'm working slowly through "R Programming for Bioinformatics", which is really interesting! Anyway, my question now is: what determines if a function is a builtin vs. a closure, please? For instance: > typeof(sqrt) [1] "builtin" > typeof(mean) [1] "closure" > Thanks, Edna Bell
2008 Sep 09
2
test for a single variance
Dear R Gurus: Is there a test for a single variance available in R, please? Thanks, Edna Bell
2008 Feb 20
2
[OT] Linux/UNIX question
Dear R Gurus: I'm trying to find R on another Linux system. I'm using the find command, (surprise), but I only want to see the output where it exists, not all of the other stuff. Is there an option that I could select, please? Right now I have find / -name R TIA, Sincerely, Edna
2008 Jul 23
1
an extremely simple question
Hi! What is the difference between using data(somedataset) vs. attach(somedataset), please? thanks, Edna Bell
2009 Mar 20
1
classes and methods
I have put together a test class and methods > setClass("foo",representation(x="numeric")) [1] "foo" > setMethod("plot","foo",function(x,y,...)boxplot(x,...)) [1] "plot" > x <- rnorm(100) > class(x) <- "foo" > plot(x) > y <- new("foo",x=rnorm(50)) > class(y) [1] "foo" My