Displaying 20 results from an estimated 21 matches for "jgbradley1".
2015 Jun 17
4
Improving string concatenation
...big languages
have also picked up this convention (C++, java, javascript, python, etc.).
Josh Bradley
Graduate Student
University of Maryland
On Tue, Jun 16, 2015 at 11:00 PM, Gabriel Becker <gmbecker at ucdavis.edu>
wrote:
>
> On Jun 16, 2015 3:44 PM, "Joshua Bradley" <jgbradley1 at gmail.com> wrote:
> >
> > Hi, first time poster here. During my time using R, I have always found
> > string concatenation to be (what I feel is) unnecessarily complicated by
> > requiring the use of the paste() or similar commands.
>
> I don't follow. In wha...
2015 Jun 17
0
Improving string concatenation
...of
errors
reported on this list that are due to read.table interpreting text as
character
strings instead of the numbers that the user expected. Detecting that
error as early as possible is good.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Jun 16, 2015 at 10:25 PM, Joshua Bradley <jgbradley1 at gmail.com>
wrote:
> Bad choice of words I'm afraid. What I'm ultimately pushing for is a
> feature request. To allow string concatenation with '+' by default. Sure I
> can write my own string addition function (like the example I posted
> previously) but I use it...
2015 Jun 17
3
Improving string concatenation
On Tue, Jun 16, 2015 at 8:24 PM, Herv? Pag?s <hpages at fredhutch.org> wrote:
[...]
>
> If I was to override `+` to concatenate strings, I would make it stick
> to the recycling scheme used by arithmetic and comparison operators
> (which is the most sensible of all IMO).
Yeah, I agree, paste's recycling rules are sometimes painful. This
could be "fixed" with a nice
2017 Jun 08
3
Creating a private CRAN with webpages
Hello,
I am trying to setup a private CRAN for work (behind a firewall). The best
options available include miniCRAN
<https://github.com/RevolutionAnalytics/miniCRAN>, drat
<https://github.com/eddelbuettel/drat> and packrat
<https://rstudio.github.io/packrat/>. One problem is these packages do not
automatically generate the web pages that are on the CRAN.
Examples:
2015 Jun 16
5
Improving string concatenation
Hi, first time poster here. During my time using R, I have always found
string concatenation to be (what I feel is) unnecessarily complicated by
requiring the use of the paste() or similar commands.
When searching for how to concatenate strings in R, several top search
results show answers that say to write your own function or override the
'+' operator.
Sample code like the following
2019 Nov 08
4
improving the performance of install.packages
...ipt was run.
>
>
> The last thing to note is that there are at least 2 packages which provide
> a function which does this already (install.load and remotes), so people
> can get this functionality if they need it.
>
>
> On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com> wrote:
>
>>
>>
>> I assumed this list is used to discuss proposals like this to the R
>> codebase. If I'm on the wrong list, please let me know.
>>
>
> This is the right place to discuss things like this. Thanks for starting
> the con...
2019 Nov 08
8
improving the performance of install.packages
I could do this...and I have before. This brings up a more fundamental
question though. You're asking me to write code that changes the logic of
the installation process (i.e. writing my own package installer). Instead
of doing that, I would rather integrate that logic into R itself to improve
the baseline installation process. This api proposal change would be
additive and would not break
2015 Jun 17
0
Improving string concatenation
On Jun 16, 2015 3:44 PM, "Joshua Bradley" <jgbradley1 at gmail.com> wrote:
>
> Hi, first time poster here. During my time using R, I have always found
> string concatenation to be (what I feel is) unnecessarily complicated by
> requiring the use of the paste() or similar commands.
I don't follow. In what sense is paste complicated...
2015 Jul 26
0
R-devel Digest, Vol 149, Issue 22
> From: Joshua Bradley <jgbradley1 at gmail.com>
>
> I have been having issues using parallel::mclapply in a memory-efficient
> way and would like some guidance. I am using a 40 core machine with 96 GB
> of RAM. I've tried to run mclapply with 20, 30, and 40 mc.cores and it has
> practically brought the machin...
2017 Jun 09
0
Creating a private CRAN with webpages
...rrectly, you want to have a mirror of CRAN on a private server behind your firewall. Check out https://cran.rstudio.com/mirror-howto.html <https://cran.rstudio.com/mirror-howto.html> which gives instructions on how to do this.
Cheers,
Rainer
> On 8 Jun 2017, at 23:29, Joshua Bradley <jgbradley1 at gmail.com> wrote:
>
> Hello,
>
> I am trying to setup a private CRAN for work (behind a firewall). The best
> options available include miniCRAN
> <https://github.com/RevolutionAnalytics/miniCRAN>, drat
> <https://github.com/eddelbuettel/drat> and packrat
&g...
2019 Nov 08
0
improving the performance of install.packages
...ion would still occur every time the script was run.
The last thing to note is that there are at least 2 packages which provide
a function which does this already (install.load and remotes), so people
can get this functionality if they need it.
On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com> wrote:
>
>
> I assumed this list is used to discuss proposals like this to the R
> codebase. If I'm on the wrong list, please let me know.
>
This is the right place to discuss things like this. Thanks for starting
the conversation.
Best,
~G
>
>
[[alte...
2019 Nov 08
0
improving the performance of install.packages
While developing a package, I often run install.packages() on it many times
in a session without updating its version number. How would your proposed
change affect this workflow?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com> wrote:
> I could do this...and I have before. This brings up a more fundamental
> question though. You're asking me to write code that changes the logic of
> the installation process (i.e. writing my own package installer). Instead
> of doing that, I would rather i...
2015 Jun 17
1
Improving string concatenation
...o need to
consider dispatch on non-objects) and for sanity (in general,
redefining fundamental behaviors is dangerous). It is of course
possible to define a "+" method with a signature containing a class
not in the set of basic classes.
On Tue, Jun 16, 2015 at 7:30 PM, Joshua Bradley <jgbradley1 at gmail.com> wrote:
> One of the poster's on the SO post I linked to previously suggested this
> but if '+' were made to be S4 compliant, then adding the ability to concat
> strings with '+' would be a relatively simple addition (no pun intended) to
> the code ba...
2015 Jul 24
1
Memory limitations for parallel::mclapply
Hello,
I have been having issues using parallel::mclapply in a memory-efficient
way and would like some guidance. I am using a 40 core machine with 96 GB
of RAM. I've tried to run mclapply with 20, 30, and 40 mc.cores and it has
practically brought the machine to a standstill each time to the point
where I do a hard reset.
When running mclapply with 10 mc.cores, I can see that each process
2019 Nov 09
2
improving the performance of install.packages
...thing to note is that there are at least 2 packages which provide
>>> a function which does this already (install.load and remotes), so people
>>> can get this functionality if they need it.
>>>
>>>
>>> On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com> wrote:
>>>
>>>>
>>>>
>>>> I assumed this list is used to discuss proposals like this to the R
>>>> codebase. If I'm on the wrong list, please let me know.
>>>>
>>>
>>> This is the right place...
2019 Nov 08
0
improving the performance of install.packages
...; > The last thing to note is that there are at least 2 packages which provide
> > a function which does this already (install.load and remotes), so people
> > can get this functionality if they need it.
> >
> >
> > On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com> wrote:
> >
> >>
> >>
> >> I assumed this list is used to discuss proposals like this to the R
> >> codebase. If I'm on the wrong list, please let me know.
> >>
> >
> > This is the right place to discuss things like...
2019 Nov 09
0
improving the performance of install.packages
...least 2 packages which
> provide
> >>> a function which does this already (install.load and remotes), so
> people
> >>> can get this functionality if they need it.
> >>>
> >>>
> >>> On Fri, Nov 8, 2019 at 11:56 AM Joshua Bradley <jgbradley1 at gmail.com>
> wrote:
> >>>
> >>>>
> >>>>
> >>>> I assumed this list is used to discuss proposals like this to the R
> >>>> codebase. If I'm on the wrong list, please let me know.
> >>>>
> >>&...
2019 Nov 08
3
improving the performance of install.packages
Hello,
Currently if you install a package twice:
install.packages("testit")
install.packages("testit")
R will build the package from source (depending on what OS you're using)
twice by default. This becomes especially burdensome when people are using
big packages (i.e. lots of depends) and someone has a script with:
install.packages("tidyverse")
...
... later
2015 Jun 17
0
Improving string concatenation
One of the poster's on the SO post I linked to previously suggested this
but if '+' were made to be S4 compliant, then adding the ability to concat
strings with '+' would be a relatively simple addition (no pun intended) to
the code base I believe. With a lot of other languages supporting this kind
of concatenation, this is what surprised me most when first learning R.
This is
2015 Jun 17
2
Improving string concatenation
> How would this new '+' deal with factors, as paste does or as the current
'+'
> does? Would number+string and string+number cause errors (as in current
> '+' in R and python) or coerce both to strings (as in current R:paste and
in perl's '+').
I had posted this sample code previously to demonstrate how string
concatenation could be implemented