Displaying 20 results from an estimated 100000 matches similar to: "Capitalize and foreign characters?"
2010 Mar 18
1
capitalize and utf8 international symbols
Hi there,
Being a relatively happy Rails user I suddenly noticed that
string#capitalize and friends do not play well with international
characters well. Sample console session:
$ ./script/console
Loading development environment (Rails 2.2.3)
>> $KCODE
=> "UTF8"
>> "яблоко".capitalize
=> "яблоко"
Where "Яблоко" was expected (Russian word
2011 Jul 14
1
Correct behavior of Hmisc::capitalize()?
Hi,
from example(capitalize) of the Hmisc package (v 0.8.3) you get:
> capitalize(c("Hello", "bob", "daN"))
[1] "Hello" "Bob" "daN"
Is that "daN" correct?
If so, then this behavior that only *all lowercase strings*, which the
code indicates, will be capitalized is not documented.
> Hmisc::capitalize
function
2010 Dec 15
3
How to apitalize leading letters & else of personal names?
Dear R world,
Do you know about a function that would capitalize in the correct manner
first and family names?
I found in the cwhmisc only the CapLeading function, but it just does not do
the job, taking care only to capitalize the first letter of a word.
I am looking for a function that would recognize " |'|Mc|-" and capitalize
the first letter following these characters.
An
2008 Jun 21
1
DO NOT REPLY [Bug 5554] New: File has vanished for files with foreign/unicode characters
https://bugzilla.samba.org/show_bug.cgi?id=5554
Summary: File has vanished for files with foreign/unicode
characters
Product: rsync
Version: 2.6.9
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2017 May 09
0
source(), parse(), and foreign UTF-8 characters
On 09/05/2017 3:42 AM, Kirill M?ller wrote:
> Hi
>
>
> I'm having trouble sourcing or parsing a UTF-8 file that contains
> characters that are not representable in the current locale ("foreign
> characters") on Windows. The source() function stops with an error, the
> parse() function reencodes all foreign characters using the <U+xxxx>
> notation. I have
2017 May 09
1
source(), parse(), and foreign UTF-8 characters
On 09.05.2017 13:19, Duncan Murdoch wrote:
> On 09/05/2017 3:42 AM, Kirill M?ller wrote:
>> Hi
>>
>>
>> I'm having trouble sourcing or parsing a UTF-8 file that contains
>> characters that are not representable in the current locale ("foreign
>> characters") on Windows. The source() function stops with an error, the
>> parse() function
2006 May 17
2
Association data clobbering (foreign keys too?)
Can someone please confirm or correct the following statements?
If I have the following tables
create table as (id int, [...], b_id int);
create table bs (id int, [...], a_id int);
create table as_bs (a_id int, b_id int);
and the associations woould be defined like this
class A << ...
habtm :bs
belongs_to :b
end
so my Model A has a habtm collection of Bs *plus* a direct
2017 May 09
2
source(), parse(), and foreign UTF-8 characters
Hi
I'm having trouble sourcing or parsing a UTF-8 file that contains
characters that are not representable in the current locale ("foreign
characters") on Windows. The source() function stops with an error, the
parse() function reencodes all foreign characters using the <U+xxxx>
notation. I have added a reproducible example below the message.
This seems well within the
2001 Aug 27
1
foreign characters in R plots
Hi,
I am sorry to bother you with such a (presumably) simple question, but I
have spent a couple of hours browsing the net and R documentation and came
up with no answer to it. My problem is that I need to use Latin2 (ISO8859-2)
characters in my plots. Adding an encoding="..." parameter to the postscript
function does not solve the problem, as the characters still don't show up.
2006 Mar 05
1
capitalize each word in a string
How do you capitalize each word in a string? Essentially, Ruby''s
version of PHP''s ucwords()? Thanks.
--
Posted via http://www.ruby-forum.com/.
2010 Oct 20
1
Problem exporting data using write.foreign
My question is about the write.foreign() command in the foreign
package. I use a command like the following to try and output data
and a code file to read my data into SAS.
write.foreign(data.frame.object, datafile="filepath",
codefile="filepath", package="SAS", dataname="myData")
With my data set, it gives the following error:
Error in
2024 Jun 06
1
Bug report for package foreign anf functon write.foreign
Dear all,
First of all, I thank you for the creation of the package.
I write this message concerning the write.foreign() function from the foreign package and a bug that I discovered.
When we want to save our dataset as a .sas file, the limit of variable names character is 8 by default. In SAS this limit is 32 character and an argument in the function, validvarname, can theorically switch the
2006 Apr 13
0
text_field_with_auto_complete and foreign characters
I need a form where the user must enter a city name. I would like to use
an autocomplete_field for the city name, so I have the following code in
my view:
<%= text_field_with_auto_complete ''entry'', ''city_name'', :size => 40 %>
and in my controller I have the method:
def auto_complete_for_entry_city_name
@cities = City.find(:all,
2001 Aug 27
0
Re: [R} foreign characters in R plots
I actually did think they were decimal :). Everything works fine now, thanks a million for your help. And sorry for taking your time with something that was actually a result of my carelessness...
Kuba Fast
--
OnetKomunikator - porozumiesz sie
z innymi [ http://ok.onet.pl/instaluj.html ]
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
2003 Aug 27
4
read.spss (package foreign) and character columns
Dear R users!
I am using R Version 1.7.1, Windows XP, package "foreign" (Version: 0.6-1),
SPSS 11.5.1.
There is one thing I noticed with "read.spss", and I'd like to ask if this
is considered to be a feature, or possibly a bug:
When reading character columns, character strings seem to get filled with
blanks at the end.
Simple example:
In SPSS, create a file with one
2006 Nov 24
1
Fwd: Dates Conversion/write.foreign
---------- Forwarded message ----------
From: Shubha Vishwanath Karanth <shubhak at ambaresearch.com>
Date: Nov 24, 2006 7:54 PM
Subject: Dates Conversion/write.foreign
To: Shubha Karanth <shubhakaranth at gmail.com>, Shubha Vishwanath
Karanth <shubhak at ambaresearch.com>
Hi R experts,
I need an urgent help...
I have an a dataframe caled idat. Below i give a snapshot
2009 Mar 06
1
Fix for foreign package segfault on Solaris 10 Intel
Like a couple of other posters in the past year, I was seeing R 2.8.1
segfault in the foreign package on my Solaris 10 Intel system:
> library(foreign)
*** caught segfault ***
address fe1d5c70, cause 'invalid permissions'
Traceback:
1: .C("spss_init", PACKAGE = "foreign")
2: fun(...)
This happened whether I
2006 Oct 12
1
Problems with package foreign (r-cran-foreign)
On 12 October 2006 at 13:02, Gregor Gorjanc wrote:
| Hello!
|
| I encounter the following problem when I try to load package foreign
|
| library(foreign)
| Error in dyn.load(x, as.logical(local), as.logical(now)) :
| unable to load shared library '/usr/lib/R/library/foreign/libs/foreign.so':
| /usr/lib/R/library/foreign/libs/foreign.so: undefined symbol:
| Rf_allocString
| Error:
2005 Jun 24
1
Capitalize the title in DESCRIPTION files? (PR#7969)
Full_Name: David Firth
Version: 2.1.1
OS: Mac OS X
Submission from: (NULL) (137.205.240.25)
A small inconsistency in the "Writing R Extensions" manual: at
http://cran.r-project.org/doc/manuals/R-exts.html#The-DESCRIPTION-file
the displayed example has
Title: My first collection of functions
but the text that follows it says "The Title field...should be capitalized",
2012 Oct 06
1
Dovecot & pam issues
I'm replacing my old Fedora 7 mail server with a new one running
CentOS6.3. The old server uses plain-text logins and password for pop3
and IMAP.
I'm unable to get dovecot to authenticate. It's failing the password check.
Trying 192.168.1.50...
Connected to orion (192.168.1.50).
Escape character is '^]'.
+OK orion.crucis.net Dovecot ready.
user joe
+OK
pass abcdefg
-ERR