Displaying 13 results from an estimated 13 matches for "insee".
Did you mean:
inset
2012 Jan 03
1
sqldf and not converting integers to floating point in SQLite
Hi,
I have following 2 tables:
Table 1:
POSTAL | VALUE
1000|49
1010|100
1020|50
Table 2:
INSEE | POSTAL
A|1000
B|1000
C|1010
D|1020
I would like to convert this to the following:
INSEE | VALUE_SPREAD
A|24.5
B|24.5
C|100
D|50
I can achieve this with a nested SQL query (through counting the
number of POSTAL that belong to any given INSEE, and diving the value
of the postal in that INSEE by...
2020 Jan 09
4
mean
...also:
> median(c("1","2","3"))
[1] "2"
But:
> quantile(c("1","2","3"),p=.5)
Error in (1 - h) * qs[i] :
argument non num?rique pour un op?rateur binaire
It sounds like a lack of symetry.
Best regards.
Jean-Luc LIPATZ
Insee - Direction g?n?rale
Responsable de la coordination sur le d?veloppement de R et la mise en oeuvre d'alternatives ? SAS
2020 Jan 09
1
mean
...esumably, the additional checks were not incorporated into the other functions to enforce a level of consistency.
>
> We will need to wait for someone from R Core to comment.
>
> Regards,
>
> Marc
>
>> On Jan 9, 2020, at 8:34 AM, Lipatz Jean-Luc <jean-luc.lipatz at insee.fr> wrote:
>>
>> Ok, inconstencies.
>>
>> The last test you wrote is a bit strange. I agree that it is useful to warn about a computation that have no sense in the case of factors. But why testing data;frames? If you go that way using random structures, you can also try...
2020 Jan 09
0
mean
...en, resulting in the various checks. Presumably, the additional checks were not incorporated into the other functions to enforce a level of consistency.
We will need to wait for someone from R Core to comment.
Regards,
Marc
> On Jan 9, 2020, at 8:34 AM, Lipatz Jean-Luc <jean-luc.lipatz at insee.fr> wrote:
>
> Ok, inconstencies.
>
> The last test you wrote is a bit strange. I agree that it is useful to warn about a computation that have no sense in the case of factors. But why testing data;frames? If you go that way using random structures, you can also try :
>
>>...
2010 Mar 02
1
how to import map data (maptools?) from a html set of 'coords'
...38,268,148,267,154,263,160,267,168,267,180,262,
175,256,178,254,184,248,184,243,187,237,187,232,185,234,181,227,
171,216,171,212,166,211,155,208,149,208,135,211,132,213,125,208,
121">
any idea welcome,
sylvain
(If anayone is interested with that type of data, they're available at
the INSEE website
along with loads of information on the population and economy of each region)
2005 Jan 31
2
Help about time series
Hello,
When I create a ts object, I would like to get a particular value of this
time serie according to the date and not the rank.
However, it seems necessary to use the rank as if it were a simple vector.
I would be very grateful if you could help out of this.
I thank you in advance,
Nicolas Ferrari
2017 Jul 04
1
write.csv
...licts don't come into play.
-----Original Message-----
From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of Duncan Murdoch
Sent: Tuesday, July 4, 2017 7:53 AM
To: Jim Hester <james.f.hester at gmail.com>
Cc: r-devel at r-project.org; Lipatz Jean-Luc <jean-luc.lipatz at insee.fr>
Subject: Re: [Rd] write.csv
On 04/07/2017 10:01 AM, Jim Hester wrote:
> On linux at least you can use `/dev/full` [1] to test writing to a full device.
>
> > echo 'foo' > /dev/full
> bash: echo: write error: No space left on device
Unfortunately, I get a p...
2017 Jul 04
2
write.csv
...ere is no another function with the same bad properties? Is the lesson that you should not use a R function, even from the core, without having personnally tested it against extreme conditions? And wouldn't it be the work of the developpers to do such elementary tests?
Thanks
Jean-Luc LIPATZ
Insee - Direction g?n?rale
Responsable de la coordination sur le d?veloppement de R et la mise en oeuvre d'alternatives ? SAS
[[alternative HTML version deleted]]
2017 Jul 04
1
write.csv
On 04/07/2017 8:46 AM, Nathan Sosnovske wrote:
> This doesn't really strike me as a bug. Lots of (most?) programming languages expect you to handle this as an error condition. If you tried the same thing in C you would get the same error.
The bug is that there is no error signalled. It looks as though the
write succeeded, when it didn't.
Duncan Murdoch
> -----Original
2017 Jul 04
2
write.csv
On linux at least you can use `/dev/full` [1] to test writing to a full device.
> echo 'foo' > /dev/full
bash: echo: write error: No space left on device
Although that won't be a perfect test for this case where part of the
file is written successfully.
An alternative suggestion for testing this is to create and mount a
loop device [2] with a small file.
[1]:
2017 Jul 04
5
write.csv
I would really like the bug fixed. At least this one, because I know people in my institute using this function.
I understand your arguments about open source, but I also saw in this mail list a proposal for a fix for this bug for which there were no answer from the people who are able to include it in the distribution. It looks like if there were interesting bugs and the other ones.
I don't
2012 Oct 03
2
How to limit memory on a server
Hello,
In our structure, users connect to a server (64GB of memory) where they launch R. How can I limit the amount of RAM that could use a user.
The function memory.limit(size=...) can limit the amount of memory but I would like users can't change this option in R. Is it possible?
Thank you.
Cyril Hervy
[[alternative HTML version deleted]]
2012 Nov 16
2
Import excel file
Hello,
Is it possible to import an Excel 2000 file (32-bit version) into R 2.15.1 64-bit version?
Thanks.
Best regards,
Cyril Hervy
[[alternative HTML version deleted]]