[ESS] ESSR package for windows
Vitalie Spinu
spinuvit at gmail.com
Fri Oct 4 10:01:23 CEST 2013
Thanks Rainer. Fixed in all repos now.
Vitalie
>>> Rainer M Krug on Fri, 4 Oct 2013 09:37:33 +0200 wrote:
> I get a similar error. I am on OS X, R installed "the official way", and
> I get the following when starting R from git in emacs:
> ,----
> | R version 3.0.1 (2013-05-16) -- "Good Sport"
> | Copyright (C) 2013 The R Foundation for Statistical Computing
> | Platform: x86_64-apple-darwin10.8.0 (64-bit)
> |
> | R is free software and comes with ABSOLUTELY NO WARRANTY.
> | You are welcome to redistribute it under certain conditions.
> | Type 'license()' or 'licence()' for distribution details.
> |
> | Natural language support but running in an English locale
> |
> | R is a collaborative project with many contributors.
> | Type 'contributors()' for more information and
> | 'citation()' on how to cite R or R packages in publications.
> |
> | Type 'demo()' for some demos, 'help()' for on-line help, or
> | 'help.start()' for an HTML browser interface to help.
> | Type 'q()' to quit R.
> |
> | > > install.packages('/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz')
> | Installing package into '/Users/rainerkrug/Library/R/3.0/library'
> | (as 'lib' is unspecified)
> | --- Please select a CRAN mirror for use in this session ---
> | Warning message:
> | package '/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz' is not available (for R version 3.0.1)
> | > library(ESSR)
> | Error in library(ESSR) : there is no package called 'ESSR'
> | > options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient', show.error.locations=TRUE)
> | >
> `----
> The problem is the argument type="source" which is missing:
> ,----
> | > install.packages('/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz')
> | Installing package into '/Users/rainerkrug/Library/R/3.0/library'
> | (as 'lib' is unspecified)
> | Warning message:
> | package '/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz' is not available (for R version 3.0.1)
> | > install.packages('/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz', repos=NULL)
> | Installing package into '/Users/rainerkrug/Library/R/3.0/library'
> | (as 'lib' is unspecified)
> | Error: file '/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz' is not an OS X binary package
> | > install.packages('/Users/rainerkrug/.emacs.d/ess-git/etc/ESSR_1.0.tar.gz', repos=NULL, type="source")
> | Installing package into '/Users/rainerkrug/Library/R/3.0/library'
> | (as 'lib' is unspecified)
> | * installing *source* package 'ESSR' ...
> | ** R
> | ** preparing package for lazy loading
> | ** help
> | *** installing help indices
> | ** building package indices
> | ** testing if installed package can be loaded
> | * DONE (ESSR)
> | >
> `----
> This should also solve the issue under Windows.
> Cheers,
> Rainer
> Vitalie Spinu <spinuvit at gmail.com> writes:
>> Thank you very much for reporting this.
>>
>> I don't think R expects .zip. This is what docs says:
>>
>> If ‘repos = NULL’, a character vector of file paths of
>> ‘.tar.gz’ files. These can be source archives or binary
>> package archive files (as created by ‘R CMD build --binary’).
>> On a CRAN build of R for OS X these can be ‘.tgz’ files
>> containing binary package archives. Tilde-expansion will be
>> done on the file paths.
>>
>> Would you please try
>>
>> install.packages('c:/drop/emacs/ess/etc/ESSR_1.0.tar.gz', repos=NULL)
>>
>>
>> Thanks,
>> Vitalie
>>
>>
>>
>>
>>
>> >>> Kevin Wright on Thu, 3 Oct 2013 12:18:28 -0500 wrote:
>>
>> > When I start R inside emacs, I see this:
>> > install.packages('c:/drop/emacs/ess/etc/ESSR_1.0.tar.gz')
>> > Installing package into 'c:/kw/R/win-library/3.0'
>> > (as 'lib' is unspecified)
>> > Warning message:
>> > package 'c:/drop/emacs/ess/etc/ESSR_1.0.tar.gz' is not available (for R
>> > version 3.0.1)
R> library(ESSR)
>> > Error in library(ESSR) : there is no package called 'ESSR'
R> options(STERM='iESS', str.dendrogram.last="'", editor='emacsclient.exe',
>> > show.error.locations=TRUE)
>>
>> > I'm on a windows machine, and R expects to find a "zip" binary package
>> > instead of a "tar.gz" source package.
>>
>> > I can build this manually if needed...should I? Or should the zip file be
>> > bundled with ess? Or should R just source the files in the ESSR/r/ folder?
>>
>> > Kevin
>>
>> ______________________________________________
>> ESS-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/ess-help<#secure method=pgpmime mode=sign>
More information about the ESS-help
mailing list