similar to: On creating an R package..

Displaying 20 results from an estimated 1000 matches similar to: "On creating an R package.."

2001 Mar 27
2
How do I change the editor in R command window?
Dear R-help, I have started using R on my Linux box (Debian), and I have some problems with setting the editor/keyboard for R. The For instance, arrow-up gives "^[[A", and delete gives "^H". I have a Norwegian keyboard, but that doesn't cause any problems for editors like emacs. Could you advice me on how I can set the editor for R right? I have tried
2002 Apr 17
0
using the netCDF.zip package in Windows (XP).
Dear R-help, I have a question relating to the netCDF package for R in the Windows environment. I have used this package in the Linux version with no problem, and the Windows version of R installed the package without problems. But there are problems when I try to read a netCDF file: Error in .C("open_netcdf", filename, id=as.integer(verbose)): C/Fortran function name not in load
2002 Dec 16
1
unknown decorana error returned (vegan package)
Hi After trying a simple decorana analysis (from the vegan package) on a simple data frame which contains no NA's the following error was returned: > tt_decorana(covN) Error in decorana(covN) : NA/NaN/Inf in foreign function call (arg 1) Have any vegan users come across this error and know what can be done about it? Cheers, J
2002 Jun 17
2
Random Beta variates
I have been trying to use the rbeta() function to generate random beta variates with a particular mean and standard deviaiton for some simulation problems I am working on, however I am unsure of the relationship between the parameters shape1 and shape2 and the mean and standard deviation of the beta distribution. I am guessing that there is a formula for this, but I am unsure what it is. Can
2002 Dec 12
3
y axis on hist
Hi: The y axis on the hist function seems to set its limits oddly. sometimes, it covers the full range of the data and sometimes it stops one major tick short. I have had this behavior with a variety of data sets, and it can easily be reproduced by just running the following several times: hist(rnorm(100000)) I have tried explicitly setting ylim to the range of values produced by rnorm
2003 Jan 30
2
nearest neighbour interpolation
Dear Help List, My name is Matt Oliver. I have been using R for about a year and find it very helpful. However, I have a need for a function that I cannot find. I am not very good at programming so I thought I would ask the group. I have an irregular grid of data (x = Longitude, y = Latitude). Each pair of my x,y has a categorical value. Obviously linear or any other numerically based
2003 Feb 04
3
basic question
Dear R users, Up to now, I only used precompiled packages. As I am working on vegetation ecology, I would be interested in using a package not stored by CRAN called labdsv_0.9-1.tar.gz and developped by Dave Roberts at the National Center for Ecological Analysis and Synthesis (unfortunately I did not find any corresponding .zip file). Although I tried to follow the proposed guidelines to
2002 Oct 30
4
Sweave in packages
Dear R folks, One of the fantastic new tools in R is `Sweave'. I have tested it so much that I know it works and produces fine documentation, and with (GNU) Emacs/ESS it is nice to work with, too. I started to have a look at including some Swoven (is that a strong verb?) documentation with my R package, but it seems that there is no model to copy among those packages that I have installed in
2002 May 13
5
installing labDSV library
I am trying to install labDSV from http://labdsv.nr.usu.edu/ into R-Windows 1.5.0. It only comes as a TAR file which extracts into folders that seem to match those for other libraries DATA, MAN, R and SRC. I have manually copied these folders into a folder called labDSV under the Library directory under R. However when I load the library I get a message that the library contains no R code.
2000 Dec 22
2
REading the netCDF format into R
Hi! I have been coding a C-program which will read data from the netCDF format (a commonly used file format in the geophysical research community: see Unidata's URL for explanation: http://www.unidata.ucar.edu/packages/netcdf/), and have got to the point where I don't know what the error message mean. The C-program is called nc2r.c. When compiling the code, I get a number of warnings,
2004 Sep 08
8
isoMDS
Dear List: I have a question regarding an MDS procedure that I am accustomed to using. I have searched around the archives a bit and the help doc and still need a little assistance. The package isoMDS is what I need to perform the non-metric scaling, but I am working with similarity matrices, not dissimilarities. The question may end up being resolved simply. Here is a bit of substantive
2001 Mar 05
1
Canberra dist and double zeros
Canberra distance is defined in function `dist' (standard library `mva') as sum(|x_i - y_i| / |x_i + y_i|) Obviously this is undefined for cases where both x_i and y_i are zeros. Since double zeros are common in many data sets, this is a nuisance. In our field (from which the distance is coming), it is customary to remove double zeros: contribution to distance is zero when both x_i
2001 Mar 05
1
Canberra dist and double zeros
Canberra distance is defined in function `dist' (standard library `mva') as sum(|x_i - y_i| / |x_i + y_i|) Obviously this is undefined for cases where both x_i and y_i are zeros. Since double zeros are common in many data sets, this is a nuisance. In our field (from which the distance is coming), it is customary to remove double zeros: contribution to distance is zero when both x_i
2002 Oct 07
3
RE: new packages: geepack and KMsurv
I downloaded geepack from your site and installed it from the zip file. However, although it appears under my library directory, I could not load into R. Regards John Sendak platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 6.0 year 2002 month 10
2001 May 16
5
the R package - relation to R project?
I stumbled across this link and was wondering if this has any relation to the R project. http://www.fas.umontreal.ca/BIOL/Casgrain/en/labo/R/index.html -jennifer ----------------------------------- J. Steinbachs, Ph.D. Computational Biologist http://compbiology.org ----------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing
2005 Sep 19
4
indicator value in labdsv
Hi, I'm trying to find out what threshold of indicator value in labadsv should be used to accept a specie as an indicator one? So far I assumed that indval=0.5 is high enough to avoid any mistakes but it was based only in my intuition. I'd be greatful for any advise best regards Agnieszka
2001 Jan 20
11
RPM of R-1.2.1 for RH 7?
There does not seem to be a RPM for Red Hat 7 of version 1.2.1. What should I do? I have a new computer with RH7. I''m willing to try to make one from the SRPM, but I''ve never done that before, and I don''t want to go to the trouble if someone else is already planning to do it soon. Likewise, I could install it from the tgz file. (I just did that on a Solaris server,
2001 Jan 20
11
RPM of R-1.2.1 for RH 7?
There does not seem to be a RPM for Red Hat 7 of version 1.2.1. What should I do? I have a new computer with RH7. I''m willing to try to make one from the SRPM, but I''ve never done that before, and I don''t want to go to the trouble if someone else is already planning to do it soon. Likewise, I could install it from the tgz file. (I just did that on a Solaris server,
2001 Mar 07
4
R.xpm?
I use AfterStep on Linux. I made an R.xpm file (attached) and put this icon in the "wharf". To invoke R I click on the R icon. I did not find an offical R.xpm, and so I am submitting this one for your collective consideration.... The idea behind the icon is that it looks like a scatterplot, which is "statistical". My main beefs with my R.xpm are that it doesn't have a
2006 Jun 15
3
MDS with missing data?
Hello I will be applying MDS (actually Isomap) to make a psychological "concept map" of the similarities between N concepts. I would like to scale to a large number of concepts, however, the resulting N*(N-1) pairwise similarities is prohibitive for a user survey. I'm thinking of giving people random subsets of the pairwise similarities. Does anyone have recommendations for this