Displaying 20 results from an estimated 2000 matches similar to: "Question regarding .make_numeric_version with non-character input"
2024 Apr 24
1
Question regarding .make_numeric_version with non-character input
Hi Kurt,
Is it intended that numeric_version() returns an error by default on
non-character input in R 4.4.0? It seems that I can turn this into a
warning by setting
_R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_=false but I don't seem
to be able to find any of this mentioned in the NEWS file.
Thanks,
H.
On 4/1/24 05:28, Kurt Hornik wrote:
>>>>>> Andrea Gilardi via
2024 Apr 25
1
Question regarding .make_numeric_version with non-character input
On 4/24/24 23:07, Kurt Hornik wrote:
>>>>>> Herv? Pag?s writes:
>> Hi Kurt,
>> Is it intended that numeric_version() returns an error by default on
>> non-character input in R 4.4.0?
> Dear Herve, yes, that's the intention.
>
>> It seems that I can turn this into a warning by setting
>>
2024 Apr 25
2
Question regarding .make_numeric_version with non-character input
>>>>> Herv? Pag?s writes:
> Hi Kurt,
> Is it intended that numeric_version() returns an error by default on
> non-character input in R 4.4.0?
Dear Herve, yes, that's the intention.
> It seems that I can turn this into a warning by setting
> _R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_=false but I don't
> seem to be able to find any of this mentioned
2024 Apr 25
1
Question regarding .make_numeric_version with non-character input
>>>>> Herv? Pag?s writes:
> On 4/24/24 23:07, Kurt Hornik wrote:
>>>>>>> Herv? Pag?s writes:
>>> Hi Kurt,
>>> Is it intended that numeric_version() returns an error by default on
>>> non-character input in R 4.4.0?
>> Dear Herve, yes, that's the intention.
>>
>>> It seems that I can turn this into a
2024 Apr 25
1
Question regarding .make_numeric_version with non-character input
Hi Kurt,
On 25 April 2024 at 08:07, Kurt Hornik wrote:
| >>>>> Herv? Pag?s writes:
|
| > Hi Kurt,
| > Is it intended that numeric_version() returns an error by default on
| > non-character input in R 4.4.0?
|
| Dear Herve, yes, that's the intention.
|
| > It seems that I can turn this into a warning by setting
| >
2019 Jun 21
2
Suggested Patch: Library returns matching installed packages when typo present
Dear R-core devs,
I hope this email finds you well.
Please see the proposed patch to R-devel below:
Scenario:
When loading a package using `library`, a package may not be found if the cases are not matching:
```
> library(ORG.Hs.eg.db)
Error in library(ORG.Hs.eg.db) :
there is no package called 'ORG.Hs.eg.db'
```
Suggested Patch:
Returns a message matching what
2023 Jul 06
1
numeric_version doesn't like numeric versions anymore?
Dear R devs,
I installed the recent devel R to test a package error when I intercept this warning when loading packages:
```
Warning in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) :
invalid non-character version specification 'x' (type: double)
```
After a long debugging, I realize that `numeric_version` in base does not support numerical input x by
2019 Jun 21
2
Suggested Patch: Library returns matching installed packages when typo present
Hi Luke,
Thank you for your response.
On 6/21/19 10:56 AM, Tierney, Luke wrote:
Thanks for the suggestion. However I don't think it is the right way
to go. I also don't care for what install.packages() does. Signaling a
warning and then an error means someone has to catch both the error
and the warning, or suppress the warning, in order to handle the error
programmatically.
I do care
2009 Mar 31
2
Wishlist: optional svn-revision number tag in package DESCRIPTION file
Hi,
just a little wish :
Could we have one (or maybe more) standardized optional tag(s)
for package DESCRIPTION files to cover svn revision info?
This would be very useful for bug reporting...
I know that any developer is already free to append corresponding lines
to DESCRIPTION files to do something of this sort --- e.g. lines like
LastChangedDate: {$LastChangedDate: 2009-03-31 $}
2007 Jul 30
2
apply, lapply and data.frame in R 2.5
Hello everyone,
A recent (in 2.5 I suspect) change in R is giving me trouble. I want
to apply a function (tolower) to all the columns of a data.frame and
get a data.frame in return.
Currently, on a data.frame, both apply (for arrays) and lapply (for
lists) work, but each returns its native class (resp. matrix and list):
apply(mydat,2,tolower) # gives a matrix
lapply(mydat,tolower) # gives
2001 Mar 07
1
Minor bug in maketitle.pl (with bug correction) (PR#864)
Full_Name: Henrik Bengtsson
Version: rw1022
OS: Windows Me
Submission from: (NULL) (216.175.126.55)
When ${R_HOME}/share/perl/maketitle.pl tries to generate a TITLE that is longer
than $lc-3 (=13) characters long, it repeats the package name on line two.
Example: Now it generates an output like:
com.braju.graphics
com.braju.graphics Bla bla bla...
But, I believe it should
2012 Dec 02
2
Change case of factor in data frame
I am trying to write a function to change the case of all of the text in a
data frame to lower case. I do not have foreknowledge of the data frame
names or the data types of each column.
It seems that if one references the data frame by index, then it returns
class "data.frame" but if it is referenced by name, it returns class
"factor" or whatever the column actually is:
2012 Sep 14
1
please comment on my function
this function is supposed to canonicalize the language:
--8<---------------cut here---------------start------------->8---
canonicalize.language <- function (s) {
s <- tolower(s)
long <- nchar(s) == 5
s[long] <- sub("^([a-z]{2})[-_][a-z]{2}$","\\1",s[long])
s[nchar(s) != 2 & s != "c"] <- "unknown"
s
}
2010 Oct 11
1
grep triggering error on unicode character
Colleagues,
[R 2.11; OS X]
I am processing a file on the fly that contains the following text:
XXX??
[email clients may display this differently -- the string is three X's followed by two instances of the letter a with an acute accent]
I read the file with:
X <- readLines(FILENAME)
In this instance, the text of interest is on line 213. When I examine line 213, it reads:
XXX\xe1\xe1
2008 May 20
2
need some help in plotting xy graph
Hi
Dataframe fdf contains
bin rate overlay
1 1 90 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success
Rate
2 2 93 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success
Rate
3 1 90 Assign First/cc _from_SN_50 RNC_21_to_SN_53 RNC_20_Success
Rate
4 2 94 Assign First/cc _from_SN_50 RNC_21_to_SN_53
2018 Jan 30
2
[lldb-dev] Adding DWARF5 accelerator table support to llvm
> On Jan 30, 2018, at 7:35 AM, Pavel Labath <labath at google.com> wrote:
>
> Hello all,
>
> I am looking for feedback regarding implementation of the case folding
> algorithm for .debug_names hashes.
>
> Unlike the apple tables, the .debug_names hashes are computed from
> case-folded names (to enable case-insensitive lookups for languages
> where that makes
2018 Jan 30
0
[lldb-dev] Adding DWARF5 accelerator table support to llvm
Hello all,
I am looking for feedback regarding implementation of the case folding
algorithm for .debug_names hashes.
Unlike the apple tables, the .debug_names hashes are computed from
case-folded names (to enable case-insensitive lookups for languages
where that makes sense). The dwarf5 document specifies that the case
folding should be done according the the "Caseless matching"
2014 Nov 22
2
Problemas con tm
Estimados compañeros tengo un problema con la librería tm o con windows
8.1 o con algo que no controlo.
Hace tiempo con windows 7 y una versión anterior de R ejecutaba este código:
library(tm)
data("crude")
crude <- tm_map(crude, tolower)
tdm<-TermDocumentMatrix(crude)
y sin problemas me creaba tdm. Ahora si lo ejecuto me da el siguiente error:
Error: inherits(doc,
2008 May 21
2
need some help in plotting xy graph
Hi
Dataframe fdf contains
bin rate overlay
1 1 90 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success
Rate
2 2 93 Assign First/cc _from_SN_53 RNC_20_to_SN_50 RNC_21_Success
Rate
3 1 90 Assign First/cc _from_SN_50 RNC_21_to_SN_53 RNC_20_Success
Rate
4 2 94 Assign First/cc _from_SN_50 RNC_21_to_SN_53
2010 Jun 17
3
RODBC in R
When I am connecting to the server via ODBC I got the following error.
>library(RODBC)
channel <- odbcConnect("my server", uid="***" , case="*****")
Error in switch(case, toupper = case <- 1L, tolower = case <- 2L, postgresql
= case <- 2L, :
Invalid case parameter: nochange | toupper | tolower | common db names
How to fix this error?
Thanks
--