On Wed, 21 Jun 2006, Kasper Daniel Hansen wrote:
> While I do not know how to handle this on the C level, I know that
> you do not have characters in data frames, everything is factors
> instead.
Not so. The default in data.frame() is to convert character vector to
factors, but there are many w
While I do not know how to handle this on the C level, I know that
you do not have characters in data frames, everything is factors
instead. Internally they are coded as a number of integer levels,
with the levels having labels (which is the character you see). So eg
(in R):
> test <- dat
Hello,
I'm trying to fetch a data frame through the C API,
and have no problem doing this when all columns
are numbers, but when there is a column of
strings I have a problem. On the C-side the
function looks like:
SEXP myfunc(SEXP df),
and it is called with a dataframe from
the R side with:
.Cal
R-Devel,
all.equal.factor gives a warning message when comparing vectors of
factors of different lengths. I suspect this to be unintentional as I
believe tests of valid factors should be comparable without a warning.
For example:
> x1 <- as.factor(LETTERS)
> x2 <- as.factor(LETTERS)[1:10]
> all.eq
On Wed, 21 Jun 2006, Martin Maechler wrote:
> Does anyone see a nice portable way to detect --- from inside R ---
> if R is using its own BLAS or not?
> { And ideally, if not, can R find out which ``kind'' of
> (optimized) BLAS it does run? }
>
> And the same for LAPACK ?
>
> One way of getting a
Does anyone see a nice portable way to detect --- from inside R ---
if R is using its own BLAS or not?
{ And ideally, if not, can R find out which ``kind'' of
(optimized) BLAS it does run? }
And the same for LAPACK ?
One way of getting a partial answer seems to be
Rs_own_LAPACK_and_BLAS <-
On Wed, 21 Jun 2006, [EMAIL PROTECTED] wrote:
> Thanks for the info.
>
> It's interesting that R can load the library using a network share naming
> convention but that the library path has the "\" replaced with "/". I guess
> it's too much to ask for R not to muck with the file name provided (fo
Thanks for the info.
It's interesting that R can load the library using a network share naming
convention but that the library path has the "\" replaced with "/". I guess
it's too much to ask for R not to muck with the file name provided (for a
variety of reasons). My package works fine except
For the record: The error below has been resolved. As Professor Ripley
said, it was a compiler problem. Upgrading to a more recent gcc rpm
(gcc-3.4.5-2) and its dependencies made the errors go away.
Thanks,
Dan
On 6/14/06, Dan Lipsitt <[EMAIL PROTECTED]> wrote:
> I am unable to install the gmp pa
>This is a multi-part message in MIME format.
Unrecognized request THIS
Report any problems to '[EMAIL PROTECTED]'.
For a list of the available requests send a message to [EMAIL PROTECTED]
with a body consisting of nothing but the word HELP
PS: Any subsequent requests that you might have submitt
This is not supported: network shares are a Windows 'feature' and not part
of R's conception of file paths. The specific issue here is dirname(),
but it is widespread.
You can always map shares to network drives, and that is common practice
everywhere I have been which has extensive Windows ne
Full_Name: Diego Diez
Version: 2.3.1
OS: Mac OSX 10.4.6
Submission from: (NULL) (133.103.101.222)
When running R in a X11 terminal, and trying to download a file with a wrong url
with method "internal", R segfaults. This does not happen when using R.app with
same method (??) or using "wget" metho
12 matches
Mail list logo