similar to: Support writing UTF-8 output in Windows

Displaying 20 results from an estimated 10000 matches similar to: "Support writing UTF-8 output in Windows"

2012 Jul 22
5
Reorder in decreasing order
reorder() is probably the best way to order the levels in a vector without manually specifying the order. But reorder() orders by default in an increasing order: "The levels are ordered such that the values returned by ?FUN? are in increasing order." Is there a way to do what reorder() does, but order the levels according to a _decreasing_ order of the values? Sverre
2011 Jul 11
2
Extract only the values from a row
Dear helpers, how can I extract only the values from a row in a data frame? Using [X,] doesn't do the trick: > data.frame(letters[1:10],letters[11:20])->my.data > my.data[1,] letters.1.10. letters.11.20. 1 a k I would like to be able to extract only the values "a" and "k" without getting the row names and column names with them.
2011 Jul 17
3
gsub() with unicode and escape character
Dear helpers, I'm trying to replace a character with a unicode code inside a data frame using gsub(), but unsuccessfully. > data.frame(animals=c("dog","wolf","cat"))->my.data > gsub("o","\u0254",my.data$animals)->my.data$animals > my.data$animals [1] "d??g" "w??lf" "cat" It's not that a data
2011 Aug 02
7
Extract names from vector according to their values
Dear helpers, I can create a vector with the priority of the packages that came with R, like this: > installed.packages()[,"Priority"]->my.vector > my.vector base boot class cluster codetools "base" "recommended" "recommended" "recommended" "recommended" compiler datasets
2011 Aug 03
1
Extract rows from a matrix according to value in column
Dear helpers, I'm trying to extract certain rows from a matrix according to the values the rows have in a certain column. I've been googling for a while without result. Here's a reproducible example of a matrix (and the one I was playing with initially): > myrepo<-getOption("repos") >
2011 Aug 15
1
update() ignores object
Hi all, I'm extracting the name of the term in a regression model that dropterm specifies as the least significant one, and I'm assigning this name to an object. However, when I use update(), it ignores this object. Is there a way I can make it not ignore it? A reproducible example is below: > lm(x1~1+y1*y2+y3+y4,data=anscombe)->my.lm >
2011 Jul 14
1
Export Unicode characters from R
Dear helpers, I am not able to export Unicode characters from R. Below is an example where the Unicode character is correctly rendered as long as I am stay within R. When I export it, the character appears only with its basic code, and the same happens when I import it back into R . I'm using R 2.13.1 in Windows XP. > funny.g <- "\u1E21" > funny.g [1] "?" >
2011 Aug 09
1
embedFonts() does not embed fonts?
Dear helpers, I'm trying out the embedFonts() to embed fonts into my pdf files. However, when I inspect the new pdf with a program designed to look for embedded fonts, I see that the fonts have in fact not been embedded. Below are my calls. R version 2.13.1 (2011-07-08) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit)
2005 Apr 07
2
PDC: Logging out from Windows XP SP2 takes a long time
I have samba set up as primary domain controller, and have problems with my Windows XP SP2 machines. Logging in is quick, but most of the time (nine out of ten times) the logout process takes a long time - I do end up rebooting, but once I let it stay and it took a whole hour before it was logged out. It seems to act the same way for all users. Possible sources already eliminated: - I have
2003 Oct 27
1
template homedir confusion
Hi, I have set up Samba 3.0.0 with ADS integration. It works fine, with a workaround for a small oddity. I use template homedirs like this: template homedir = /home/%D/%U On a soon-to-be-retired server running 3.0a19, I have a directory LOCAL (as in LOCAL.DOMAIN.NAME) containing the homedirs - this works as expected from the output of "getent passwd", which shows the homedirs of
2004 Jun 21
1
Syslinux + integrated flash disk
Quick summary: Syslinux stops at "Boot failed". Which, from a quick look at the raw disk image, seems to indicate that the boot sector loads but it fails to load the .sys loader. The details: I've been trying to load Linux (or etherboot...or anything at all that is not NT embedded) into a set of Compaq Evo T20 48/64 for a while now. What I finally managed to do is using the
2004 Jun 14
3
[fdo] UTF-16 support ?
Hi, First, I'm not a specialist of UTF. I've read (http://www.unicode.org/notes/tn12/) that Windows 2000..., Mac OS X, QT/KDE fully support UFT-16. I've just read (http://bugzilla.mozilla.org/show_bug.cgi?id=42893) that Mozilla 1.7 will include an option for UTF-16 webpages. But I don't know about situations of Linux, Gnome or other applications. Why not start pushing adoption
2017 May 02
1
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
On 01/05/2017 8:49 PM, Jack Kelley wrote: > Thanks for looking into this. > > A few notes regarding all the UTF encodings on Windows 10 ... This all stems from the ancient bad decision by Microsoft to translate LF characters to CR LF when writing text files. R passes 0A or 0A 00 or 0A 00 00 00 to the output routine (part of the C run-time), and it needs to figure out how many
2009 Oct 05
2
Visualizing some data
Hi all, I have an easy data set. It has three columns: Subject, Condition, dprime. A small excerpt follows, in order to illustrate: Subject Condition dprime HY s 3.725846 CM s 2.877658 EH s 5 HY st 2.783553 CM st 2.633955 EH st 5 I want to visualize this. What I thought of was having dprime on the y-axis (scale 0-5), Subject on the x-axis, and then two lines plotted to show the dprime value for
2005 Jan 21
1
Why does nobody answere??? WG: username map - same problem
regards Mathias Wohlfarth EDV-Beratung Thomas-Mann-Str.1 53111 Bonn Tel. +49 172 / 53 45 591 +49 1801 / 777 555 33 01 Fax +49 228 / 9469181 Email mathias.wohlfarth@mw-eb.de ----- Weitergeleitet von Mathias am 21.01.2005 10:40 ----- Mathias.Wohlfarth@mw-eb.de Gesendet von: samba-bounces+mathias.wohlfarth=mw-eb.de@lists.samba.org 19.01.2005 17:35 An: Bj?rn-Sverre N?ttum
2017 May 01
3
Any progress on write.csv fileEncoding for UTF-16 and UTF-32 ?
On 30/04/2017 12:23 PM, Duncan Murdoch wrote: > No, I don't think anyone is working on this. > > There's a fairly simple workaround for the UTF-16 and UTF-32 iconv > issues: don't attempt to produce character vectors, produce raw vectors > instead. (The "toRaw" argument to iconv() asks for this.) Raw vectors > can contain embedded nulls. Character vectors
2015 Feb 19
0
CentOS6: ntfs-3g and writing utf-8 filenames
Hello there, I know this has been widely discussed over the net, but I still can't find a way to write a file whose name contains accented characters in ntfs-3g partitions that are automatically mounted on my CentOS6 system. Whatever my locale is POSIX, en_US or en_US.utf8, I always get a: Invalid or incomplete multibyte or wide character error when I attempt to create a directory or a
2006 Nov 23
2
writing character to a file in UTF-8
Dear lister, I would like to now if there a universal way to writing a character vector to a file in UTF-8 encoding? By " universal", I mean a way which works under Linux, Windows and Mac. Thanks in advance! -- Ronggui Huang Department of Sociology Fudan University, Shanghai, China
2011 Feb 17
1
Problem with writing a file in UTF-8
Hello, I am working with a data frame containg character strings with many special symbols from various European languages. When writing such character strings to a file using the UTF-8 encoding, some of them are converted in a strange way. See the following example, run in R 2.12.1 on Windows 7: out <- file( description="out.txt", open="w", encoding="UTF-8")
2010 May 19
1
Multiple language output - Correct in RGui, wrong in .txt after sink()
I have the following problem with outputting multilingual data to a file. I get (except for Korean) what I expect as result in the RGui, but when I use sink() to output to a text file loose the characters in the foreign languages. I post a small example below. Since I am not sure how well my email system as the list copes with all the different characters I have additionally created a pdf