similar to: Bug in rank with utf8?

Displaying 20 results from an estimated 1000 matches similar to: "Bug in rank with utf8?"

2015 Aug 13
2
Bug in rank with utf8?
Yes, collation is a strange thing, and? Collation order will depend on locale settings, and there are quite a few cases where the collation order of two items is not defined. To add to the confusion, on OSX Mavericks, I see > x <- "\u0663" > y <- 3 > > x == y [1] FALSE > rank(c(x, y)) [1] 2 1 > x [1] "?" > x == y [1] FALSE > x > y [1] TRUE
2015 Mar 19
3
CRAN binary, but no source
Hi All, this is a CRAN question, so I am sorry if this is not the appropriate forum. I noticed that there is at least one CRAN package that has a binary (OSX Mavericks) for a version, that does not have any source package on CRAN. Or at least I am unable to locate it. The package is Rglpk: http://cran.r-project.org/web/packages/Rglpk/index.html It offers a binary for 0.5-2, but there is no
2015 Mar 25
4
F77_CALL/NAME problem
Dear R-devel, I am trying to use Fortran DGESV subroutine into C. Here it is the relevant part of the C file I am currently writing #include<stdio.h> #include<R.h> #include<Rmath.h> #include<math.h> void F77_NAME(DGESV)( int*, int*, double*, int*, int*, double*, int*, int*); void solve( int *p, double *A, double *Ainv) { ... F77_CALL(DGESV)(p, p, Ain, p, ipiv,
2015 Mar 19
2
CRAN binary, but no source
On Thu, Mar 19, 2015 at 10:54 AM, John McKown <john.archie.mckown at gmail.com> wrote: > On Thu, Mar 19, 2015 at 10:46 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote: >> Hi All, >> >> this is a CRAN question, so I am sorry if this is not the appropriate forum. >> >> I noticed that there is at least one CRAN package that has a binary (OSX >>
2017 Jul 18
4
Creating/Reading a complex string in R
Thanks for your pointer. Is there any way in R how to replace " ' " with " /' " programmatically? My actual string is quite lengthy, so changing it manually may not be possible. I am aware of gsub() function, however not sure I can apply it directly on my original string. Regards, On Tue, Jul 18, 2017 at 10:27 PM, John McKown <john.archie.mckown at gmail.com>
2017 Jul 18
3
Creating/Reading a complex string in R
Hi again, Let say I have below string (arbitrary) <html> <head> <script type="text/javascript" <script type="text/javascript"> mystatement('current', {'pac':['']}); mystatement; I want to pass above string to some R variable for further analysis. So I have tried below : String = '<html>
2014 Jul 01
1
combining data from multiple read.delim() invocations.
Is there a better way to do the following? I have data in a number of tab delimited files. I am using read.delim() to read them, in a loop. I am invoking my code on Linux Fedora 20, from the BASH command line, using Rscript. The code I'm using looks like: arguments <- commandArgs(trailingOnly=TRUE); # initialize the capped_data data.frame capped_data <- data.frame(lpar="NULL",
2017 Jul 18
0
Creating/Reading a complex string in R
Try: String = '<html> <head> <script type="text/javascript" <script type="text/javascript"> mystatement(\'current\', {\'pac\':[\'\']}); mystatement;' To embed a single ' mark in a string delimited by ' marks, you must "escape" them by prefixing them with a back-slash \. R version
2017 Jul 19
0
Creating/Reading a complex string in R
It was suggested to quote your string with *backticks* (` ... `) rather than single quotes. String <- `<html> <head> ... ` On 7/18/2017 1:05 PM, Christofer Bogaso wrote: > Thanks for your pointer. > > Is there any way in R how to replace " ' " with " /' " programmatically? > > My actual string is quite lengthy, so changing
2015 Mar 19
0
CRAN binary, but no source
On Thu, Mar 19, 2015 at 10:46 AM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote: > Hi All, > > this is a CRAN question, so I am sorry if this is not the appropriate forum. > > I noticed that there is at least one CRAN package that has a binary (OSX > Mavericks) for a version, that does not have any source package on CRAN. Or > at least I am unable to locate it. The
2015 Aug 14
0
Bug in rank with utf8?
On 13/08/2015 15:19, peter dalgaard wrote: > Yes, collation is a strange thing, and? And remember that on some platforms (including yours) ICU is used, so LC_COLLATE is not particularly relevant (unless it is 'C'). See ?Comparisons and ?icuGetCollate. E.g. on my Yosemite system in en_US.UTF-8 > rank(c(x, y)) [1] 1.5 1.5 > icuGetCollate() [1] "root" >
2014 Aug 05
1
More than one package document with the same name
Hi, I sent this to the Bioconductor mailing list (q.v.), replies recommended this forum. Here it is: A suggestion. Typically a package provides documentation of two types, one or more vignettes and a reference manual; and they have the same file name, PackageName.pdf. When downloaded some file name manipulation is required, or accept PackageName(1).pdf. I suggest the documents be given
2016 Apr 29
1
How to access the latitude & longitude for UK post codes in R
Hi All, I have a data frame with three columns i.e., pc, lat, lon. The pc column is populated with list of postcodes, and I want to execute R command that can get me the lat and lon for the every item in the pc column and populate the respective lat and lon columns. Is there any package that could be used? Any help will be really appreciated. Many Thanks and Kind Regards -- Muhammad
2016 Sep 09
3
Different results for tan(pi/2) and tanpi(1/2)
As the subject line says, we get different results for tan(pi/2) and tanpi(1/2), though this should not be the case: > tan(pi/2) [1] 1.633124e+16 > tanpi(1/2) [1] NaN Warning message: In tanpi(1/2) : NaNs produced By redefining tanpi with sinpi and cospi, we can get closer: > tanpi <- function(x) sinpi(x) / cospi(x) > tanpi(c(0, 1/2, 1, 3/2, 2))
2001 Nov 06
3
rsync over different ssh port
hey folks, rsync is a great tool! i use it mostly to sync up Documents between several machines. i use it like this: rsync --progress -vrae ssh /home/bill/Graphics/ bill@vortex:/home/rmckown/Graphics/ the problem i have, is i want to specifiy a specific ssh port other than 22. i want to connect to a specific ssh server behind the firewall on the remote end. it would be nice to use the
2003 Jan 21
5
Samba 3.0 + AD + OpenLDAP
Hi everyone! I've already deployed samba-2.2.7a-2 and enabled openLDAP support. I now have a machine configured as a domain controller authenticating all windows users via openLDAP. openLDAP is also authenticating all of our linux users. I would like to install Exchange2000 on a windows2000 machine so our windows users can do calendaring (sendmail already handles all of our email needs).
2015 Mar 19
2
CRAN binary, but no source
----- Original Message ----- > From: "G?bor Cs?rdi" <csardi.gabor at gmail.com> > To: "John McKown" <john.archie.mckown at gmail.com> > Cc: r-devel at r-project.org > Sent: Thursday, March 19, 2015 9:03:37 AM > Subject: Re: [Rd] CRAN binary, but no source > > On Thu, Mar 19, 2015 at 11:59 AM, John McKown > <john.archie.mckown at
2010 May 01
4
Civ4 on Ubuntu doesn't work anymore after upgrade
Hi. I upgraded my Ubuntu installation to 10.04 this morning and now I can't make Civ4 work anymore (Beyond the Sword, patched 3.19, with last BUG mod). The application starts OK, but when I click "New Game", it crashes with this console message : wine: Unhandled page fault on read access to 0x18868000 at address 0x7c3428fa (thread 0009), starting debugger... Register dump:
2018 Feb 13
1
Test for ISD::FP_ROUND_INREG?
Do we have a test that exercises ISD::FP_ROUND_INREG in SelectionDAGLegalize::ExpandNode()? I ask because I'm working on code that reuses that block in the switch and I'm trying to write a test. But I'm having trouble and would like to see what a working test for the existing code looks like. A quick grep of the tree doesn't show anything. Ideas? -- Kevin P. Neal
2013 Feb 06
1
Heteroscedasticity Plots
To detect heteroscedasticity for a multiple linear OLS regression (no time dependencies): What if the residuals vs. fitted values plot shows well behaved residuals (cloud) - but the some of the x versus residuals plots are a megaphone? Also, it seems that textbooks and internet tutorials in R do not agree what is the best plot for detecting heteroscedasticity. What do you use? I found so