Displaying 20 results from an estimated 3000 matches similar to: "Building packages in XP"
2004 Dec 22
2
Creating packages in windoze: *** [indices] Error 1
Dear R community,
I am running R 2.0.1 on a Windoze XP OS. I recently upgraded from R 1.9x to
2.0.1 and I am currently
upgrading a my personal function packages. My other packages compiled
without
a hitch but I am having a difficult time with my largest package.
Can someone please help me with the following error message
"Error in parse(file, n, text, prompt) : syntax error on line
2002 May 16
3
building packages on windows
Has anyone had success building a package on a windows machine?
I am trying the following command with no luck (perhaps my flags are
incorrect?). At this point I am stuck. Any help greatly appreciated.
Niels Waller
(BTW - I have no idea why it cannot find sh.exe since I have it is a
directory that is specified in a path statement)
H:\R\bin>rcmd build --binary --use-zip h:\taxon2
* checking
2004 Nov 15
1
installing knncat package
Hi all,
I am wondering if anyone has problem installing 'knncat' package. I tried to
install using 'Rcmd INSTALL knncat_1.1.1.tar.gz', error message appeared. I
attached the message in the end. I allso tried to install from RGui, but it
was not listed.
Thanks in advance.
Regards, jenny
---------- Making package knncat ------------
adding build stamp to DESCRIPTION
2004 Feb 17
2
interfacing C++ using .Call
Hi folks,
I apologise if this is in the documentation somewhere, but I can't
seem to find it. I also did a search of CRAN without any success. I'm
using R-1.8.1 (pre-compiled) on Windows 2000 with Rtools and mingw 2.0.0
(which includes gcc/g++ 3.2).
I'm trying to link some C++ code from another application to R using the
.Call interface and am experiencing some problems. I was
2004 May 11
2
- making a Windows library from Unix source code
Hi All,
I'm using R1.8.1 on Windows XP.
I'm having trouble producing an R library from source code. A colleague has written the source code, in Unix. I've copied the source code across to Windows (with the help files, data files, description and index) and am trying to compile it into a library.
I've "sourced" each of the *.r files and they appear to work.
2004 Apr 20
2
Creating a package in R 1.9.0
Dear all
I am trying to create a package in R 1.9.0 and I a getting an
error message which I do not understand. (I am using R in Windows
XP and 2000)
For example the following works well in 1.8.1
C:\Program Files\R\rw1081\src\gnuwin32>make pkg-gamlss
---------- Making package gamlss ------------
adding build stamp to DESCRIPTION
installing inst files
installing indices
not zipping
2002 Jan 24
1
Compiling R Package on Windows
I just installed the R-patched 1.4.0 and for some reason I now have
trouble compiling R packages - I could compile it a few weeks ago with R
1.4.0 released in December. This only happens if I put the --binary
option in.
For example:
Rcmd build --binary cw
returns the error:
make: Entering directory `/cygdrive/c/PROGRA~1/R/RW1040/src/gnuwin32'
make DLLNM= \
-C C:/MyRWork/cw PKG=cw
2002 Mar 06
2
Installing a Package in Windows 2000
I'm using R 1.4.1 under Windows 2000 and am experiencing difficulty
installing a package. I've included an example output using Rcmd build,
but the same problem occurs with Rcmd check and Rcmd INSTALL. The error
(make[1]: /bin/sh.exe: Command not found) is not a new one - it's
referenced in readme.packages among other locations. I've placed a copy
of sh.exe in C:\bin, but it
2004 Feb 10
4
The ttest.c example in R under MS Windows
We are trying to compile and run the ttest.c example that comes with R (in
C:\Program Files\R\rw1081\src\library\windlgs\src\ttest.c). After compiling
it with MS Visual C++ we load the DLL with dyn.load.
So far it seems good, but when we try to call it from R (after running
C:\Program Files\R\rw1081\src\library\windlgs\R\windlgs.R) R crashes.
We have tried changing the exports from DLL but have
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without
much success. I've been able to at least load the library on FreeBSD
(1.8.1). I've been able to perform this before using DLL that weren't
created using RCMD SHLIB, but simply compiling under MS DevStudio.
C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c
g77 -O2 -Wall -c as47.f
2004 Feb 17
1
RCMD SHLIB == Couldn't reserve space for cygwin's heap, Win32 ?
I've been trying to create/load/call a dll from R-1.8.1 on Windows without
much success. I've been able to at least load the library on FreeBSD
(1.8.1). I've been able to perform this before using DLL that weren't
created using RCMD SHLIB, but simply compiling under MS DevStudio.
C:\optflikam>rcmd shlib --output=optflikam.dll as47.f as197.f flikam.c
g77 -O2 -Wall -c as47.f
2009 Nov 02
1
Interaction contrasts or posthoc test for glm (MASS) with ANOVA design
Dear R experts
I am running a negative-binomial GLM (glm.nb) to test the null hypotheses
that species 1 and 2 are equally abundant between site 1 and site2, and
between each other. So, I have a 2x2 factorial design with factors Site
(1,2) and Taxon (1,2).
Since the Site:Taxon interaction is significant, I need to do the equivalent
to a "post-hoc test" for ANOVA, however, the same tests
2006 May 10
1
ape comparative analysis query
I've been comparing variables among objects (taxa) related by known
trees, using phylogentically independent contrasts in the ape package,
and want to move on to more complex models e.g. by using gls with
appropriate correlation terms. My trees contain lots of (hard)
polytomies and information about ancestors, which I've been including-
creating fully dichotomous trees by using zero branch
2010 Apr 01
3
Using a string as a variable name - revisited
I would like to revisit a problem that was discussed previously (see
quoted discussion below). I am trying to do the same thing, using a
string to indicate a column with the same name. I am making "foo" a
string taken from a list of names. It matches the row where "item" =
5, and picks the corresponding "taxon"
> foo <- list$taxon[match(5,list$item)]
Let's
2013 Jan 31
2
rbind Missing Something: Need New Eyes
I don't see what's missing in my statements to add rows to a data frame
and someone else will probably see what needs to be added to the statements.
The data frame has this structure (without any data):
$ PHYLUM : chr
$ SUBPHYLUM : chr
$ SUPERCLASS : chr
$ CLASS : chr
$ SUBCLASS : chr
$ INFRACLASS : chr
$ SUPERORDER : chr
$ ORDER : chr
$ SUBORDER :
2004 Jan 05
2
build R package on winXP
Hello,
I wrote an R function and want to build an R package on winXP. I have
set my
path:C:\bin;C:\MinGW\bin;C:\Perl\bin\;C:\Tcl\bin;C:\texmf\miktex\bin;C:\Program
Files\R\rw1081\bin;
I tried to run "Rcmd build --help" but failed. Under
C:\WINDOWS\System32\cmd.exe, I got the error message:
Please set TMPDIR to a valid temporary directory.
Under Cygwin, I got the error message:
2004 Jan 29
2
Finding Sweave.sty and other problems
Hi,
I've just tried to run example-3 from Friedrich Leish. I'm using R 1.8.1
and MiKTeX 2.2 on Windows XP.
I go
===
> library(tools)
> Sweave("example-3.Snw")
Writing to file example-3.tex
Processing code chunks ...
1 : term hide
2 : echo term verbatim
3 : term tex
4 : term verbatim eps pdf
You can now run LaTeX on example-3.tex
===
The file example-3.tex
2004 May 02
2
building a "simple" R package
Dear R-ers:
Recognizing that it is better to remain silent and have people think you
stupid than to speak and remove any doubt, I fear that I must speak
nonetheless.
I am having the Devil's own time trying to make a simple R package for my
own use. Yes, I have perused the FAQs and searched the archives. Yes, I
have read "Writing R Extensions" and eventually divined what Rcmd
2002 May 16
4
packages on windows
I am trying to write my first R package. The file 'Creating R packages'
instructs me to create a 'man' subdirectory for the help files (with an Rd
extension). However when I look at other libraries I do not find a man
subdirectory (I find html dirs). Also I am told to include a keyword from
the KEYWORDS.db. However this file is not on my system? Any suggestions?
I am working
2010 Oct 10
2
Help reading table rows into lists
Hi all,
I have a large table mapping thousands of COGs(groups of genes) to
pathways.
# Ex
COG0001 patha pathb pathc
COG0002 pathd pathe
COG0003 pathe pathf pathg pathh
##
I would like to combine this information into a big list such as below
COG2PATHWAY<-
list
(COG0001
=
c
("patha
","pathb
","pathc