Displaying 20 results from an estimated 3000 matches similar to: "Creating a private CRAN with webpages"
2017 Jun 09
0
Creating a private CRAN with webpages
If I understand you correctly, 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
2017 Jun 09
3
Creating a private CRAN with webpages
I'm not trying to create a mirror of the CRAN. I also do not want to create
a "subset" of CRAN packages. Sorry if my explanation was confusing. There
are internal proprietary R packages that I would like to host on a private
repo. I like the CRAN web pages that allow a user to browse the various
packages from a browser without having to first install them. I want to
duplicate the
2023 Feb 21
1
wininet deprecation
On Tue, 21 Feb 2023, Selke, Gisbert W. writes:
> On Mon, 20 Feb 2023 15:58:33 +0000, Stadler Thomas <thomas.stadler at vpbank.com> wrote:
>
>> as the download method 'wininet' is deprecated, I'm looking into alternative ways to install packages from within R.
>> Unfortunately, curl, libcurl and wget refuse to cooperate with Kerberos on our corporate setup.
2015 Mar 24
2
Nuevas versiones y compatibilidad
Sí, ese uso en "Producción" de versiones de algún script de "R" que tira de
versiones de paquetes muy específicas empieza a ser habitual. Señal también
de que "R" está entrando en entorno donde el cambio a la última versión no
es tan sencillo como en los entornos locales en los que trabajamos.
Otro paquete que cumple esa función es: "miniCRAN".
2017 Apr 02
2
Potential bug in utils::citation()
Hi,
I believe the function utils::citation() will fail if the package specified has two or more citation entries in the current R-devel. The following error is issued:
'missing' can only be used for arguments
I have created a working example on github [0] that is build using R-devel on travis-ci [1]. Jim Hester has potentially identified [2] the source of the problem as being from a
2015 Jun 17
4
Improving string concatenation
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 so often that I end up putting it in every script
I write.
It is ultimately a matter of readability and syntactic sugar I guess. As an
example, I
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
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
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
2016 Jul 20
2
package installation fails when symlink of same name exists
>>>>> Jeroen Ooms <jeroenooms at gmail.com>
>>>>> on Wed, 20 Jul 2016 10:26:19 +0200 writes:
> On Tue, Jul 19, 2016 at 6:46 PM, Kevin Ushey <kevinushey at gmail.com> wrote:
>> R fails to install a package from source over a pre-existing package
>> when the path to that package is a symlink, rather than a directory.
2019 Nov 08
4
improving the performance of install.packages
Hi Gabe,
Keeping track of where a package was installed from would be a nice
feature. However it wouldn't be as reliable as comparing hashes to
decide whether a package needs re-installation or not.
H.
On 11/8/19 12:37, Gabriel Becker wrote:
> Hi Josh,
>
> There are a few issues I can think of with this. The primary one is that
> CRAN(/Bioconductor) is not the only place one
2018 Feb 06
1
Warning from Sys.junction when using network drive.
I am running 3.4.3 on a windows server and I ran the code in a new session.
I get a warning when running packrat::init() on a project that is located on a windows network drive.
The warning I get is
Warning message:
cannot set reparse point 'U:/packrat5/packrat/lib-R/base', reason 'Access is denied'
The error is created based inside the function .Internal(mkjunction(fr,
2016 Jul 19
2
package installation fails when symlink of same name exists
R fails to install a package from source over a pre-existing package
when the path to that package is a symlink, rather than a directory. A
reproducible example to illustrate (using MASS as an example):
# create a temporary R library in tempdir
library <- tempfile()
if (!dir.exists(library)) dir.create(library)
# symlink MASS from system library to temporary library
MASS
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
2013 Apr 17
2
remove higher order interaction terms
Dear all,
Consider the model below:
> x <- lm(mpg ~ cyl * disp * hp * drat, mtcars)
> summary(x)
Call:
lm(formula = mpg ~ cyl * disp * hp * drat, data = mtcars)
Residuals:
Min 1Q Median 3Q Max
-3.5725 -0.6603 0.0108 1.1017 2.6956
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.070e+03 3.856e+02 2.776 0.01350 *
cyl
2015 Mar 12
2
Best way to handle dependency on non-CRAN package / large data package?
Thanks Dirk. I'm looking at it now.
At first glance your documentation brings up a good limitation of simply
telling users to type "devtools::install_github()". Namely, what happens
when the census bureau updates their shapefiles, and I subsequently decide
to update the package? Or if I discover an error in the package and decide
to update it? The choroplethr package could have a
2012 Nov 04
1
Apply same linear model to subset of dataframe
I have applied the same linear model to several different subsets of a
dataset. I recently read that in R, code should never be repeated. I feel my
code as it currently stands has a lot of repetition, which could be
condensed into fewer lines. I will use the mtcars dataset to replicate what
I have done. My question is: how can I use fewer lines of code (for example
using a for loop, a function or
2015 Mar 12
1
Best way to handle dependency on non-CRAN package / large data package?
Hi Dirk,
I'm interested in pursing this but I haven't been able to figure how to to
make it work. Here's what I have so far:
install.packages("drat")
library(drat)
addRepo("arilamstein")
I (obviously) have a copy of the choroplethrZip github repo locally. I
typed:
git checkout gh-pages
git push
I gather that this is what I needed to to do make the repo
2017 Jan 16
2
Leer archivos en formato JSON
Hola, disculpen la pregunta si parece trivial, pero hay algún paquete
o forma de leer archivos en formato "json"(1)?
(1) JSON, acrónimo de JavaScript Object Notation, es un formato de
texto ligero para el intercambio de datos. JSON es un subconjunto de
la notación literal de objetos de JavaScript aunque hoy, debido a su
amplia adopción como alternativa a XML, se considera un formato de
2009 Aug 24
0
[LLVMdev] Regular Expression lib support
Hello LLVM Devs,
I thought I'd weigh in on some of these non-backtracking linear time RegEx algorithms. If they're anything like the PackRat parsing algorithms they take at least 4x the amount of memory in terms of storage as the string length itself by not backtracking. That should be fine for small RegExes but it wouldn't do so well for more elaborate and long expressions.
If