Displaying 20 results from an estimated 3000 matches similar to: "language!!!"
2012 Jan 30
1
Getting htmlParse to work with Hebrew? (on windows)
Hello dear R-help mailing list.
I wish to be able to have htmlParse work well with Hebrew, but it keeps to
scramble the Hebrew text in pages I feed into it.
For example:
# why can't I parse the Hebrew correctly?
library(RCurl)
library(XML)
u = "http://humus101.com/?p=2737"
a = getURL(u)
a # Here - the hebrew is fine.
a2 <- htmlParse(a)
a2 # Here it is a mess...
None of
2004 Jan 07
2
locale problem in W98
Dear all
I am using two computers, one with Windows2000 and the other one with W98
both have the same version (precompiled binary) R 1.8.1 and I have experienced a
slight problem with text used in plotting on W98 machine.
When I try to write some local characters into R console
????? (not sure if it is OK on your computers)
in W2000 **everything** is OK but in W98 some of the characters
2011 Oct 06
1
anova.rq {quantreg) - Why do different level of nesting changes the P values?!
Hello dear R help members.
I am trying to understand the anova.rq, and I am finding something which I
can not explain (is it a bug?!):
The example is for when we have 3 nested models. I run the anova once on
the two models, and again on the three models. I expect that the p.value
for the comparison of model 1 and model 2 would remain the same, whether or
not I add a third model to be compared
2011 Jan 25
3
Failing to install {rggobi} on win-7 R 2.12.0
Greetings all,
I am failing to install the package rggobi on windows 7 with R 2.12.0.
On R 2.11.1, the package was installed fine.
I asked for help on the rggobi google group 4 days ago, and didn't receive
any help, so I was wondering if someone here might have a suggestion.
Here are the details:
-----------------------------------
I am having a similar (bot not exact) problem as Tom had
2008 Jun 26
3
bug in nls?
Dear all
Nobody responded to my previous post so far so I try with more offending
subject.
I just encountered a strange problem with nls formula. I tried to use nls
in cycle but I was not successful. I traced the problem to some parse
command.
Here is an example
DF<-data.frame(x=1:10, y=3*(1:10)^.5+rnorm(10))
coef(lm(log(DF[,2])~log(DF[,1])))
(Intercept) log(DF[, 1])
0.7437320
2013 Feb 15
1
Why no line? (ex. from Andy Filed book)
The following script is written by the author of a book on R--Andy Field:
You can also download the small datafile, hiccups.dat, from this address:
http://www.sagepub.com/dsur/study/articles.htm
The script:
hiccupsData <- read.delim("Hiccups.dat", header = TRUE)
hiccups<-stack(hiccupsData)
names(hiccups)<-c("Hiccups","Intervention")
2017 Aug 16
5
strange behaviour read.table and clipboard
Hi Duncan
The simples spreadsheet is:
Put a name in the cell, let say "a1"
Put number e.g. 1 below "a1"
Copy the number to enough rows
Select this column and press ctrl-c
result is
> temp<- read.delim("clipboard")
> str(temp)
'data.frame': 1513 obs. of 1 variable:
$ a1: Factor w/ 2 levels "1","a1": 1 1 1 1 1 1 1 1 1 1 ...
2010 Dec 06
10
R crashes when making graphs
hi,
i am running R with JGR and Deducer under Ubuntu Mint Lucid. since i updated to R 2.12 i can no longer make graphs - R just crashes.
the full error report was posted to launchpad (https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/675905) without any success so far.
anyone with a similar problem or helpful suggestions?
thanks!
kat
2005 Apr 19
3
error due to locales again
>example(lm)
Error in switch(x[2], "1250" = return("ISO 8859-2"), "1251" = return("KOI8-U"), :
argument is missing, with no default
> Sys.getlocale(category = "LC_ALL")
[1] "LC_COLLATE=Chinese_People's Republic of China.936;LC_CTYPE=Chinese_People's Republic of China.936;LC_MONETARY=Chinese_People's Republic of
2010 Nov 17
2
Problem with plotting diagnostics - Error in object$coefficients : $ operator is invalid for atomic vectors
hi all,
after fitting a multiple linear regression
model <- lm(y ~ a + b+ c+d)
i wanted to plot diagnostics
plot(model)
but get the error message
Error in object$coefficients : $ operator is invalid for atomic vectors.
which does not make a lot of sense, since there is no "$" - i am working with an attached dataset.
can anyone help, please??
thanks a lot,
kat
2013 May 13
3
help: R GUI front-end has stopped working
Hello,
I'm using the function nlminb of the package stats inside a loop and when the number of trials grows, R crashes and says "R
GUI front-end has stopped working". Could you help me with this problem? I have try in versions 2.15.1,2.15.2 and 3.0.0.
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1]
2009 May 19
3
Remove objects names like character String
Hi,
how can I use rm() on objects named like:
paste("site",i,"_data",sep="") while looping
through i?
I tried rm(paste("site",i,"_data",sep="")) but I get the error that
rm() must contain names or
text strings which is confusing me as I thought paste() would create
something like that...?
Thanks,
Katharina
--
Time flies
2006 Dec 08
5
Remove " from a string
Hi all!
I have lots of functions called in the following pattern
'NameOfFunctionNumber' where the name always stays the same and the number
varies from 1 to 98.
Another function which I run in advance returns the number of the function
which has to be called next.
Now I want to combine 'NameOfFunction' with the 'Number' returned so that i
can call the desired function.
I
2009 Aug 12
1
CCF for hourly time series?
Hello,
I have a dataframe containing various time series (not time series objects though!)with hourly time steps. I?d like to perform ccf for I need to know the correlation factors for different lags.
Here is an example:
x<-as.POSIXct(c("2008-12-25 16:00:00", "2008-12-25 17:00:00", "2008-12-25 18:00:00", "2008-12-25 19:00:00", "2008-12-25
2017 Aug 17
2
strange behaviour read.table and clipboard
Hi
> -----Original Message-----
> From: Robert Baer [mailto:rbaer at atsu.edu]
> Sent: Wednesday, August 16, 2017 3:04 PM
> To: PIKAL Petr <petr.pikal at precheza.cz>; Duncan Murdoch
> <murdoch.duncan at gmail.com>
> Cc: r-devel at r-project.org
> Subject: Re: [Rd] strange behaviour read.table and clipboard
>
> You said, "put a name in the cell".
2006 Nov 07
2
wrong fill colors in polygon-map
Dear all,
I would like to produce a map with information about the patenting
activity in German districts, by coloring districts with different
degrees of patenting activity in different colors. I work with the
packages maptools, maps and spdep. The map data is read from an external
.shp file (+ the corresponding .shx and .dbf files). Plotting a map with
the IDs or the patenting indicator itself
2009 Jun 17
3
lattice: axis ticks, axis alignment and remove axis from plot
Hi there,
I'm a bit confused concerning the axis tck setting in the lattice
package as the ticks on left sided axis aren't
drawn at all with the following setting:
dados <- data.frame(varsep = factor(rep(1:2,10)),
i = runif(20))
library(lattice)
my.theme <- list(
axis.components = list(left = list(tck = 1, pad1 = 1, pad2 =
2), top = list(tck = 0, pad1
2009 Jun 24
3
distinguish regression lines in grouped, black and white lattice xyplot
Hi,
I've got the following problem which I cannot think of a solution right now:
if got a lattice xyplot in black and white and a grouping variable
with many (more than 8
values) and I plot it as regression lines (type="r"), just like this
one (not reproducable but that's
I guess not the point here):
xyplot(log(AGWB) ~ log(BM_roots), data=sub_agwb_data, groups=species,
2010 Dec 03
3
recode letters to numbers
Hello,
I have a dataframe assigning various scores on around 20 variables to a list of
countries. The scores are rated on a scale of (D, C, B, A) and there are also
some not rated ones (NR) and others are left blank (NA). I now wanted to
transfer the scores into numeric values (such as NR=0, D=25, C=50, B=27, A=100),
while also leaving the NA in the dataframe. Can I transform the whole
2009 May 19
2
create string of comma-separated content of vector
Hi,
how do I create a string of the comma-separated content of a vector?
I've got the vector i with several numeric values as content:
>str(i)
num 99
and want to create a SQL statement to look like the following where
the part '(2, 4, 6, 7)' should be
the content of the vector i:
select * from [biomass_data$] where site_no in (2, 4, 6, 7)
Here my approach (which doesn't