[R] error when loading rwinedt
Liaw, Andy
andy_liaw at merck.com
Wed Sep 21 15:11:47 CEST 2005
You cannot install over a package that is currently loaded. Quit R and
restart without loading the RWinEdt package and try again.
Andy
> From: ronggui.wong
>
> >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.
> It does Not for me.
>
> > install.packages("RWinEdt")
> --- Please select a CRAN mirror for use in this session ---
> trying URL
> 'http://www.lmbe.seu.edu.cn/CRAN/bin/windows/contrib/2.2/RWinE
dt_1.7-3.zip'
Content type 'application/x-zip-compressed' length 386098 bytes
opened URL
downloaded 377Kb
package 'RWinEdt' successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package 'RWinEdt'
The downloaded packages are in
C:\Documents and Settings\Bluewater\Local
Settings\Temp\Rtmp23519\downloaded_packages
updating HTML package descriptions
> library(RWinEdt)
Error in library(RWinEdt) : there is no package called 'RWinEdt'
>>>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 at 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
>
= = = = = = = = = = = = = = = = = = = =
致
礼!
ronggui.wong
042045003 at fudan.edu.cn
2005-09-21
More information about the R-help
mailing list