Displaying 20 results from an estimated 1842 matches for "1252".
Did you mean:
1,52
2017 Jun 23
2
LC_TIME not set correctly by Sys.setlocale() ?
...to the new
setting after use of Sys.setlocale(), as.Date() still uses the old
settings. The only way to update this is by specifically using LC_TIME.
Is this a bug or am I overlooking something?
Example:
> Sys.setlocale(locale = "French_Belgium")
[1]
"LC_COLLATE=French_Belgium.1252;LC_CTYPE=French_Belgium.1252;LC_MONETARY=French_Belgium.1252;LC_NUMERIC=C;LC_TIME=French_Belgium.1252"
> date <- "Dec-11"
> as.Date(date, format = "%b-%d")
[1] NA # expected
> Sys.setlocale(locale = "English_United Kingdom")
[1] "LC_COLLATE=Eng...
2007 Oct 10
2
download.file not working
..."whodem.xls")
trying URL 'http://www.who.int/entity/whosis/whostat2006_demographics.xls'
Content type 'application/vnd.ms-excel' length 77824 bytes
opened URL
downloaded 76Kb
> sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32
locale:
LC_COLLATE=Swedish_Sweden.1252;LC_CTYPE=Swedish_Sweden.1252;LC_MONETARY=Swedish_Sweden.1252;LC_NUMERIC=C;LC_TIME=Swedish_Sweden.1252
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
[7] "base"
other attached p...
2013 Feb 04
4
rJava works with 32-bit but not 64
...va and make sure R and Java have matching architectures.")
error: object 'key' not found
Error: package/namespace load failed for 'rJava'
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
>
##########################
> library(rJava)
> sessi...
2017 Jun 23
0
LC_TIME not set correctly by Sys.setlocale() ?
...t.
Since Windows does not have a usable strptime C function, a substitute
is used and its handing of non-English names is not done through the
OS's locale mechanism.
> Example:
>
>> Sys.setlocale(locale = "French_Belgium")
> [1]
> "LC_COLLATE=French_Belgium.1252;LC_CTYPE=French_Belgium.1252;LC_MONETARY=French_Belgium.1252;LC_NUMERIC=C;LC_TIME=French_Belgium.1252"
>
>> date <- "Dec-11"
>
>> as.Date(date, format = "%b-%d")
> [1] NA # expected
>
>> Sys.setlocale(locale = "English_United Kingdom...
2012 Sep 08
3
Can I make spss.get reencode from Windows-1252?
Hi all. I have an SPSS file that I'm loading into R with the Hmisc spss.get function. The trouble is that the SPSS file uses the Windows-1252 character set (which I think is the default for SPSS on Windows) instead of plain-ol' Latin-1, and since spss.get doesn't allow me to pass the "reencode" option to read.spss, any characters in Windows-1252 that are not a part of Latin-1 (such as curly quotes, en-dashes, and a hand...
2011 Mar 30
2
problem with png() and large dimensions on some 32-bit Windows machines
...2983) :
Unable to allocate bitmap
2: In png(file = tempfile(), width = 1165, height = 12983) :
opening device failed
>
On the following system:
> sessionInfo()
R version 2.13.0 alpha (2011-03-18 r54865)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
This is a Windows Server 2003 R2 Enterprise Edition Service Pack...
2016 Apr 05
2
Under Windows, Rgui and Rterm crash if one tries to close the graphic device while identify or locator are running
...s PC (one with Win 8.1
and one with Win 10).
I did not see the problem in linux (see below)
WINDOWS **************
> sessionInfo()
R version 3.3.0 beta (2016-04-04 r70420)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 10586)
locale:
[1] LC_COLLATE=Italian_Italy.1252 LC_CTYPE=Italian_Italy.1252
[3] LC_MONETARY=Italian_Italy.1252 LC_NUMERIC=C
[5] LC_TIME=Italian_Italy.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
> sessionInfo()
R version 3.2.2 Patched (2015-09-29 r69441)
Platform: x86_64-w64-mingw32/x64...
2012 Aug 06
2
Windows 7 and .libPaths()
...aths()
[1] "C:/Program Files/R/win-library" "C:/Program
Files/R/win-library/2.14"
[3] "C:/Program Files/R/R-2.14.1/library"
>
> sessionInfo()
R version 2.14.1 (2011-12-22)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=Portuguese_Portugal.1252 LC_CTYPE=Portuguese_Portugal.1252
[3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C
[5] LC_TIME=Portuguese_Portugal.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
#--------- R-2.15.0
> .libPaths()
[1] "C:/Program Files/R/R-2.15.0/li...
2007 Jan 23
6
can't plot a line
Consider the following:
plot(0, 0, xlim=c(-10, 10), ylim=c(-50, 50))
lines(c(0,0), (2*c(-pi, pi))^2)
I see no line in this plot.
R version 2.4.1 (2006-12-18)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods"
[7] "base...
2009 Nov 16
3
R crash with intToUtf8 on huge vectors (PR#14068)
...sional Version 2002 Service Pack 2
Submission from: (NULL) (217.111.3.131)
Typing the following command into R --vanilla causes R to crash:
k <- intToUtf8(rep(1e3,1e7))
This is the output of sessionInfo():
R version 2.10.0 (2009-10-26)
i386-pc-mingw32
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices datasets utils methods base
other attached packages:
[1] RODBC_1.3-1
Many thanks for your...
2013 Mar 20
0
Character Encoding: Why are valid Windows-1252 characters encoded as invalid ISO-8859-1 characters?
...I should submit as a bug, if not, why
this behavior is intended.
Using RGui v2.15.3, 64bit, on a Windows 7 machine with US English locale
You can see the behavior I describe in the following
--------------------
> Sys.getlocale("LC_CTYPE") # my default encoding is windows code page 1252
[1] "English_United States.1252"
> localeToCharset() # R thinks the best character set to use is ISO8859-1,
a subset of windows-1252
[1] "ISO8859-1"
> x<-"\x92" # I create a 'right quote' character, using a value valid in
windows-1252 but NOT VALID i...
2011 Aug 09
1
embedFonts() does not embed fonts?
...ot;, format = "pdfwrite", outfile = "test_em.pdf",fontpaths =
"C/Windows/Fonts")
>
> Sys.unsetenv(x = "R_GSCMD")
>
> sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.12...
2017 Jun 05
2
months not working with local language (weekdays does)
...ected).
My understanding is that both work with local language. What may be
happening?
My Session Info:
R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale:
[1] LC_COLLATE=Spanish_Peru.1252
[2] LC_CTYPE=Spanish_Peru.1252
[3] LC_MONETARY=Spanish_Peru.1252
[4] LC_NUMERIC=C
[5] LC_TIME=Spanish_Peru.1252
attached base packages:
[1] stats graphics grDevices utils datasets
[6] methods base
other attached packages:
[1] anytime_0.2.2 ggplot2_2.2.1.9000 lubridate_1.6.0
[4]...
2015 Aug 07
3
download.file() on ftp URL fails in windows with default download method
...R-devel.
This does not happen on Windows Server 2008 but it happens on Windows Server 2012.
Dan
> sessionInfo()
R version 3.2.2 beta (2015-08-05 r68859)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows Server 2012 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
2007 Jun 26
3
possible bug in 'scan'
...","numeric"),
sep=",")
Then tmp[[2]] is a character vector. My impression from the help file
is that it should be a numeric as specified by 'what'
> sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets"
"methods" "base"...
2010 Nov 11
3
User input after opening graphing device
If I run the following:
> windows()
>
> bringToTop(-1)
>
> interactive()
[1] TRUE
>
> run <- readline(prompt = "Continue (Yes = 1, No = 2):")
Continue (Yes = 1, No = 2):
> dummy <- 1
> run
[1] ""
it does not allow user input though the session is interactive (it jumps right over the readline command).
It would be great
2008 Feb 25
1
RWinEdt Install issue
...ither reinstall WinEdt or install R-WinEdt manually as described in the ReadMeError : .onAttach failed in 'attachNamespace'Error: package/namespace load failed for 'RWinEdt'
> sessionInfo()R version 2.6.2 (2008-02-08) i386-pc-mingw32
locale:LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):[1] RWinEdt_1.7-9 tools_2.6.2
I tr...
2020 Apr 07
4
Hard memory limit of 16GB under Windows?
...HTML browser interface to help.
Type 'q()' to quit R.
> memory.limit()
[1] 1.759219e+13
> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
locale:
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252
LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.3 tools_3.6.3
>
--- RGui
R ver...
2009 Oct 13
2
Sweave output encoding in R-2.10.0beta on Windows (Rgui <-> Rterm)
...ill try to attach the .rnw - file as well as the resulting .tex -
files (and hope, that the attachements pass through).
Best wishes,
Martin
sessionInfo() for R-2.9.2pat (same for Rgui, R, Rterm):
R version 2.9.2 Patched (2009-09-24 r50041)
i386-pc-mingw32
locale:
LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
sessionInfo() for R-2.10.0beta (same for Rgui, R, Rterm):
R version 2.10.0 beta (2009-10-11 r50037)...
2017 Jun 05
2
months not working with local language (weekdays does)
...(x)
> [1] "segunda-feira"
> > sessionInfo()
> R version 3.4.0 (2017-04-21)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 7 x64 (build 7601) Service Pack 1
>
> Matrix products: default
>
> locale:
> [1] LC_COLLATE=Portuguese_Portugal.1252
> LC_CTYPE=Portuguese_Portugal.1252
> [3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C
>
> [5] LC_TIME=Portuguese_Portugal.1252
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> loaded via a namespace (and not atta...