roger bos wrote: > I too have had problems with getting RWinEdt to work, I tried the above > command lines and got the following error: > > >>install.packages("RWinEdt") > > --- Please select a CRAN mirror for use in this session --- > trying URL ' > http://cran.us.r-project.org/bin/windows/contrib/2.1/RWinEdt_1.7-3.zip' > Content type 'application/zip' length 386098 bytes > opened URL > downloaded 377Kb > > package 'RWinEdt' successfully unpacked and MD5 sums checked > > The downloaded packages are in > C:\Documents and Settings\bosr\Local > Settings\Temp\Rtmp12772\downloaded_packages > updating HTML package descriptions > >>library(RWinEdt) > > Error in getWinEdt() : > WinEdt is not installed properly.
So, what version of WinEdt are you using, where is it installed and what are the corresponding registry entries? Uwe Ligges > Either reinstall WinEdt or install R-WinEdt manually as described in the > ReadMe > Error: .onAttach failed in 'attachNamespace' > Error: package/namespace load failed for 'RWinEdt' > Does anyone have any suggestions? > > On 9/21/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > >>ronggui.wong wrote: >> >> >>>the error msg is: >>> >>> >>> >>>>local({pkg <- select.list(sort(.packages(all.available = TRUE))) >>> >>>+ if(nchar(pkg)) library(pkg, character.only=TRUE)}) >>>Error in if (RWinEdtVersion) RWinEdtVersion <- scan(file.path(InstallRoot, >> >>: >> >>>argument is of length zero >>>Error: .onAttach failed in 'attachNamespace' >>>Error: package/namespace load failed for 'RWinEdt' >> >> >>Please re-install and load RWinEdt as follows: >> >>install.packages("RWinEdt") >>library(RWinEdt) >> >>It works for me with a recent R-2.2.0 alpha. >> >>Uwe Ligges >> >> >> >>> >>>>version >>> >>>_ >>>platform i386-pc-mingw32 >>>arch i386 >>>os mingw32 >>>system i386, mingw32 >>>status alpha >>>major 2 >>>minor 2.0 >>>year 2005 >>>month 09 >>>day 07 >>>svn rev 35513 >>>language R >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>>______________________________________________ >>>R-help@stat.math.ethz.ch mailing list >>>https://stat.ethz.ch/mailman/listinfo/r-help >>>PLEASE do read the posting guide! >> >>http://www.R-project.org/posting-guide.html >> >>______________________________________________ >>R-help@stat.math.ethz.ch mailing list >>https://stat.ethz.ch/mailman/listinfo/r-help >>PLEASE do read the posting guide! >>http://www.R-project.org/posting-guide.html >> > > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html