Re: [Rd] Rscript -e does not accept newlines under Linux?

2018-09-17 Thread Rainer Krug
Same on Mac:

 $ Rscript -e 'ls()
> ls()'
ARGUMENT 'ls()' __ignored__

character(0)


as well as using “\n” as a line separator:


 $ Rscript -e 'ls()\nls()'
ARGUMENT 'ls()' __ignored__

character(0)




> On 16 Sep 2018, at 10:53, Voeten, C.C.  wrote:
> 
> Rscript -e 'ls()

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

University of Zürich

Cell:   +41 (0)78 630 66 57
email:  rai...@krugs.de
Skype:  RMkrug

PGP: 0x0F52F982





signature.asc
Description: Message signed with OpenPGP
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Creating a private CRAN with webpages

2017-06-08 Thread Rainer Krug
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 
 which gives instructions on how to 
do this.

Cheers,

Rainer

> On 8 Jun 2017, at 23:29, Joshua Bradley  wrote:
> 
> Hello,
> 
> I am trying to setup a private CRAN for work (behind a firewall). The best
> options available include miniCRAN
> , drat
>  and packrat
> . One problem is these packages do not
> automatically generate the web pages that are on the CRAN.
> 
> Examples:
> https://cran.r-project.org/web/packages/index.html
> https://cran.r-project.org/web/packages/available_packages_by_name.html
> 
> Each time the CRAN adds a package, there must be an automated process in
> place to regenerate the pages again with the new package added (example - A3
> ). I read somewhere
> (possibly on stackoverflow) that the CRAN html pages are statically built.
> I would like for users to be able to explore the packages in my private
> CRAN just like the public CRAN without having to open R and search for
> packages/documentation through the command line.
> 
> The R Manual includes a small section
> 
> on setting up a repository but it only discusses the structure of the
> directories needed to host packages. Nothing is mentioned about how the
> CRAN creates/updates the /web directory. What is the best way to
> generate/maintain the web pages for a private CRAN?
> 
> P.S. Let me know if this question is best answered on one of the other
> mailing lists.
> 
> Josh Bradley
> 
>   [[alternative HTML version deleted]]
> 
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

University of Zürich

Cell:   +41 (0)78 630 66 57

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug



signature.asc
Description: Message signed with OpenPGP
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel