similar to: Possible bug?

Displaying 20 results from an estimated 10000 matches similar to: "Possible bug?"

2006 Oct 05
1
Bug in 2.4.0 Windows menu setup (PR#9277)
I've tracked down where this is occurring, but I don't know how to fix it. Here's a summary: If the language in Windows is set to simplified Chinese (i.e. Chinese (PRC)) and message translations are installed, then on startup Rgui crashes when it tries to install the console popup menu. The crash comes when it gets an error trying to do a conversion using mbrtowc, and tries to
2018 Mar 08
2
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
Hello everyone, I am new to R and I have experienced some bugs when using Rterm on Windows. Chinese characters in the console output are discarded by Rterm, and trying to type them into the console will crash the Rterm application. ---ENVIRONMENT--- Platform = x86_64-w64-mingw32 OS = Windows 10 Pro 1709 chs R version = 3.4.3 Active code page = 936 (Simplified Chinese) ---STEPS TO
2018 Apr 28
2
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
Hi Tomas, Sorry for the delayed response. I have tested the problem on the latest R-devel build (2018-04-27 r74651), and it still exists. RGui is always fine with Chinese characters, but some IDEs rely on the CLI version of R (e.g. Visual Studio Code with R plugin). >Your example print("ABC\u4f60\u597dDEF") is printing two Chinese characters, right? Yes. U+4F60, U+597D or C4E3,
2006 Oct 20
2
how to replace the second "-"
I have a string vector like these: [1] "1-1-1" "1-1-2" "1-2-1" And I wanna replace the second "-" with "0", that is, I wanna get the result like: [1] "1-101" "1-102" "1-201". How should I write the Regular Expressions? Thanks! -- »ÆÈÙ¹ó Department of Sociology Fudan University [[alternative HTML version deleted]]
2023 Aug 11
3
R-4.3 version list.files function could not work correctly in chinese
???? ????R-4.3???????????R??????list.files??????????????????????BUG???????????????????????????? r4.3????dir????????????????? - COS??? | ?????? | ?????????????? (cosx.org)<https://d.cosx.org/d/424356-r43ban-ben-zhong-dirhan-shu-huo-qu-bu-liao-quan-bu-wen-jian/11> ??????????????????????? [[alternative HTML version deleted]]
2005 Feb 07
2
RODBC working in Rgui but not Rterm
Hello Users: I'm using R version 2.0.1, and having problems with RODBC. Everything works fine when I use Rgui, but when I try to use Rterm and issue the commands library(RODBC) con <- odbcConnect("MySQL", "test") I get the following error: Error in sqlQuery(con, str) : first argument is not an open RODBC channel In addition: Warning messages:
2009 Oct 13
2
Sweave output encoding in R-2.10.0beta on Windows (Rgui <-> Rterm)
Dear developers, I have come across a (somewhat strange) change in the encoding of Sweave output from R-2.9.2pat to R-2.10.0beta (apparently specific to Rgui) on Windows installations. Of course, the NEWS file contains quite a few changes concerning encoding, but I was not able to locate an entry which explains the observed behaviour. I am not very familiar with encodings/locales/codepages,
2008 May 14
2
basename/dirname produce incorrect results
The incorrect result incurs when the file path contains Chinese character. It seems that dirname/basename action on unit of byte instead of char, so the result in the following example is half of what is expected. > g<-"d:\\$BG!2L4^M-CfJ8(B\\$BG!2L4^M-CfJ8(B.txt" > dirname(g) [1] "d:/$BG!2L4^(B" > basename(g) [1] "$BG!2L4^M-(B" -- HUANG Ronggui,
2003 Nov 03
2
Problem with batch-file
Hi I have written a graphical user interface using tcltk. Now I would like to run it under rterm.exe with a batch file. I tried the following code written in a .bat file: d:\R\rw1071\bin\Rterm.exe --no-restore --no-save <d:\RGui.r> d:\RGui.out The problem is that rterm does open but the gui isn't running properly. After a few seconds rterm is closeing without doing anything more
2001 Oct 12
1
RGui innards questions
Hi, i would like to find out more on how Rgui works. Is there any documentation that details how RGui interfaces with the R language & environment. So, i would like to know things such as: - What language is RGui built in (source available?) - What language is RTerm built in? - how does the output of an R command get directed to the terminal window in RGui? It seems to me that RGui is RTerm
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
Yes, I participated in the discussion. Basically dir() failed to list all files since R 4.3.0 when filenames start with Chinese characters. I don't have a Windows machine to test it, but this might be a minimal reproducible example: file.create("????.R") dir() The OP said dir() would return "????.R" in R.4.2.2 but not in R 4.3.0. In the same discussion another person
2006 Nov 02
3
CRAN task views work only once per session (PR#9330)
Cran task views seems to be a "once-per-session" process -- the first attempt to access views in a (RGui for Windows) session works, but subsequent attempts fail. There is a noticeably long pause before the failing call returns. Example session with two calls to "available.views" follows, but similar effects have been observed with two calls to "install.views" and
2006 May 04
3
Rgui, Startup, HOME, R_USER, ...
Hi, Main objective: Let Rgui find my ~/.Rprofile and ~/.Renviron files, where ~ is equal to getwd("~"). I have few comments/questions: (A) On my WinXP Pro installation, the system environment variable 'HOME' is not availble to R, e.g. Sys.getenv("HOME") is empty. I believe this is default case (correct me if I'm wrong). However, if I set the "Start
2006 Mar 17
4
cat(), Rgui, and support for carriage return \r...
Hi, and thanks in advance for your time. Background - I am working on a package and wish to have a routine's progress reported. The routine can take some time, and I would like to inform the user about the routine's progress. I have scoured the archives but to no avail, so would like to solicit input from this list. I am successfully using cat("\rBootstrap replication ", i,
2006 Oct 29
2
Rgui.exe fix for "console not found" buffer overflow problem
I'm using R on Windows XP Professional SP2. I figured out the fix for my buffer overflow problem that did not allow me to use Rgui.exe for about two weeks. I would keep getting "console not found" and even when I uninstalled and re-installed got the same problem. Here's how the problem started. In Rgui.exe, I attempted to get more visible output in the buffer (I wanted
2009 Sep 12
2
could not find function "Varcov" after upgrade of R?
After upgrading R to 2.9.2, I can't use the anova() fuction. It says "could not find function "Varcov" ". What's wrong with my computer? Help needed, thanks! Yao Zhu Department of Urology Fudan University Shanghai Cancer Center No. 270 Dongan Road, Shanghai, China [[alternative HTML version deleted]]
2003 Oct 21
1
Console in RGui does not do CR on \r (PR#4705)
Full_Name: David Lennartsson Version: 1.7.1, 1.8.0 OS: Windows XP Submission from: (NULL) (62.119.45.80) A very minor bug, but here it comes. On doing something as simple as cat("1st test string\r2nd\n") the console in RGui on Windows do not perform a CR on '\r'. This is very annoying if you for example want to have a simple progress meter when running a batch job. It works
2000 Jul 13
1
Is this a bug?
I am new to R (and S) and I hope someone on the list can help me out. I find the following behaviour surprising, is it a bug or a feature? (looks like a bug to me) R Version 1.1.0, Windows (x86, Win32) June 15, 2000 OS Windows 95 cat.test <- function(){ summary(c(1:20)) cat("test\n") } summary produces no output, just "test" appears on RGUI's
2005 Oct 13
2
R, Wine, and multi-threadedness.
Hi, I managed to install Win32 R 2.2.0 with the CRAN Innosetup installer under Wine on x86 linux a few days ago. However, on trying to run it, MSVCP60.DLL is missing. So here is a sort of a bug report, and a couple of questions: (1) I think the R binary in the CRAN Innosetup installer was built with mingw. The R-windows FAQ did mention that this DLL is required *for Chinese/Japanese/Korean*
2011 Jun 07
1
Cases of TAB-completion that hang Rterm
FYI, via a bug report of one of my packages, I discovered that the following cases will hang Rterm when using TAB completion: CASE #1: Adding an empty default function for tail() causes Rterm on Windows to hang if one press TAB at the prompt: % Rterm -vanilla > tail.default <- function(...) {} > [PRESS TAB] Error in specialOpLocs(text) : (list) object cannot be coerced to type