Re: [R] Example for Roxygen @eval tag?

2019-04-21 Thread Boris Steipe
I see .. you mean code that extends Roxygen. I was thinking something simple like an .Rmd chunk. But just creating an existing tag doesn't do much either: #' @eval sprintf("@section Time: %s", Sys.time() ) Renders as... @eval sprintf("@section Time: ... in the .Rd - more than before, but

Re: [R] Help installing netReg

2019-04-21 Thread Caitlin Gibbons
Hi Spencer. On a Windows machine, the message “Installation path not writeable” can be solved by starting RStudio as an administrator. Right click the RStudio icon and select “Run as Administrator”. This should solve that problem. Hope this helps. ~Caitlin Sent from my iPhone > On Apr 21,

Re: [R] Example for Roxygen @eval tag?

2019-04-21 Thread Jeff Newmiller
What tag are you creating with the eval? Your example wouldn't create valid roxygen code... as I said, it looks rather meta On April 21, 2019 10:40:27 PM PDT, Boris Steipe wrote: >Yes, that's where I started - the vignette says: > >... Run arbtirary R code with @eval. > >... the @e

Re: [R] Example for Roxygen @eval tag?

2019-04-21 Thread Boris Steipe
Yes, that's where I started - the vignette says: ... Run arbtirary R code with @eval. ... the @eval tag. It evaluates code and treats the result as if it was a literal roxygen tags. This makes it possible to eliminate duplication by writing functions. The first thing I noticed w

Re: [R] Example for Roxygen @eval tag?

2019-04-21 Thread Jeff Newmiller
I have not used it... but did you read the vignette [1]? It sounds like it is a bit more meta than you think it is... [1] https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html On April 21, 2019 7:44:17 PM PDT, Boris Steipe wrote: >Playing with Roxygen features, but can't get @eval

Re: [R] Help installing netReg

2019-04-21 Thread Jeff Newmiller
I don't know anything about the Bioconductor installation, but it is normal practice on Windows to install updates to packages distributed with R (such as those below) by "superceding" them in your user library. This happens automatically if you don't specify the destination library to install t

Re: [R] Installing R Studio onto Chromebook

2019-04-21 Thread Bert Gunter
RStudio is not R.You need to seek help at the RStudio user forum,not here. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Apr 21, 2019 at 8:59 PM Spencer

Re: [R] Help installing netReg

2019-04-21 Thread Boris Steipe
"installation path not writeable" tells you that there is a permissions problem with your setup. Sounds like a pretty standard problem. Someone who works with Windows will know the standard solution. Cheers, B. > On 2019-04-21, at 23:49, Spencer Brackett > wrote: > > Boris, > ' > My apolo

[R] Installing R Studio onto Chromebook

2019-04-21 Thread Spencer Brackett
R users, I am trying to download R Studio onto my Chromebook for convenience but exited out of the Linux terminal that had opened upon my turning on of Linux(Beta) through my settings. Because of this I am unable to prompt the same type of Linex terminal and can only enable a new one via ctrl al

Re: [R] Help installing netReg

2019-04-21 Thread Spencer Brackett
Boris, ' My apologies. Thanks for the tip! I tried the command you suggested in your response and got the following... > BiocManager::install("netReg") Bioconductor version 3.8 (BiocManager 1.30.4), R 3.5.1 (2018-07-02) Installing package(s) 'BiocVersion', 'netReg' trying URL ' https://bioconducto

Re: [R] Help installing netReg

2019-04-21 Thread Boris Steipe
This is unrelated to the question on the subject line, we call this "thread hijacking" and that's one of the Things Not To Do. Post a new question. I just wanted to give you the proper incantation for Bioconductor packages. As you already know, don't use bioclite(), which needed to be sourced fr

[R] Example for Roxygen @eval tag?

2019-04-21 Thread Boris Steipe
Playing with Roxygen features, but can't get @eval to work. E.g. ... #' @eval sprintf("%s", Sys.time()) ... does not do what I thought it would (i.e. substitute the tag and the expression with the string). Instead I see nothing in the .RD file. Any working examples out there? Thanks! Boris ___

Re: [R] Help installing netReg

2019-04-21 Thread Spencer Brackett
R users, I am trying to download R Studio onto my Chrombook for convenience, but exited out of the Linux terminal that had opened upon my turning on of Linux(Beta) through my settings. Because of this I am unable to prompt the same type of Linex terminal and can only enable a new one via ctrl al

Re: [R] Help installing netReg

2019-04-21 Thread Spencer Brackett
Mr. Gunter, Yes I have reached out to the bioconductor list but was informed that my inquiry concerning this package was not appropriate for the mailing list. However, I have since tried re implementing the code which I sent and my R Studio says that netReg has successfully been unpacked, so for n

Re: [R] Help installing netReg

2019-04-21 Thread Bert Gunter
netReg is not "the package that generates regression models in R." Tons of packages generate regression models in R, including lm(), which is in the stats package that is part of R's standard distro. So what exactly is it that you want to do that you think requires netReg? And if netReg is require

Re: [R] Help installing netReg

2019-04-21 Thread Spencer Brackett
Good evening, I am having problems with downloading the package used to generate regression models on R. The following is the error message I received. I tried installing BiocManager instead as suggested, but this too did not work. Any ideas? The following is the full summary of what I’ve tried