similar to: data encapsulation with classes

Displaying 20 results from an estimated 10000 matches similar to: "data encapsulation with classes"

2005 Jun 13
1
ppinit
Probably a simple question, but I can't find the answer to it ... In the 'ppinit' code it describes how it takes a 'file in standard format' and creates a point process object with it. Can anyone enlighten me as to what this 'standard format' is? The example given doesn't allow me to view the '.dat' file that apparently is in this format. Thanks, Suzie
2010 Aug 05
1
using grib files in R
I am not new to R, but I am new to .grib files. I am downloading some climate data and I would like to analyze it in R. R has a nice netcdf package, but I don?t see any package available to deal specifically with grib files. I see a few posts from other people using grib files in R. However, I was unclear if they used grib files in a different software program and then imported the data
2005 Oct 21
2
Finding the neighbors of the point
Dear all, I got point data of trees. I was wondering if anybody has experience in searching the neighbors within a specified distance efficiently. X Y Z 99 34 65 98 35 29 98 34 28 99 33 33 98 32 23 99 33 21 99 33 22 99 32 24 99 30 23 ... What I want to do is : searching for the neighbors with a distance R for each tree & the neighbor must have a bigger Z.
2006 Aug 20
3
plot problem
Hello. I'm pretty much new to R and I'm trying to produce some figures. It seems to me, that R has some asynchronous way of plotting figures. When I run this code: #constructs the semivariogram of SC1929 vgm1 <- variogram(SC1929~1,~U+V,puerto.map$att.data) # trying to make new plot dev.set(which=dev.next()) plot(vgm1) title(main="Semivariogram",font.main=4)
2018 Nov 10
2
Fedora 29 upgrade: texlive-scheme-medium may depend on R (texlive-includernw)
On Sat, 10 Nov 2018, I?aki Ucar wrote: > On Sat, 10 Nov 2018 at 15:17, Roger Bivand <Roger.Bivand at nhh.no> wrote: >> >> On upgrading my F28 to F29, I've found that R-core and a number of R >> packages: >> >> R-evaluate R-glue R-highr R-knitr R-magrittr R-markdown R-mime R-stringi >> R-stringr R-yaml >> >> are installed, although I
2006 Jan 20
1
Problem loading package with version, S4 classes and NAMESPACE
I've run into a problem that I hope has an obvious solution. The sp package uses S4 classes and has a NAMESPACE, and when installed without package versions, runs OK, passes R CMD check, and so on. A user reported that he installed it --with-package-versions, and that from then on it would fail at first use of a class defined in the package. I've reconstructed the problem in a
2009 Jan 04
1
R/octave/matlab etc.
I'd echo a lot of what has been said about this by the folk who have been making R work so well. One of the main difficulties is that the environment of computations affects relative performance. e.g., what settings did a distro package builder choose. I note that my 3 GHz Dual Core machine running Ubuntu 8.04 gets octave 3.0.0 octave:6> tic; a = a + 1; toc Elapsed time is 0.120027
2018 Nov 10
2
Fedora 29 upgrade: texlive-scheme-medium may depend on R
On upgrading my F28 to F29, I've found that R-core and a number of R packages: R-evaluate R-glue R-highr R-knitr R-magrittr R-markdown R-mime R-stringi R-stringr R-yaml are installed, although I only ever install R from source and always keep my Rs locally. So I don't use Fedora R rpms, but these were installed without my command. Something in texlive is doing this. A remedy is to
2010 Dec 19
2
R.matlab memory use
Hi, I am trying to load into R a MATLAB format file (actually, as saved by octave). The file is about 300kB but R complains with a memory allocation error: > library(Rcompression) > library(R.matlab) Loading required package: R.oo Loading required package: R.methodsS3 R.methodsS3 v1.2.0 (2010-03-13) successfully loaded. See ?R.methodsS3 for help. R.oo v1.7.2 (2010-04-13) successfully
2006 Oct 07
3
merge and polylist
Greetings: I would like to kindly ask for a little help. The rough code is: #________________________________________________________ dat=data.frame(read.delim(file="all.txt", header = TRUE, sep = "\t", quote="\"", dec=".",na.strings = "NA")) nc=read.shape("astae.shp", dbf.data=TRUE, verbose=TRUE) mappolys=Map2poly(nc) submap
2006 Feb 20
2
help on dyn.load()
Hi, I used .C to call the C functions inside R. Everything works fine on the linux sever. I installed cygwin on my windows xp x64 platform and used rcmd shlib xxx.c to compile. Everything works fine till now and xxx.dll is generated. But when I use dyn.load("xxx.dll") in R, it will open another R window and the original R window becomes "Not responding", nothing loaded in
2015 Jan 16
2
[R-sig-Geo] Error installing 'rgdal' on Centos 7
Hello Roger: Thank you for your email. Some details for the problem. This is the message of the console in R: ------------------ install.packages("rgdal") Installing package into ?/home/aliendist/R/x86_64-redhat-linux-gnu-library/3.1? (as ?lib? is unspecified) probando la URL 'http://cran.rstudio.com/src/contrib/rgdal_0.9-1.tar.gz' Content type 'application/x-gzip'
2004 Apr 25
7
R vs Matlab: which is more "programmer friendly"?
Hi, The department of economics at our university (Budapest) is planning a course on numerical methods in economics. They are trying to decide which software to use for that, and I would like to advocate R. The other alternative is Matlab. I have found comparisons in terms of computational time for matrix algebra, but I don't think that is relevant: the bottleneck for economists is usually
2008 Aug 01
1
bug in readRAST6 function in package spgrass6
Hi if I try to import a raster layer which consists only of NULL values from grass by using the readRAST6, I get an error message: > readRAST6("HSericea_seedsDisperse_2007") ERROR: Invalid value for null (integers only) Error in readBinGrid(rtmpfl11, colname = vname[i], proj4string = p4, integer = to_int) : no such file:
2011 May 31
0
[LLVMdev] multiple function return values in LLVM
Hi Yabin, Octave uses an octave_value_list object to return multiple values so I don't think it has anything to do with the compiler. A sample function that can be dynamically linked with Octave and called from octave interpreter: #include <octave/oct.h> DEFUN_DLD (divmult, args, nargout, "") { octave_value_list retval; // do some computation to compute r0 and r1
2008 Jan 14
2
knnFinder package
Dear all, I have found some serious bugs in the knnFinder package (which supports data structures and algorithms for both exact and approximate nearest neighbor searching in arbitrarily high dimensions) that may trigger segmentation faults. I have fixed them but I had troubles to contact its maintainer Samuel E. Kemp (previously with the University of Glamorgan, UK). Do someone know where I
2006 Feb 11
4
Need frequency distribution for x,y coordinates
Hi, I have a set of data in x,y coordinates across the range of -5 to 5 in each dimension. I would like to obtain the frequency distribution of the different points, and then graph them so you can see which of the points are the most frequently occurring. This would seem to be easy in Matlab, which has the hist3 command for doing frequency distributions/histograms in 3 dimensions. However,
2009 Dec 01
1
eigenvalues of complex matrices
Dear all, I want to compute the eigenvalues of a complex matrix for some statistics. Comparing it to its matlab/octave sibling, I don't get the same eigenvalues in R computing it from the exact same matrix. In R, I used eigen() and arpack() that give different eigenvalues. In matlab/octave I used eig() and eigs() that give out the same eigenvalues but different to the R ones. For real
2019 May 05
1
Porting R example datasets to GNU Octave
Hi, R Developers, I'm interested in porting the R example datasets package to GNU Octave and Matlab. Would you have objections to my doing so? This would involve transforming the example data and metadata into a format that Octave understands, and porting all of the datasets' Example code pieces to Octave M-code. (This would require no work on your part; it'd be my project.) I think
2012 Sep 18
2
problem with vignettes when S4 classes in packages overlap
( A similar problem is also reported by Sebastian P. Luque with library(maptools) library(trip) in the vignette as below ). I am writing a vignette which loads RMySQL and RPostgreSQL. This produces the warning: Loading required package: DBI Warning in .simpleDuplicateClass(def, prev) : A specification for class ?dbObjectId? in package ?RPostgreSQL? seems equivalent to one from package