I am having problems installing RWinEdt on a Windows 7 machine after
upgrading to R 2.12 and running R as an administrator. I have WinEdt 5.x
installed on my machine (no WinEdt 6). Please see the r session as below.
Would appreciate any feedback.
Thx.
______________________________________________________________________________________
> library(RWinEdt)
Error in library(RWinEdt) : there is no package called
'RWinEdt'> install.packages("RWinEdt")
Installing package(s) into ‘C:/myRlib’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL '
http://cran.mirrors.hoobly.com/bin/windows/contrib/2.12/RWinEdt_1.8-2.zip'
Content type 'application/zip' length 357530 bytes (349 Kb)
opened URL
downloaded 349 Kb
package 'RWinEdt' successfully unpacked and MD5 sums checked
The downloaded packages are in
C:\Users\pankaj\AppData\Local\Temp\RtmpI6CjCG\downloaded_packages> library(RWinEdt)
Error : .onAttach failed in attachNamespace() for 'RWinEdt', details:
call: if (RWinEdtVersion) RWinEdtVersion <- scan(file.path(InstallRoot,
error: argument is of length zero
Error: package/namespace load failed for
'RWinEdt'> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United
States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] RWinEdt_1.8-2 tools_2.12.0> update.packages(dependencies=TRUE, ask=FALSE)
> library(RWinEdt)
Error : .onAttach failed in attachNamespace() for 'RWinEdt', details:
call: if (RWinEdtVersion) RWinEdtVersion <- scan(file.path(InstallRoot,
error: argument is of length zero
Error: package/namespace load failed for
'RWinEdt'> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 12.0
year 2010
month 10
day 15
svn rev 53317
language R
version.string R version 2.12.0 (2010-10-15)
[[alternative HTML version deleted]]