Displaying 20 results from an estimated 169 matches for "coverting".
Did you mean:
converting
2020 Oct 20
5
write.csv covert Åland to <c5>land
Hi there,
I tried to export the names of country to a csv file with write.csv().
In the resulted file, ?land was coverted to <c5>land. Is there any way
could prevent this happening? Thanks!
> abc
[1] "?land"
> write.table(abc, file = "")
"x"
"1" "<c5>land"
Best,
Jinsong
2020 Oct 20
0
write.csv covert Åland to <c5>land
?file.write()
look for fileEncoding?
el
On 20/10/2020 11:13, Jinsong Zhao wrote:
> Hi there,
>
> I tried to export the names of country to a csv file with write.csv(). In the resulted file, ?land was coverted to <c5>land. Is there any way could prevent this happening? Thanks!
>
>> abc
> [1] "?land"
>> write.table(abc, file = "")
>
2020 Oct 20
1
write.csv covert Åland to <c5>land
It looks like an encoding problem.
It works fine for me with R encoding set to UTF-8
Here is part of my sessionInfo() results
[1] LC_CTYPE=en_CA.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_CA.UTF-8 LC_COLLATE=en_CA.UTF-8
[5] LC_MONETARY=en_CA.UTF-8 LC_MESSAGES=en_CA.UTF-8
I would suggest issuing the command
sessionInfo()
and seeing what your encoding is.
On Tue, 20 Oct 2020 at 08:22,
2020 Oct 20
0
write.csv covert Åland to <c5>land
Hi there,
Why the same string is displayed in different form?
> abc[,1]
[1] "?land" "Afghanistan"
> abc
name
1 <c5>land
2 Afghanistan
And more...
> dput(abc, "aa.txt")
> dget("aa.txt")
name
1 <c5>land
2 Afghanistan
> dget("aa.txt")[,1]
[1] "<c5>land"
2020 Oct 20
2
write.csv covert Åland to <c5>land
On 2020/10/20 17:23, Dr Eberhard W Lisse wrote:
> ?file.write()
>
> look for fileEncoding?
>
> el
>
There is no file.write(). I have tried fileEncoding = "utf8" and
"latin1" in write.csv(). However, it does not have effect. The output is
is <U+00C5>land or <c5>land.
Best,
Jinsong
> On 20/10/2020 11:13, Jinsong Zhao wrote:
>> Hi
2020 Oct 20
1
write.csv covert Åland to <c5>land
You don't say, but I'd guess you're using Windows. In your code page,
the character ? is probably not representable. At some point in the
sequence of operations involved in printing the dataframe R puts the
string into the native encoding, and since that's impossible on your
system, it substitutes the <c5> instead. The fact that you can
sometimes display it is because
2020 Oct 20
0
write.csv covert Åland to <c5>land
Apologies,
I meant
?write.table()
el
On 20/10/2020 12:38, Jinsong Zhao wrote:
> On 2020/10/20 17:23, Dr Eberhard W Lisse wrote:
>> ?file.write()
>>
>> look for fileEncoding?
>>
>> el
>>
>
> There is no file.write(). I have tried fileEncoding = "utf8" and
> "latin1" in write.csv(). However, it does not have effect. The
2009 Mar 29
2
if does not covert raw to logical (PR#13630)
Full_Name: Wacek Kusnierczyk
Version: 2.8.0 and 2.10.0 r48242
OS: Ubuntu 8.04 Linux 32 bit
Submission from: (NULL) (80.202.30.36)
The following raises an error:
if (as.raw(1)) 1
# error: unimplemented type 'raw' in 'asLogical'
However, ?'if' says:
"
Arguments:
cond: A length-one logical vector that is not 'NA'. Conditions of
length
2018 Apr 09
5
convert numeric variables to factor
Dear Sir,
I have xlsx data set which I have imported to R studio. Now some of the variables are defined as numeric but I want define them as factor variable so that I run classification algorithm in R.
Please to covert the variables.
Thanks and Regards
Abu Afzal
PhD Eco
JNU
India
2004 Aug 25
4
YAAN (Yet Another Asterisk Newbie)
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 22070 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040825/7e2ec684/attachment.bmp
2005 Sep 12
3
Covert list of list to dataframe for export or outputting by(test) output
Greetings,
I am running a buch of wilcox tests and need to be able to rapidly
export the results into a csv file. I have attached example code as well
as my attempts to get what I need. I have tried unlist,cbind,rbind etc
but I am obvously missing something simple. FYI I am actually running
about 50 WRS tests per dataset, this is just an example.
Thanks 10^6
Mike
AKCCR <-
2016 Apr 07
0
using apply to a data frame
??I would like to apply a function, fract, to the columns of a
dataframe. I tried the following
apply(data5NonEventEpochs,2,fract)
but, no surprise it did not work as apply works on matrices not data
frames. How can I apply a fuction to the columns of a data frame? (I
can't covert data5NonEventsEpochs to a matrix as it contains character
data).
Thank you,
John
John David Sorkin M.D., Ph.D.
2011 Mar 02
3
haml to erb - does it work with new html5 tags?
Hi,
I wanted to covert all my erb over to haml, but I use HTML5 tags like
nav, section, article, etc. Any idea if this is supported by haml?
Checked out their site, nothing mentioned there or did I miss
something. Sorry noob here.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2015 May 12
2
[LLVMdev] how to do make a FP_ROUND need/operattion
Hi Guys,
I and trying to covert a float to a f16.
calling
DAG.getNode(ISD::FP_ROUND, DL, Op->getValueType(0), FloatNode);
will get the error message:"Invalid method to make FP_ROUND node"
what is the "right" way to make this work?
best
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 06
2
Transcoding g.711 -> g.729
Hello,
I have an asterisk server running with 23 g.729 licenses. I have
also purchased a sound file from thevoice.digium.com. I need to
covert this file (uLaw, PCM I think) to g.711, g.729 & g.723 for use
with an IVR system. Is there a way I can convert the files using the
g.729 digium codec? sox?
Thanks
-Matt
--
Matthew S. Crocker
Vice President
Crocker Communications,
2012 Feb 15
1
Detecting Co-residency of VMs on KVM
I am doing an experiment which involves detecting co-resident VMs (testing
if 2 VMs are on the same physical machine) on KVM. I have tried using cache
covert channel, but this test does not work if the VMs are on different
processors within the same host as the caches are not shared then. If I use
the tools netperf and iperf to differentiate using network channels, I am
not getting clear results.
2006 Apr 27
3
gmane?
Hi All,
I recently found gmane
http://gmane.org/
It's a system to covert mail to news and back, with the nice property of
keeping
a searchable archive... Very convenient if you are subscribed to many lists
and
don't want to have your mail box cluttered. I use it to read several mailing
lists already, but R is not available there.
I wonder if the admins know about gmane and if they
2011 Apr 27
6
Assignments inside lapply
Dear all I would like to ask you if an assignment can be done inside a lapply statement.
For example
I would like to covert a double nested for loop
for (i in c(1:dimx)){
for (j in c(1:dimy)){
Powermap[i,j] <- Pr(c(i,j),c(PRX,PRY),f)
}
}
to something like that:
ij<-expand.grid(i=seq(1:dimx),j=(1:dimy))
unlist(lapply(1:nrow(ij),function(rowId) { return
2012 Oct 29
2
Retrieving data from aspx pages
Hi. I'm trying to write an application to retrieve financial data
(specially bonds data) from FINRA. The web page is served dynamically
from an asp.net application:
http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/AdvancedScreener.aspx
I'd like to know if it's possible to fill dynamically the web page
form from R and, after filling it (with the issuer name), retrieve the
web
2012 Oct 29
2
Retrieving data from aspx pages
Hi. I'm trying to write an application to retrieve financial data
(specially bonds data) from FINRA. The web page is served dynamically
from an asp.net application:
http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/AdvancedScreener.aspx
I'd like to know if it's possible to fill dynamically the web page
form from R and, after filling it (with the issuer name), retrieve the
web