[R] cannot install RWinEdt

Nordlund, Dan (DSHS/RDA) NordlDJ at dshs.wa.gov
Fri Nov 6 23:19:43 CET 2015


Uwe,

When I tried to install RWinEdt (R-3.2.2 installed from CRAN binary, Win 7), I got the following message:

> utils:::menuInstallPkgs()
Package which is only available in source form, and may need
  compilation of C/C++/Fortran: ‘RWinEdt’
Do you want to attempt to install these from sources?


So, I find the package listed on CRAN but there appears to be only source there, not a binary. I tried a few different mirrors with the same result.  What have I missed?


Dan

Daniel Nordlund, PhD
Research and Data Analysis Division
Services & Enterprise Support Administration
Washington State Department of Social and Health Services


-----Original Message-----
From: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] 
Sent: Thursday, November 05, 2015 10:20 PM
To: Nordlund, Dan (DSHS/RDA); r-help at r-project.org
Subject: Re: [R] cannot install RWinEdt



On 06.11.2015 02:06, Nordlund, Dan (DSHS/RDA) wrote:
> You might want to upgrade to R-3.2.2 as there appears to be a RWinEdt binary available for it.

There is also a binary for the R-3.1.x series, hence 
install.packages("RWinEdt") should do the trick.


Anyway, if you want to install from sources, please instal the Rtools 
and also install with the --no-test-load flag (RWinEdt complains if 
called non-interactively).

Best,
Uwe Ligges




> Dan
>
> Daniel Nordlund, PhD
> Research and Data Analysis Division
> Services & Enterprise Support Administration
> Washington State Department of Social and Health Services
>
>
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Cynthia Yeung - NOAA Federal
> Sent: Thursday, November 05, 2015 3:18 PM
> To: r-help at r-project.org
> Subject: [R] cannot install RWinEdt
>
> I am an intermediate R user with little understanding of the working of R packages.
> My problem is with the package RWinEdt.
>
> I was using using WinEdt 6 with R 3.1.3 and R-Sweave-6 in Windows 7 rather smoothly.
> Then I got a brand new computer,still running windows 7.
> I installed R 3.1.3, no new packages except the base packages.
> I installed WinEdt 6.
> I cannot get RWinEdt to install.
> I tried:
> RWinEdt_2.0-4.tar.gz
> RWinEdt2.0-0.zip
> RWinEdt_1.6-2.zip
> nothing worked.
>
> Error messages from trying different strategies include:
>
> ******* 1 ********
>> install.packages("RWinEdt", type="source")
> trying URL 'http://cran.fhcrc.org/src/contrib/RWinEdt_2.0-5.tar.gz'
> Content type 'application/x-gzip' length 590307 bytes (576 KB) opened URL downloaded 576 KB
>
> * installing *source* package 'RWinEdt' ...
> ** package 'RWinEdt' successfully unpacked and MD5 sums checked
> ** libs
>
> *** arch - i386
> Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-31~1.3/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-31~1.3/share/make/winshlib.mk" SHLIB="RWinEdt.dll"
> OBJECTS="ismdi.o"' had status 127
> ERROR: compilation failed for package 'RWinEdt'
> * removing 'C:/Program Files/R/R-3.1.3/library/RWinEdt'
>
> The downloaded source packages are in
>          ‘C:\Users\cy\AppData\Local\Temp\RtmpgdAJ2x\downloaded_packages’
> Warning messages:
> 1: running command '"C:/PROGRA~1/R/R-31~1.3/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.1.3\library"
> C:\Users\CYNTHI~1.YEU\AppData\Local\Temp\RtmpgdAJ2x/downloaded_packages/RWinEdt_2.0-5.tar.gz'
> had status 1
> 2: In install.packages("RWinEdt", type = "source") :
>    installation of package ‘RWinEdt’ had non-zero exit status
>> library(RWinEdt)
> Error in library(RWinEdt) : there is no package called ‘RWinEdt’
>> utils:::menuInstallPkgs()
> Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type =
> type) :
>    no packages were specified
>
> ******************
>
> ******* 2 ********
>> install.packages("D:/Documents/Downloads/RWinEdt_1.8-3.tar.gz", repos
>> =
> NULL, type="source")
> * installing *source* package 'RWinEdt' ...
> ** libs
>
> *** arch - i386
> Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-31~1.3/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-31~1.3/share/make/winshlib.mk" SHLIB="RWinEdt.dll"
> OBJECTS="ismdi.o"' had status 127
> ERROR: compilation failed for package 'RWinEdt'
> * removing 'C:/Program Files/R/R-3.1.3/library/RWinEdt'
> Warning messages:
> 1: running command '"C:/PROGRA~1/R/R-31~1.3/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.1.3\library"
> "D:/Documents/Downloads/RWinEdt_1.8-3.tar.gz"' had status 1
> 2: In install.packages("D:/Documents/Downloads/RWinEdt_1.8-3.tar.gz",  :
>    installation of package ‘D:/Documents/Downloads/RWinEdt_1.8-3.tar.gz’ had non-zero exit status
>> utils:::menuInstallLocal()
> package ‘RWinEdt’ successfully unpacked and MD5 sums checked
>> library(RWinEdt)
> Error: package ‘RWinEdt’ was built before R 3.0.0: please re-install it
>> install.packages('RWinEdt')
>
>     package ‘RWinEdt’ is available as a source package but not as a binary
>
> Warning message:
> package ‘RWinEdt’ is not available (as a binary package for R version
> 3.1.3)
>
> ******************
>
> ******* 3 ********
>> install.packages('RWinEdt')
> Warning: unable to access index for repository
> http://www.rforge.net/bin/windows/contrib/3.1
>
>     package ‘RWinEdt’ is available as a source package but not as a binary
>
> ******************
>
> Appreciate any help.
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


More information about the R-help mailing list