Displaying 20 results from an estimated 2000 matches similar to: "sas.get under Linux"
2009 Dec 07
0
install.packages error
Dear listeRs,
I am trying to install a package from the command line, using
install.packages(). Specifying all the parameters, I simply get this error:
> r <- getOption("repos")
> install.packages("rJava", dependencies=T, repos=r, lib="/home/adi/myRlib")
Error: subscript out of bounds
Additional info about my system (Kubuntu 9.10):
> sessionInfo()
2012 Apr 05
2
"NA" vs. NA
Dear All,
I assume this is an R-devel issue, apologies if I missed something
obvious. I have a dataframe where the row names are country codes,
based on ISO 3166, something like this:
------------
"v1" "v2"
"UK" 1 2
"NA" 2 3
------------
It happens that "NA" is the country code for "Namibia", and that
creates problems on
2012 Jun 19
1
R and C pointers
Dear R devel,
Apologies for these (most probably trivial) questions, doing my first
attempt to call C from R (and actually learning C in the process).
I need to pass a matrix to C, and after reading R-exts.pdf (many
times), I was unable to find how to handle matrices at C-level...
except for, what probably is the answer, that matrices are in fact
vectors with dimensions.
This is a sample code I
2005 Sep 03
1
producing SVG files
I am trying to use the RSvgDevice package to produce some SVG graphs which I
want to edit with Inkscape 0.42.
Under Linux (Kubuntu 5.04) I use the following:
library(RSvgDevice)
plot(1:10, 1:10)
devSVG(file = "/home/adi/Rplots.svg", width = 10, height = 8,
bg = "white", fg = "black", onefile=TRUE, xmlHeader=TRUE)
but when I tried to load the file into Inkscape it
2014 Jun 16
1
index.search
Dear r-devel,
I am trying to automatically check if two successive versions of a
package have the same results (i.e. code not broken), by parsing the
example sections for each function against a previously tested
version.
While trying to replicate the code from example(), I am facing an
error related with te "index.search" function (line 7 in the example()
code).
This is the code I am
2012 Jun 21
2
debug R objects at C level
Dear R-devel,
I am now at a debugging phase, and would like to inspect the
(individual) values in an arbitrary R vector. It should be simple, but
after hours of reading I am simply unable to find the right
information.
A possible C code is:
?????????????????
# include <R.h>
# include <Rinternals.h>
# include <R_ext/Rdynload.h>
SEXP foo(SEXP x) // where x is a vector passed by
2012 Jul 31
0
QCA version 1.0-4 released
Dear All,
QCA package version 1.0-4 has been released today, the sources are now
visible on CRAN and the binaries for Windows and MacOS should appear
in a couple of more days.
We highly recommend upgrading to this version. Apart from a number of
small bug fixes, the most notable reason to upgrade is a dramatic
increase in speed, due to the compilation of some computationally
intensive parts of
2012 Jul 31
0
QCA version 1.0-4 released
Dear All,
QCA package version 1.0-4 has been released today, the sources are now
visible on CRAN and the binaries for Windows and MacOS should appear
in a couple of more days.
We highly recommend upgrading to this version. Apart from a number of
small bug fixes, the most notable reason to upgrade is a dramatic
increase in speed, due to the compilation of some computationally
intensive parts of
2013 Nov 26
1
dynamic lists at C level
Dear R-devel,
I am trying to do something similar to dynamic length lists in R, but
at C level.
In R, that would be rather trivial:
- determine the length of the list
- create the list object
- store the values for each component
- access value components by using "[["
At C level, for a single component where I need to store a vector of
length 5, I do:
int *p_result;
SEXP my_list =
2014 May 14
1
large integer values
Dear devels,
I need to create a (short) vector in C, which contains potentially very
large numbers, exponentially to the powers of 2.
This is my test example:
lgth = 35;
int power[lgth];
power[lgth - 1] = 1;
for (j = 1; j < lgth; j++) {
power[lgth - j - 1] = 2*power[lgth - j];
}
Everything works ok until it reaches the limit of 2^32:
power: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024,
2014 May 16
1
SEXPTYPEs
Dear list,
On a follow up from my previous email, I am now trying to allocate vectors
of length larger than 32-bit in C.
>From the R internals documentation, I read that:
"The sxpinfo header is defined as a 32-bit C structure..."
and
"A SEXPREC is a C structure containing the 32-bit header..."
The question is: does the INTSXP allow vectors larger than 32-bit?
A test
2009 Sep 20
0
New version of QCA
Hi,
A new version of the QCA package (0.6-0) was submitted to CRAN.
This is a major improvement, now working with multi-valued data (previous
versions accepted binary data only).
The "classical" function qmcc() still accepts only binary data, but the
enhanced function eqmcc() is now ready for mvQCA.
The QCA package performs the Quine-McCluskey algorithm for Qualitative
Comparative
2012 Apr 08
0
new version of QCA
Dear All,
I have just uploaded a new version of the QCA (Qualitative Comparative
Analysis) on CRAN, and it will be propagated in a couple of days.
This is version 1.0-0 ("Easter edition") of the package, straight from
the previous version 0.6-5, and it represent a major re-write of the
package in order to accomodate fuzzy-sets. I am pleased to welcome
Alrik Thiem as a co-author of this
2012 Apr 08
0
new version of QCA
Dear All,
I have just uploaded a new version of the QCA (Qualitative Comparative
Analysis) on CRAN, and it will be propagated in a couple of days.
This is version 1.0-0 ("Easter edition") of the package, straight from
the previous version 0.6-5, and it represent a major re-write of the
package in order to accomodate fuzzy-sets. I am pleased to welcome
Alrik Thiem as a co-author of this
2012 Apr 23
0
new version of QCAGUI
Dear All,
I have just submitted a new version of the QCAGUI package on CRAN, it
should be propagated in a couple of days.
This version is nothing but a quick update to the latest Rcmdr base
package, and works (as usual) with the QCA package up to version 0.6-5
For the later versions of the QCA package, I will start adapting the
GUI in the shortest time possible.
Best wishes,
Adrian
--
Adrian
2009 Sep 20
0
New version of QCA
Hi,
A new version of the QCA package (0.6-0) was submitted to CRAN.
This is a major improvement, now working with multi-valued data (previous
versions accepted binary data only).
The "classical" function qmcc() still accepts only binary data, but the
enhanced function eqmcc() is now ready for mvQCA.
The QCA package performs the Quine-McCluskey algorithm for Qualitative
Comparative
2005 Feb 06
1
further issues with install.packages
Hi again,
I run R under SuSE 9.2 Professional (installed via rpm) and I am trying to
install some packages from CRAN. The trouble is, after successful
installations, my destdir directory is deleted...!
My command:
install.packages("Rcmdr", "/usr/lib/R/library",
CRAN="http://cran.r-project.org", destdir="/home/adi/Kituri/R.packages",
dependencies=TRUE)
2006 Jan 30
2
yet another vectorization question
Dear R-helpers,
I'm trying to develop a function which specifies all possible expressions that
can be formed using a certain number of variables. For example, with three
variables A, B and C we can have
- presence/absence of A; B and C
- presence/absence of combinations of two of them
- presence/absence of all three
A B C
1 0
2 1
3 0
4 1
5 0
6 1
2012 Jul 27
1
C code validation
Dear R-devel,
I'm trying to validate the results from a C function, against a (trial
and tested) older R function. For reasons unknown to me, the C
function seems to give different result sometimes at each trial, even
with the very same data.
These are the relevant outputs from R:
> library(QCA)
Loading required package: lpSolve
> benchmark <- function(x, y) {
+ index <- 0
2012 Jun 27
2
a problem of approach
Dear R-help list,
Part of a program I wrote seem to take a significant amount of time,
therefore I am looking for an alternative approach.
In order to explain what is does:
- the input is a sorted vector of integer numbers
- some higher numbers may be derived (using a mathematical formula)
from lower numbers, therefore they should be eliminated
- at the end, the vector should contain only