Displaying 20 results from an estimated 2000 matches similar to: "Detailed instructions for building packages"
2002 May 02
3
Building own packages on Windows 2000!
Hi!
I encountered some things trying to build own packages under Windows
2000 for which i found no answer in the documentation.
First.
1. I do not found the rcmd.exe in the bin directory of R_HOME.
I installed R using the setup.exe
2. I updated the R intatllation with one of the zip files. (rw1041sp.zip)
now i had the rcmd.exe in the bin.
3. I do not found any hint in the docu that perl is
2002 Apr 30
1
data.frame package?
Is there a library that is able for example to
1. merge 2 dataframes by row eg.: rbind(dataframe1, dataframe2):data.frame
2. delete a column from a dataframe del(dataframe, colname) or
del(dataframe, colindex= 1):data.frame?
3. Select lines from a dataframe by a specific function ?
select(dataframe, func=small(x){x<1}, colindex=3): data.frame?
4. converting all double columns of a data.frame
2002 Jul 26
5
Is there a function for finding local extrema.
I have a vector with about 100.000 values representing a quite regular
function (sinusoid like).
I would like to find all local maxima of this function (should be about
4000). Is there a native routine for R?
Thanks in advance
Eryk.
--
_|_ \|/ \|/ Eryk Witold Wolski tel :0049-(0)30-8413-1543 w w
?v? 'v? \'v'/ MPI Moleculare Genetik fax :0049-(0)30-8413-1139 |
2002 Jan 30
5
1.4.1 R CMD check broken?
I am not sure if this is already known. I checked BUGS and found some
references to similar behavior when R_HOME is set?
Here is what I get:
(1) Fresh build of 1.4.1 under Linux/RH-7.2. All tests pass.
> R CMD check ctest
* checking for working latex ... OK
* using log directory `/home/andyj/stat/R-1.4.1/library/ctest.Rcheck'
Installing *source* package `ctest'
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 Apr 30
2
./configure --prefix and R_LIBS
Hi!
I am installing R in non standard directory.
./configure --prefix=/non/standard/directory
The installation works fine.
But after starting R i get
.libPaths()
/usr/lib/R/library
but they cant be there of course!
Have I to set some additional switches during config?
Eryk
Dipl. bio-chem. Eryk Witold Wolski @ MPI-Moleculare Genetic
Ihnestrasse 63-73 14195 Berlin 'v'
tel:
2004 Jan 22
4
customising installed libraries
hello
I am returning to some libraries that I had previously customised by amongst
other things adding additional functions. I had simply typed these new
functions into the file in library/R/thelibrary. These however do not seem
to be loaded now as they previously were under older versions of R.
What's changed and what do i need to do?
Thanks
Stephen
2002 Oct 10
2
Environment variables under Windows
Greetings,
I have a question pertaining to the concept of "environment variables"
that is mentioned in the R documentation for "Startup" and also in the
discussion of the Windows configuration of R in the recent book "An
Introduction to R" authored by Venables, Smith, and the R Development Core
Team (referred to as VS in this message).
The Startup documentation and
2002 May 12
2
Is this a bug of pweibull()? (Follow up)
Please allow me to add just a little more about this:
nothing wrong with pweibull(), namely, the two cases I reported:
pweibull(3:10, 2) and pweibull(3:10, 2.1),
in rw1041 and earlier version.
I wonder this might just due to the change from rw1041 to rw1050,
however, I can't find anything relevant (seems to me) in the News
or Readme.
Thanks Sundar for the suggestion of using 1 -
2003 Jul 10
2
XML Package.
Hi!
I have installed the new R on windows.
I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am quite shure that they where a windows binary version.
Has anyone old XML windows binary?
Eryk
Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin 'v'
tel: 0049-30-84131285 / \
mail:
2002 May 15
1
can't get rcmd to work on windows2k....
I'm trying to make sure my R package will install properly (build help
files, etc) and when I try to run the rcmd check (or any rcmd option) I get
the following error. Does dcf.pm stand for perl module? If not, why do I get
this message?
C:\systemfit\r_code>rcmd check --help
Can't locate R/Dcf.pm in @INC (@INC contains: c
\PROGRA~1\r\rw1041\share\perl; /usr/lib/perl5/5.6.1/cygwin-multi
2003 Nov 21
2
method names conflict.
Hi!
I would like to give my objects functions like "subset", "union", et cetera and name it also in this way.
But this functions names are already used in the base package and they are not generic.
I am right in that if they would be generic then i still can use the neat names with my objects?
I have the impression that there are more and more packages are going to be
2002 Mar 06
3
Loading tcltk package fails on WinMe/Cygwin but works with Rgui
I am investigating how well R/tcltk is supported on different system and I
ran into the same problem as Christian Schulz reported on February 7, 2002.
I am using [R] v1.4.1 on WinMe and ActiveTcl 8.3.2. Loading tcltk within
Rgui works just fine and both demo(tkdensity) and demo(tkttest) works as
expected. However, when I start R from my Cygwin terminal dyn.load() fails
to load the library:
% R
2004 Sep 28
5
Bug? using { as a function in lapply
This seems like a bug to me. Can someone verify this?
First we define a function f that returns its second argument and
lapply it to 1:2 using 9 as the second argument and all seems well.
Note that "{" as a function does the same thing as f, as illustrated
with f(1,9) and "{"(1,9); however, when we attempt to use "{" in the
very same way we used f in lapply,
2004 Oct 21
3
error in plot.dendrogram (PR#7300)
Hi,
hres <- hclust(smatr,method="single")
hresd<-as.dendrogram(hres)
as.dendrogram(hres)
`dendrogram' with 2 branches and 380 members total, at height 2514.513
plot(hresd,leaflab="none") #<-error here.
#the plotted dendrogram is incomplete. The x axis is not drawn.
#The interested reader can download the
save(hresd,file="hres.rda")
#from the
2004 May 28
1
Is there a way to represent the ... argument in signature?
Hi!
I guess that it cant work. but maybee I am wrong.
I would like to define a function rbind.
> rbind
function (..., deparse.level = 1)
{
which works only for objects of class Myclass
Is it possible to use something like
setMethod("rbind",signature(...="Myclass",deparse.level="numeric")
This gives an error.
Or should I use
rbind.Myclass
Eryk.
Dipl. bio-chem.
2004 Jul 21
2
2 images with 2 color scales on one graphic device. How to get it?
Hi!
Would like to plot two image plots with color scale (like levelplot (lattice) implements) in one graphic device.
Tried to plot 2 levelplot's (lattice) (the data has not much in common) in one graphics device by setting par(mfrwo=c(2,1)) which does not work.
Is there a way to force levelplot to use only a half of the graphic device?
Is there a function like image which provides the color
2002 Feb 01
1
Rcmd Install gives Bad command or file name (PR#1296)
Dear Team,
Don't understand output below. Please advise. Windows98 and
rw1041(patched) from 1/25/02.
Graham Lawrence
C:\>PATH=C:\bin;C:\mingw32;C:\Perl;C:\HtmlWork;C:\R\rw1041\bin;C:\Tcl;C:\Tcl\bin
C:\>Rcmd INSTALL C:\R\lattice_0.4-0.tar.gz
Bad command or file name
C:\>Rcmd
C:\>Rcmd Install
Bad command or file name
C:\>dir C:\R\rw1041\bin
Volume in drive C has no
2004 Sep 06
4
substitution in expression
I have been struggling with this problem for a while and I hope someone
could help me. Or if someone could point me to a section in the manual I
would be grateful.
x <- "my"
plot(1:10, main=expression(paste( x, Delta, "values" )))
Q : How do I get the title to say "my (triangle symbol) values" ?
The following trial-and-error produced mainly errors :
2004 Sep 23
1
browser() is called incidentally (?) somewhere from inside methods::as
Hi,
Executing the following code causes the prompt to enter browser() mode.
>dd<-as(Npatrick1,"list")
Called from: as(Npatrick1, "list")
Browse[1]>
R : Copyright 2004, The R Foundation for Statistical Computing
Version 2.0.0 beta (2004-09-20), ISBN 3-900051-07-0
Some addtitional info about Npatrick1
> is(Npatrick1)
[1] "Massvectorlist"