Displaying 20 results from an estimated 3000 matches similar to: "error in calling source(): invalid multibyte character in parser"
2010 Dec 20
2
tabulating 2 factors weighting by a third var
Hi,
This must be an easy one but so far I haven't find a way out...
I have a data frame such as:
$ v1 : Factor w/ 5 levels
$ v2 : Factor w/ 2 levels
$ v3 : Class 'difftime' atomic [1:6666]
basically v1 and v2 are factors, while v3 is a variable containing the duration of certain activities (values ranging from 11 to 45000 sec, no missing values)
How can I get a table
2011 Jan 09
1
Getting total bar's label & value labels in a barplot
Hi,
I have been trying to get the label under the total column - i.e. a mean value of columns 2 to 6 - in a barplot I generate with this script:
t1 <- tapply(A, B, sum)
t1[8] <- mean(t1[2:6])
t1 <- as.table(t1)
barplot(t1, ylim=c(0,3000))
mtext("Var1", side = 1, line = 3)
mtext("Var2", side = 2, line = 3)
I have been trying to use
axis(1, at=1:8,
2010 Dec 20
1
Passing parameter to a function
I am trying to pass a couple of variable names to a xtabs formula:
> tab <- function(x,y){
xtabs(time~x+y, data=D)
}
But when I run:
> tab(A,B)
I get:
Error in eval(expr, envir, enclos) : object "A" not found
I am quite sure that there is some easy way out, but I have tried with different combinations of deparse(), substitute(), eval(), etc without success, can someone
2010 Dec 09
1
how to use diff() with different variables?
Hi,
I first should say I am new to R. I have searched without success the R-archives to see if I could find an answer to what I am about to ask you.
My dataset is like:
x fine
1 A 2010-12-09 07:57:33
2 B 2010-12-09 08:05:00
3 C 2010-12-08 20:42:00
...
that is:
'data.frame': 3 obs. of 2 variables:
$ x : Factor w/ 3 levels "A","B","C":
2010 Dec 17
3
Alternative to extended recode sintax?
Dear R-users,
I have a factor variable within my data frame which I derive week after week from a POSIXct variable using the cut(var,"weeks") command I have found in the chron package. The levels() command gives me:
[1] "2009-03-30 00:00:00" "2009-04-06 00:00:00" "2009-04-13 00:00:00" "2009-04-20 00:00:00" "2009-04-27 00:00:00"
2010 Dec 19
3
monthly median in a daily dataset
Hello,
I have a multi-year dataset (see below) with date, a data value and a flag
for the data value. I want to find the monthly median for each month in this
dataset and then plot it. If anyone has suggestions they would be greatly
apperciated. It should be noted that there are some dates with no values and
they should be removed.
Thanks
Emily
> print ( str(data$flow$daily) )
2012 Nov 30
3
Reading .gsheet within R
Hello R-experts,
I would like to know if there is a solution to read files with extension .gsheet directly into R - see http://www.fileinfo.com/extension/gsheet for more info on this file format.
Thank you,
Luca
Mr. Luca Meyer
www.lucameyer.com
R 2.15.1
Mac OS X 10.8.2
[[alternative HTML version deleted]]
2012 Aug 30
4
Leading plus in numeric fields
Hello R experts,
I have go this data frame:
'data.frame': 1 obs. of 20 variables:
$ Anno : chr "PREVISIONI VS TARGET"
$ OreTot: num 41
$ GioTot: logi NA
$ OrGTot: logi NA
$ OreCli: num 99
$ GioCli: logi NA
$ OrGCli: logi NA
$ OreFor: num -27
$ GioFor: logi NA
$ OrGFor: logi NA
$ OreOrt: num -18
$ GioOrt: logi NA
$ OrGOrt: logi NA
$ OreSpo: num -6
$ GioSpo: logi
2013 Sep 05
1
Conversion error: Illegal multibyte sequence
Hello list,
I've noticed this problem for a few years now, I think. I see it popped
out now and then in discussions. But they always end before a solution
is given.
So let's try one more time :-)
I have plenty of UTF-8 named files and directories. It's UTF-8 all
round, I don't use anything else, so I have no doubt the byte sequences
are correct in the filesystem (I happen to
2011 Feb 09
1
Adding labels into lattice's barchart
*** APOLOGIZES FOR THOSE READING THE LIST THROUGH NABBLE THIS WAS ALREADY POSTED THERE BUT NOT FORWARDED TO THE LIST FOR SOME UNKNOWN REASON ***
I have a dataset that looks like:
$ V1: factor with 4 levels
$ V2: factor with 4 levels
$ V3: factor with 2 levels
$ V4: num (summing up to 100 within V3 levels)
$ V5: num (nr of cases for each unique combination of V1*V2*V3 levels)
Quite new to
2009 Oct 15
5
invalid multibyte character error
Hi.
When I try to use multibyte characters in my rails controller I get an
invalid multibyte characters error
(<rails_app>/app/controllers/admin_controller.rb:6: invalid multibyte
char (US-ASCII)).
Here is my controller:
contoller AdminController < ApplicationController
def read
@title = ''Заголовок страницы''
end
end
Here is my haml template extraction:
...
2011 Aug 28
4
How do I get a weighted frequency table?
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110828/d35f51a1/attachment.pl>
2012 Sep 25
2
OpenSSH banner doesnot display multibyte characters like korean
Hello,
The banner message displayed on the screen contain octal values
instead of korean chars. Prior to ssh 5.1 the banner message would
display the charaters properly.
I understand that starting from 5.1 the message is passed through
strnvis() function.
I looked into documentation on strnvis and found that it does not
support multibyte chars and doesnt work well with international chars.
2016 Nov 29
2
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
Mail file is server is a member server is Samba 3.6.26 on Solaris 11.
It had been a BDC but a few week ago a switched it back to a member
server. The 2 current DC's had been running Samba 3.6.25 but switched
to Samba 4.4.7. This is a classic domain.
Some Windows users reported that browsing folders shared from the member
server have become very slow over the last few weeks. Which
2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all,
In response to Rodrigo Rosas''s message about mb_chars.upcase not
giving the expected result on 1.9, I''ve done some work in a fork to
make String#mb_chars always return an instance of a proxy class, both
with Ruby 1.8 and Ruby 1.9. The end result of the patch is
(hopefully) to make Rails'' multibyte functionality behave the same way
in 1.8.7 and 1.9.x.
2010 Aug 02
1
Multibyte characters in (row) names
I have an array with names which contain multibyte characters. ?When I try to
write the array to a file using write.table and row.names = T I receive an error
message when the first such name is encountered, saying that I have not
specified the option to generate NA instead. ?I really would be satisfied if the
row name in the file were exactly what is displayed when I print the array on
the
2010 Jun 09
1
[patch] fix bytesize in exception template; multibyte titleize
Hi all,
I wanted to draw some attention to a couple of very small multibyte-related
patches I believe should be included before Rails 3.0 RC1:
* Use String#bytesize rather than String#length in exception templates:
This is a simple case where string length is checked, but bytes is needed,
so it breaks with string with multibyte chars.
2005 Jun 17
2
Illegal multibyte sequence error in pdbedit output
dear list,
in the output of pdbedit -L -v heupink I'm getting these errors:
convert_string_allocate: Conversion error: Illegal multibyte sequence(???p?
????????)
Any ideas where to look..? Are these serieus errors..? (it looks as if the errors occur BEFORE the actual ldap connection is opened, so I guess they're not ldap related...)
My samba is 3.0.14a, and system is sles9
Below find
2006 Oct 26
1
Error: invalid multibyte string
I'm observing the following on different platforms:
> parse(text='"\\x7F"')
expression("\177")
> parse(text='"\\x80"')
Error: invalid multibyte string
...
> parse(text='"\\xFF"')
Error: invalid multibyte string
However,
cat("\x7F\n\x80\n...\xFF\n")
works. Using R --vanilla.
SYSTEMS GIVING THE ERROR:
>
2011 Aug 30
2
Showing zero frequencies with xtabs
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110830/7c33d4d0/attachment.pl>