Displaying 20 results from an estimated 130 matches similar to: "Merging data tables"
2017 Dec 02
2
source files in temp environment
Hi all,
I often keep code in separate files for organizational purposes, and
source() that code from higher level scripts. One problem is that those
sourced files often create temporary variables that I don't want to keep
around. I could clean up after myself with lots of rm()'s, but that's a
pain, and is messy.
I'm wondering if one solution might be to source the code in a
2017 Dec 02
0
source files in temp environment
On 02/12/2017 5:48 AM, Alexander Shenkin wrote:
> Hi all,
>
> I often keep code in separate files for organizational purposes, and
> source() that code from higher level scripts. One problem is that those
> sourced files often create temporary variables that I don't want to keep
> around. I could clean up after myself with lots of rm()'s, but that's a
> pain,
2011 Jan 29
1
environment question: changing variables from a formula through model.frame?
Hello all,
I came across a behavior of R with environments that I'm not sure what is
causing it.
It involves changing variables that are found through using model.frame on a
formula inside a function.
I wonder if it's a "bug" or a "feature". And in either case, how it might
be managed.
Here is a simple example:
# let's say we have an x and y variables:
temp_x
2011 Jan 26
1
boxplot - code for labeling outliers - any suggestions for improvements?
Hello all,
I wrote a small function to add labels for outliers in a boxplot.
This function will only work on a simple boxplot/formula command (e.g:
something like boxplot(y~x)).
Code + example follows in this e-mail.
I'd be happy for any suggestions on how to improve this code, for example:
- Handle boxplot.matrix (which shouldn't be too hard to do)
- Handle cases of complex
2018 Apr 17
5
Hacked
No, I do not use gmail, still got dirty spam email twice.
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Fowler, Mark
Sent: Tuesday, April 17, 2018 12:32 PM
To: Luis Puerto; Peter Langfelder
Cc: R-Help ML R-Project; Neotropical bat risk assessments
Subject: Re: [R] Hacked
[Attention: This email came from an external source. Do not open attachments
2018 Apr 18
3
Hacked
Hi All: I lately get a lot more spam-porn type emails lately also but I
don't know if they are due to me being on
the R-list.
On Tue, Apr 17, 2018 at 5:09 PM, Rui Barradas <ruipbarradas at sapo.pt> wrote:
> Hello,
>
> Nor do I, no gmail, also got spam.
>
> Rui Barradas
>
> On 4/17/2018 8:34 PM, Ding, Yuan Chun wrote:
>
>> No, I do not use gmail, still
2018 Apr 17
2
Hacked
I've been receiving nasty e-mails too. No g-mail, but official/work e-mail address.
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of Rui Barradas
Sent: Tuesday, April 17, 2018 5:09 PM
To: Ding, Yuan Chun <ycding at coh.org>; Fowler, Mark <Mark.Fowler at dfo-mpo.gc.ca>; Luis Puerto <luiss.puerto at gmail.com>; Peter Langfelder
2018 Apr 17
2
iterative read - write
Hi all,
I would like to set up an iterative read & write sequence to avoid
reading and writing each file one at a time.
Hundreds of data sets to re-calculate.? The code I have works well
individually, but would like to set up an iterative read, calculate and
write changing the input and output file names each iteration.
I? think I have read that there is an R? feature using
2013 Jun 05
2
reshape2 issue continued
Hi again all,
Several replied ASAP that I also needed reshape loaded and not just
reshape2.
Hmmm tried that and I had some output but not the correct format.
What I need is to run simulations of time overlap between species as per
the simulation program data input constraints:
The basis for the simulations is a species by _time-use matrix in which
species are arranged in rows, and time
2018 Apr 17
0
Hacked
Hello,
Nor do I, no gmail, also got spam.
Rui Barradas
On 4/17/2018 8:34 PM, Ding, Yuan Chun wrote:
> No, I do not use gmail, still got dirty spam email twice.
>
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Fowler, Mark
> Sent: Tuesday, April 17, 2018 12:32 PM
> To: Luis Puerto; Peter Langfelder
> Cc: R-Help ML
2011 Feb 11
1
Using merge
Hi,
I have two tables and I need to merge both. I use the merge command, but
in this way the name must be exactly. How I can make to compare
independently of upper or lower-case?
Look:
data1<-data.frame(journal=c("Ecology","Environmental
Entomology","Neotropical Biology And Conservation"))
2009 Apr 26
6
Memory issues in R
How do people deal with R and memory issues?
I have tried using gc() to see how much memory is used at each step.
Scanned Crawley R-Book and all other R books I have available and the FAQ
on-line but no help really found.
Running WinXP Pro (32 bit) with 4 GB RAM.
One SATA drive pair is in RAID 0 configuration with 10000 MB allocated as
virtual memory.
I do have another machine
2024 Dec 17
2
Mutate issue help needed
? Tue, 17 Dec 2024 06:44:50 -0700
Neotropical bat risk assessments <neotropical.bats at gmail.com> ?????:
> fname <- "Buzz.txt"
> All<- fname
I think the code needs a call to read.table() or another function to
read your data here. 'All' is still a string containing the name of the
file, not its contents.
> All %>%
> mutate(*#convert Date from chr
2018 Apr 17
2
Hacked
Hi!
This happened to me also! I just got a spam email just after posting and then in following days I got obnoxious spam emails in my spam filter. As the others, I think that there is some kind of bot subscribed to the list, but also perhaps a spider or crawler monitoring the R-Help archive and getting email addresses there. Nabble is a possibility too.
> On 17 Apr 2018, at 21:50, Peter
2018 Apr 17
3
Hacked
I asked the moderators about it. This is the reply
"Other moderators have looked into this a bit and may be able to shed more
light on it. This is a "new" tactic where the spammers appear to reply to
the r-help post. They are not, however, going through the r-help server.
It also seems that this does not happen to everyone.
I am not sure how you can automatically block the
2009 Feb 09
2
meaning of warning messages
Hi all,
Read a string of data and had this message during a plot run.
Warning message:
closing unused connection 3 (Lines)
Not sure what this means or if it should be of concern.
Tnx.
2009 Mar 17
2
Converting time from HH:MM:SS to only HH:MM
Hi all,
I need to compare between times and put all similar times in specific
1 minute bins.
Unfortunately the original data include seconds as well.
My data is in HH:MM:SS format but I need it rounded to only HH:MM and
trying in Excel to display "unique" records only does not work since
the seconds are not unique.
Is there an easy way using perhaps CHRON to change all from the
2018 Apr 18
0
Hacked
Seems it must be the R-list. A horde of ?solicitation? emails began arriving about 27 minutes after I posted about not seeing any! Had left work by that time, so did not encounter them until now.
From: Mark Leeds [mailto:markleeds2 at gmail.com]
Sent: April 18, 2018 12:33 AM
To: Rui Barradas
Cc: Ding, Yuan Chun; Fowler, Mark; Luis Puerto; Peter Langfelder; R-Help ML R-Project; Neotropical bat
2018 Apr 17
0
Hacked
Just an observation. I have not seen the spam you are discussing. Possibly it is specific to gmail addresses?
-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Luis Puerto
Sent: April 17, 2018 4:11 PM
To: Peter Langfelder
Cc: R-Help ML R-Project; Neotropical bat risk assessments
Subject: Re: [R] Hacked
Hi!
This happened to me also! I just got a spam