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"12
"NA"23
It happens that "NA" is the country code fo
On 05-Apr-2012 11:03:15 Adrian Dusa wrote:
> 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"12
> "NA"2
Hi Ted,
On Thu, Apr 5, 2012 at 14:22, Ted Harding wrote:
> On 05-Apr-2012 11:03:15 Adrian Dusa wrote:
>> [...]
>
> Hi Adrian,
> The default in read.table() for the "na.strings" parameter is
>
> na.strings = "NA"
>
> So, provided you have no "NA" in the data portion of your file
> (or e.g. any mi
On 12-04-05 7:27 AM, Adrian Dusa wrote:
Hi Ted,
On Thu, Apr 5, 2012 at 14:22, Ted Harding wrote:
On 05-Apr-2012 11:03:15 Adrian Dusa wrote:
[...]
Hi Adrian,
The default in read.table() for the "na.strings" parameter is
na.strings = "NA"
So, provided you have no "NA" in the data portion
On Thu, Apr 5, 2012 at 14:49, Duncan Murdoch wrote:
> On 12-04-05 7:27 AM, Adrian Dusa wrote:
>>[...]
>
> You still haven't explained what you are doing to cause the problem, so I'll
> guess that you have this file in your data directory of the package, in
> tab-delimited form.
>
> Just store it i
>
> And you need not look so far afield for that particular lack of rationality.
> In the US, databases are covered by the Database and Collections of
> Information Misappropriation Act of 2003
> (http://www.govtrack.us/congress/bills/108/hr3261) which says almost exactly
> the same thing; that
Change the "na.strings" argument to read.table or read.csv when reading
in the file. By default, na.strings="NA". If you do something like
countryCodes <- read.csv("mySourceFile.csv", na.strings="")
then your problem will go away.
On 4/5/2012 7:26 AM, Adrian Dusa wrote:
On Thu, Apr 5, 2012
On 4/5/2012 6:08 AM, Hadley Wickham wrote:
And you need not look so far afield for that particular lack of rationality. In
the US, databases are covered by the Database and Collections of Information
Misappropriation Act of 2003 (http://www.govtrack.us/congress/bills/108/hr3261)
which says alm
FYI,
PROBLEM:
R will crash if one tries to use debug() during startup, i.e. in a
user profile file.
REPRODUCIBLE EXAMPLE:
Create ~/.Rprofile with:
cat("~/.Rprofile...\n")
debug(cat)
cat("~/.Rprofile...done\n")
and do
% R --no-environ --no-environ --no-restore --silent
~/.Rprofile...
debuggin
Hi,
I've noticed an issue with S4 methods and namespaces which only arises in
particular, difficult to reproduce configurations. One example is the ggbio
package in Bioconductor, which currently emits these warnings when its
namespace is loaded:
--
library(ggbio)
Loading requ
10 matches
Mail list logo