ligges@statistik.uni-dortmund.de
2002-Apr-09 06:15 UTC
[Rd] symbol ¢ that stands for "cents" crashes R ( (PR#1445)
hammour@msn.com wrote:> > Full_Name: Ahmad Abu Hammour > Version: 1.4.1 > OS: windows 98 > Submission from: (NULL) (206.216.65.147) > > I wanted to make a plot with axis y labeled as "Exchange Rate (in US ¢)". Just > as follows: > > plot(ts(data0$uscrx,start=c(1975,1),freq=4),plot.type="single", > ylab="Exchange Rate (US¢)",main="(e) Canada-US Dollar Exchange Rate") > > R stops after the word "US" and the following error message appears: > > "This program has performed an illegal operation and will be shut down. > > RGUI caused an invalid page fault in > module MSVCRT.DLL at 0167:7801447b. > Registers: > EAX=0091007a CS=0167 EIP=7801447b EFLGS=00010246 > EBX=00e23e5e SS=016f ESP=008ff7ac EBP=008ff808 > ECX=ffffffa2 DS=016f ESI=00e22188 FS=18cf > EDX=8160b024 ES=016f EDI=008ff7f8 GS=0000 > Bytes at CS:EIP: > 66 8b 04 48 25 57 01 00 00 c3 e8 82 ce fe ff 8b > Stack dump: > 0041358c ffffffa2 00000010 008ff808 0041356e 00e45b0c 00e45b0c 02000ec0 008ff7ec > 00e70d80 00e75b70 008ff8c8 004afb42 00e73dd0 00e73dd0 008ff818" > > If the symbol replaced by the word "cents", the plot executed without any > hassle.Have you tried "R for Windows FAQ" 2.12 ("Entering certain characters crashes Rgui.")? "This seems to happen occasionally, and all the occurrences we have solved have been traced to faulty versions of msvcrt.dll. Try extracting the one to be found in the self-extracting archive ftp://ftp.microsoft.com/softlib/mslfiles/msvcrt.exe and put it in the rw1041\bin directory. Removing msvcrt.dll from that directory reverts to the standard behaviour. This fix has solved other problems too, for example incorrect results in the date-time functions." For me it works on WinNT4 perfectly. Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._