Displaying 20 results from an estimated 100 matches similar to: "document"
2006 May 06
5
R and Java
Hello
I m tryng to execute the code below and I have a problem with the R-Java connection.:
import org.omegahat.R.Java.*;
public class REvalSample {
public static void main(String [] args) {
String [] rargs = {"--slave", "--vanilla"};
System.out.println("Sample program to call R engine from Java");
ROmegahatInterpreter interp = new
2005 Aug 29
4
ttda on R 2.1.1: error
Hello,
I'm trying to use the package ttda, wich is involved in text analysis,
for my own data about answers in a company survey.
I've installed it, as well as ispell, but when trying to use an example:
> zz <- file("stupid.txt", "w") # build a data file
> cat("{comment - stupid data file} \n" , file = zz)
> cat("<uci=1>
2009 Aug 05
3
how import Excel data into R?
Hi
I want to import Excel data into R I have used this code
data<-read.table("C:\Total_Art_Policies.xls",header=TRUE,sep=";")
i have an error msg:
Erreur dans file(file, "r") : impossible d'ouvrir la connexion
De plus : Warning message:
In file(file, "r") :
impossible d'ouvrir le fichier 'C:\Total_Art_Policies.xls' : No such file or
2005 Dec 15
2
question on write.table
Hi,
I have a question on write.table:
I have a data.frame called t7 as below:
> dim(t7)
[1] 14015184 6
> t7[1:5,]
uci uce par line graphical.forms stems
1 0 0 0 0 active activ
2 0 0 0 0 policy polici
3 0 0 0 0 wc PC
4 0 0 0 0 eff elf
5 0 0 0 0 icn ICC
I want to write the
2007 Apr 29
2
impossible to open SPSS file
Hi,
I try to import a SPSS file with foreign but don't succeed. I looked
into the help pages but find no answer. The file has been produced with
SPSS 15 but I got the same error with a file in SPSS portable format.
mydata<-read.spss("C:\Rdata\ESS1_ICT.SAV")
Erreur dans read.spss("C:RdataESS1_ICT.SAV") :
impossible d'ouvrir le fichier
I guess the error is
2007 Feb 08
1
Impossible to get jpeg or png output
Hi,
When I want to output a png file, I have the following error message :
Error dans X11(paste("jpeg::", quality, ":", filename, sep = ""), width, :
inpossible de d?marrer le p?riph?rique JPEG
De plus : Warning message:
impossible d'ouvrir le fichier JPEG 'Test.jpeg'
or in english
Error in X11(paste("jpeg::", quality, ":",
2004 Jul 12
5
Regular Expressions
Hi,
Is there a way to use regular expressions to capture two or more words in a
sentence? For example, I wish to to find all the lines that have the words "thomas",
"perl", and "program", such as "thomas uses a program called perl", or "perl is a
program that thomas uses", etc.
I'm sure this is a very easy task, I would greatly appreciate
2008 Nov 10
3
ttda and text-mining
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20081110/bf60714f/attachment.pl>
2005 Jan 24
0
R: text miner:
See:
http://wwwpeople.unil.ch/jean-pierre.mueller/
ttda - tools for textual data analysis
Regards
Vito
you wrote:
Hi,
Does a text miner exist in R-language similar to Splus
miner or SAS text
miner?
I would appreciate any information.
TIA,
Aldi
=====
Diventare costruttori di soluzioni
Became solutions' constructors
"The business of the statistician is to catalyze
the scientific
2004 Oct 20
7
Q about strsplit and regexp
Dear R-help,
This one is probably a piece of cake for regexp masters. I'd like to split
a character vector (for simplicity, say of length one for now) that contains
fields that are delimited by arbitrary number of white spaces (e.g., " a b
c "). How do I get the character vector that contain the fields? In the
example I gave, I've tried:
> strsplit(" a b c
2012 Oct 24
2
R CMD BATCH: set locale?
Hi
I would like to change the locale when using R CMD BATCH. Usually, if I
want to run it in english, for R in console/GUIs, I edit the .Rprofile
file, adding:
Sys.setlocale("LC_ALL","en_US.UTF8")
Sys.setlocale("LC_MESSAGES","en_US.UTF8")
But while this works for interactive R, it does not for R CMD BATCH. The
problem is that running tests for a package,
2005 Oct 20
3
problème d'import de fichier
hello!
je veux importer un fichier de donnees excel que j'ai au prealable
converti en fichier txt avec separateurs tab, fichier de la forme entree
simple (suite de colonnes contenant des variables).
Voila ma ligne de commande :
> poussins <- read.table("poussins.txt", header=T, sep="\t")
et sa reponse
Erreur dans scan(file = file, what = what, sep = sep, quote =
2010 Apr 30
3
Find solution for an error in the condition of if
Dear r-help,
Could you help me to find a solution for this error:
Il y a eu 50 avis ou plus (utilisez warnings() pour voir les 50 premiers)
> warnings()
Messages d'avis :
1: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... :
la condition a une longueur > 1 et seul le premier élément est utilisé
2: In if ((data[pa, k] == df[, j]) & (data[ch, k] == i)) { ... :
la
2012 Feb 29
3
Cannot use negative argument in function
Hi,
today i wrote a function in R of the type:
index.refraction <- function(Temp,Press, RH, CO2)
When i try to plug a negative number in Temp, i got this type of error:
"
n <- index.refraction(Temp= -40,100,80,CO2)
Messages d'avis :
1: In Ops.ordered(left, right) : '-' is not meaningful for ordered factors
2: In Ops.factor(left, right) : - not meaningful for factors
3:
2004 Dec 11
3
rsync to retry if copy failed - possible?
Hello,
I want to be 100% sure that rsync copies something from one location to
another.
However, I did not see an option which would make rsync retry an
operation if it failed for whatever reason (network was down when rsync
started, or network went down during rsync was copying something,
connection timed out etc.).
For example, wget has an option like --tries=number Set number of
retries
2011 Jan 21
3
nlminb doesn't converge and produce a warning
Hi Everybody,
My problem is that nlminb doesn't converge, in minimising a logLikelihood
function, with 31*6 parameters(2 weibull parameters+29 regressors repeated 6
times).
I use nlminb like this :
res1<-nlminb(vect, V, lower=c(rep(0.01, 12), rep(0.01, 3), rep(-Inf, n-15)),
upper=c(rep(Inf, 12), rep(0.99, 3), rep(Inf, n-15)), control =
list(maxit=1000) )
and that's the result :
2011 Dec 21
3
NEWTON ALGORITHM
Hi,
My name is Curtis and I'm a 1st year student in Biochemistry at the
University of Geneva. I need some help completing the code for my NEWTON
ALGORITHM. It is a bonus exercice to our autumn semester maths exam and we
can hand it in or not. Usually people copy and paste but I decided to sit
down and review theory and ask for help left right and center.
My problem is that I cannot get my
2012 Jun 27
1
Problem installing RBloomberg
I have the following error message when I try to install RBloomberg.
Les packages binaires t?l?charg?s sont dans
C:\Users\bloom\AppData\Local\Temp\RtmpktX4UK\downloaded_packages
Message d'avis :
packages ?quantstrat?, ?RBloomberg?, ?rsproxy?, ?VaR? are not available (for
R version 2.15.1)
R version 2.15.1
System : Windows 7 (64 bits)
Any help appreciated
Thx
--
View this message
2012 Jan 30
1
zip() containing windows specific code?
Dear R devel list
I was wondering whether zip() contains a windows specific call to
system(), as the argument "invisible" seems to be windows specific, yet
is used anytime by zip:
invisible(system2(zip, args, invisible = TRUE))
Indeed, calling zip() on Linux results in a warning message:
> file.create("try")
[1] TRUE
> zip("try.zip", "try")
2010 Sep 02
1
Using library and lib.loc
Hi,
I didn't find any post on this subject so I ll ask you some advices.
Let's say that I have two library trees.
Number 1 is the default R library tree on path1
Number 2 is another library tree on a server with all packages on path2.
When I set library(aaMI,lib.loc=paths2) it loads the package even if its not on default R library
When I set library(fOptions,lib.loc=paths2) it