Displaying 15 results from an estimated 15 matches similar to: "Adding RcppFrame to RcppResultSet causes segmentation fault"
2008 Dec 03
0
Rcpp package relaunched
New Rcpp versions 0.6.0 and 0.6.1
---------------------------------
The Rcpp package provides C++ classes that greatly facilitate interfacing C
or C++ code in R packages using the .Call() interface provided by R.
Rcpp provides matching C++ classes for a large number of basic R data
types. Hence, a package author can keep his data in normal R data structure
without having to worry about
2008 Dec 03
0
Rcpp package relaunched
New Rcpp versions 0.6.0 and 0.6.1
---------------------------------
The Rcpp package provides C++ classes that greatly facilitate interfacing C
or C++ code in R packages using the .Call() interface provided by R.
Rcpp provides matching C++ classes for a large number of basic R data
types. Hence, a package author can keep his data in normal R data structure
without having to worry about
2011 Aug 25
2
within-groups variance and between-groups variance
Hello,
I have been looking for functions for calculating the within-groups
variance and between-groups variance, for the case where you have
several numerical variables describing samples from a number of groups.
I didn't find such functions in R, so wrote my own versions myself (see
below). I can calculate the within- and between-groups variance for the
Sepal.length variable (iris[1]) in
2002 Dec 09
0
Mailman 'held' messages (was SPAM on List...)
On Mon, 9 Dec 2002, Martin Pool <mbp@samba.org> wrote:
>
>Mailman holds some suspicious messages for filtering by the admin.
>However, for samba.org, this means about 80 messages per week, which
>have to be handled through a clunky web interface, and which take time
>away from more useful tasks. This is not acceptable.
Pah! :) Try 100+ messages per day, with 200+ at the
2012 Mar 20
1
overriding "summary.default" or "summary.data.frame". How?
I suppose everybody who makes a package for the first time thinks "I
can change anything!" and then runs into this same question. Has
anybody written out information on how a package can override
functions in R base in the R 2.14 (mandatory NAMESPACE era)?
Suppose I want to alphabetize variables in a summary.data.frame, or
return the standard deviation with the mean in summary output.
2010 Dec 03
1
Error using Rcpp under windows xp
Hi,
I am a newbie to Rcpp packages, and got problems in having basic set-ups for
Rcpp under windows xp. Here is the list I have done.
1) installed Rtools and have no problem in compiling .c file.
2) installed Rcpp packages
3) set enviroment variables 'path' to make C:\Program
Files\R\R-2.12.0\library\Rcpp\include\ searchable
The sample C++ code I used is from the original website:
2006 Feb 22
0
Need help getting value from text_field_with_autocomplete
Good day.
I have setup of a text field with auto complete and I need to grab the value
from that text field and pass it into a method to update a row in a table.
Here is the view:
<tr>
<td align="center" colspan="6"><%= text_field_with_auto_complete(
:product, :product_code ) %></td>
</tr>
<tr>
<td
2010 Mar 14
1
Improve lattice XYPLOT graphic
Hi,
How I could improve this graphic?
http://www.divshare.com/download/10754700-f81
I would like to write groups labels in each panel and override the
labels from object.
I am try this code:
xyplot(percentagem.mortos~tempo|trat, data=bio.ens, type="a",
? ? ? auto.key=list(points=FALSE, lines=TRUE, columns=3),
? ? ? ylim=c(0,100),scales = list(x = list(at = c(48, 72, 96), labels
? ?
2010 Mar 25
1
Error using Rcpp
Hi, Im not sure if this is the right place to post this. I am using Xubuntu
Karmic Koala and am trying to use the Rcpp package. I am testing it using a
simple code that takes in a vector and adds 1 to each element:
#include <Rcpp.h>
// This file takes in a vector and adds one to each entry
RcppExport SEXP addone(SEXP vec){
// create a local copy of vec
Rcpp::NumericVector
2010 Jul 13
2
Checking for duplicate rows in data frame efficiently
I wrote something to check for duplicate rows in a data frame, but it is too inefficient. Is there a way to do this without the nested loops?
This code correctly indicates rows 1-7, 1-8, 2-9 and 7-8 are duplicates.
> m <- matrix(c(1,1,1,1,1, 2,2,2,2,2, 6,6,6,6,6, 3,3,3,3,3, 4,4,4,4,4, 5,5,5,5,5, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2, 7,7,7,7,7), ncol=5, byrow=TRUE)
> df <- data.frame(m)
2004 Nov 22
0
IFELSE across a 3D array?
Dear all,
We are trying to clean multiple realizations of a pattern. Erroneous NODATA
and spurious DATA occur in the realizations. As we have to do a 1000
realizations for many patterns, efficiency of the code is important.
We need to correct the realizations with a 'mask' pattern of DATA/NODATA.
We think an ifelse should do the job. Spurious DATA will be simply removed
using the
2008 Nov 25
1
Problem running R from within a script
Howdy Folks,
I am running R version 2.7.2 (2008-08-25) on CentOS 5.2 - the standard RPM
distribution.
I am having a curious occurance trying to run a R script from within a
shell script. Basically, I have a small R script that processes a file.
It takes two parameters - the input file, and the output file. I then
have a shell script that runs the R script for each file matching a glob.
R
2017 Aug 10
2
Problem with the fdim package
Hi,
I?m new to R but I?m interested in using the fdim package to find the fractal dimension of a dataset. I downloaded the the package from https://cran.r-project.org/src/contrib/Archive/fdim/ and successfully installed it together with xgobi.
However, when I try to run the first example, after df <- fdim(mydata,q=0,Alpha=0.3) I get the following error:
Error in .C("pointdif",
2017 Aug 11
0
Problem with the fdim package
Hm, I am not an expert in this field but trying to use obviously old package which was removed about 5 years ago from CRAN is asking for problems. There is probably some incompatibility between recent R version and obsolete package.
You either
1. need to install/compile R version from 2012 and install/compile this old package for this version.
2. Or you could try to find some similar
2004 Jun 17
2
nlme graphics in a loop problem
Hi, I'm fitting mixed effects models using the lme function of the nlme
package. This involves using the various associated plot functions.
However, when I attempt to fit a number of models using an loop, whilst
the models work, the plot functions fail. As a trivial example, the
following works:
library(nlme)
graphics.off()
x<-c(1:10)
y<-c(1:4,7:12)