Re: [R] error when loading rwinedt

From: ronggui.wong <042045003_at_fudan.edu.cn>
Date: Thu 22 Sep 2005 - 00:03:31 EST


> 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/RWinEdt_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

The downloaded packages are in

        C:\Documents and Settings\Bluewater\Local Settings\Temp\Rtmp3392\downloaded_packages updating HTML package descriptions
> library(RWinEdt)

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'         

>You cannot install over a package that is currently loaded. Quit R and
>restart without loading the RWinEdt package and try again.

have done as you suggest,but still errors.

>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@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
>>
>
>= = = = = = = = = = = = = = = = = = = =
>
>
>$B!!!!!!!!!!!!!!!!CW(J
>$BNi!*(J
>
>
>$B!!!!!!!!!!!!!!!!(Jronggui.wong
>$B!!!!!!!!!!!!!!!!(J042045003@fudan.edu.cn
>$B!!!!!!!!!!!!!!!!!!!!(J2005-09-21
>
>
>
>
>------------------------------------------------------------------------------
>Notice: This e-mail message, together with any attachments...{{dropped}}



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 Received on Thu Sep 22 01:05:46 2005