i am connecting R 2.15 with Eclipse IDE 3.7,using [StatET] -:
http://www.walware.de/
i have installed rjava,rj-1.1,rj.gd-1.1,installed new software "StatET
3.0-3.1" in eclipse ,etc as prerequisite,
i done all procedure as per eclipse says(Configure & Launch R console
panel),but at end,when configur
Sir,i installed opencpu on Ubuntu12.04, but they don't have step-by-step
tutorials,instead they have direct written pages to try by people (in which
situatuion u can use opencpu)
can u tell me logic from where should i start,i want to load R package
(RHive),which is installed in my regular R
and d
i connected Rserver successfully. can do some functions like
rnorm(),print(),etc...
i am connecting R with Hive-hadoop
i have installed library "RHive" which will take care of connection
but when i am connecting it throws warning..like
"Warning: type 7 is currently not implemented in the PHP clien
I want to connect R with HTML/PHP pages to take input from user,do some
statistical processing on it & show results to HTML page again.
I search on net,i got Rserve package,but examples are mainly for java
langaure & not for PHP
i am wondering how to connect it to PHP-Apache-MySQL
Is there any g
I am installing RMySQL_0.9-3.tar.gz pkg on windows-7 64 bit machine as:---
C:\Users\trendwise> R CMD INSTALL
--configure-args='--with-mysql-inc="C:\\Program Files\\MySQL\\MySQL Server
5.5\\include"' "C:\\Users\\trendwise\\Downloads\\RMySQL_0.9-3.tar.gz"
* installing to library 'C:/Users/trendwis
i m installing pkg but get error like this
> install.packages("RMySQL")
Installing package(s) into
‘/home/trendwise/R/x86_64-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
trying URL 'http://ftp.iitm.ac.in/cran/src/contrib/RMySQL_0.9-3.tar.gz'
Content type 'application/x-gzip' length 165363
i m installing RMySQL under windows -7 64bit,
i have wamp server(which has mysql5.5.16)
i have given MYSQL_HOME path in environment variable as
MYSQL_HOME=C:\wamp\bin\mysql\mysql5.5.16\bin ,
& also create Renviron.site file in C:\Program Files\R\R-2.15.0\etc
giving MYSQL_HOME=C:/wamp/bin/mysq
when i am installing package manually (using below command) i get error about
cygwin as,
> install.packages("C:\\Users\\trendwise\\Downloads\\RMySQL_0.9-3.tar.gz",lib=getOption("lib"),
> repos = NULL, type="source")
error:-->
Installing package(s) into ‘C:/Users/trendwise/Documents/R/win-lib
when i am installing Rmysql packages i get error like
Warning in install.packages :
package ‘RMySQL’ is not available (for R version 2.15.0)
which is earliest version should i used ?how should i know the specific
version
--
View this message in context:
http://r.789695.n4.nabble.com/prob
i want to show histogram in innovative way (good if interactive) in html
report..is threre any tutorials/hint
also there is any package to show correalation plot
--
View this message in context:
http://r.789695.n4.nabble.com/histogram-corelation-plots-tp4645726.html
Sent from the R help mailing
which package from CRAN used for Big-Data analysis ?
is there any separate package for Big-Data analysis?
or for making reports & Business intelligence
--
View this message in context:
http://r.789695.n4.nabble.com/package-request-tp4645661.html
Sent from the R help mailing list archive at Nab
oracle has their SCJP certification for java language
like that i want R certification for my job interview
Also
1) i want interview questions on R(any website/pdb/any source)
2)any video about R learning(tutorials), any CD/DVD learning software
--
View this message in context:
http://
is this is time series ?
x
1 2
2 2
3 2
4 2
5 2
6 2
7 2
8 2
9 2
10 2
11 2
12 2
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-check-given-number-seq-is-time-series-or-not-tp4631434p4631483.html
Sent from the R help mailing list archive at Nabble.com.
Yes,sir index of above/below numbers is time (both dataset are same)
x
1 0.8890464
2 1.2272616
3 1.2272616
4 1.3578511
5 1.3578511
6 1.1070461
7 1.4424190
8 1.2277843
9 1.3578511
10 0.9708839
11 0.8221709
12 1.3578511
13 0.3588158
14 0.7742342
15 0.8221709
16 0
i have following numbers
0.889046409368551
1.22726162946495
1.22726162946495
1.35785109728356
1.35785109728356
1.10704609982913
1.4424189950435
1.2277843378837
1.35785109728356
0.970883941918588
i use download.file() ,it works good for package source code
t<-available.packages(type="source") #all packages(list) from repository in
source code ".tar.gz" format
length(t[,2]) #total packages--> 3796
#package source file download
for( i in seq_along(t[,1]) ) {
download.file(
paste(t[i,"Repo
i have time series as
1.3578511
0.5119648
1.3189847
0.9214787
1.2272616
4.9167998
1.2272616
1.2272616
0.8854192
2.3386331
1.6132899
0.2030302
0.8426226
1.2277843
NA
1.3189847
1.3578511
0.8530141
2.3386331
1.0541099
0.7747481
0.5764672
1.3189847
1.2160533
1.2272616
0.6715839
0.9651803
1.6132899
1.20
i can get list of available packages by
> r<-available.packages()
No of available packages
> length(r[,1])
[1] 3739
single package name
> r[1,1]
[1] "ACCLMA"
i want download all packages starting with "A" / "a" alphabets,
with their source code, pdf manual/vignettes from internet
--
View this
i am connecting through my mobile connection,which don't have proxy setting
i can access internet in browser using "automatically detect setting",i get
error when trying below
> source("http://bioconductor.org/biocLite.R";)
Error in file(file, "r", encoding = encoding) :
cannot open the connec
i don't know perl,but on server site,they give soap:lite using perl ,
go to--->http://www.kegg.jp/kegg/soap/doc/keggapi_manual.html
i want to download data from kegg server ,using R only,
how to proceed?
& what is mean by SOAP client driver ?
also go to http://soap.genome.jp/KEGG.wsdl
--
View thi
No its not perfectly working see below
> j<-c(1,1,2,2,3)
> k<-c(2,1,1,1,1)
> j%%k
[1] 1 0 0 0 0
problem comes when one of my sequence have 1
--
View this message in context:
http://r.789695.n4.nabble.com/problem-in-matching-numbers-in-two-variables-tp4594912p4595849.html
Sent from the R help ma
i want to compare two variables (having numbers) serially for
matching/dismatching
both having equal length
> x
[1] 2 2 1 2 3 2 2 2 2 3 3 2 2 2 2 2 2 3 2 2 2 2 2 2 2 2 2 2 3 2 3 2 2 2 1
2 2
[38] 2 2 2 3 2 3 2 2 1 2 2 2 2 1 1 1 3 2 2 2 2 1 1 3 1 1 1 2 2 2 3 2 3 3 3
2 2
[75] 2 2 3 2 2 1 1 1 2 3
i found one clue in our forum, but it can give position for whole matrix,
>n<-read.table(file.choose(),header=T)
>y<-n[,c("1","2","3")]
> my.number=1.12270420185886
> z<-abs(y-my.number)==min(abs(y-my.number))
> which(z)
[1] 19
i have uploaded f
i want to cut file from e.g. "abc" folder & put it into another location
with folder name e.g. "xyz"
how should i proceed?
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-cut-files-from-any-folder-to-another-folder-tp4577818p4577818.html
Sent from the R help mailing list ar
i have uploaded file,but when i am opening it in R,using
> u<-file(file.choose(),"r")
>k<-readLines(u)
>k
> k[1:120]
is has all /t (tabs)& newlines, how to avoid it,
can i take first 3 columns only in table form (lines starts with # not
important for me)
uploaded file:-
http://r.789695.n4.nabble
i want
"http://scop.berkeley.edu/astral/pdbstyle/?id=d1fjgc2&output=html",showing
information in webpage to be written in .txt file as it is(i don't want any
html tag)
i am using "RCurl" package
>marathi<-htmlTreeParse("http://scop.berkeley.edu/astral/pdbstyle/?id=d1fjgc2&output=html";)
>marathi
>
i used "itsmr" package ,
want to forecast AR model & calculate R square to judge my
forecasting/prediction ,that is it good or not ?
i take original model(i) & make example/demo model(j) ( 20 numbers less
from original model)
#AR model forecasting
i<-read.table(file.choose(),skip=1) #taking t
i am running one script for many files,
Script file atttached:-
http://r.789695.n4.nabble.com/file/n4556770/AR_anarkali_aic.r
AR_anarkali_aic.r
& warnings are given as below
what is meaning of these warnings?
Warning messages:
1: In optim(coef, err, gr = NULL, hessian = TRUE, ...) :
one-diml op
i have attached file,
http://r.789695.n4.nabble.com/file/n4542543/1BHP_A.txt 1BHP_A.txt
i just want to validate predicting results, i give less 10 digits for
prediction & compare results it with previous input data(input file)
> i<-read.table(file.choose()) #attached file taking
> i<-i$V1
> leng
attached file:- http://r.789695.n4.nabble.com/file/n4525253/1A1I_A.txt
1A1I_A.txt
>arr<-ar(t$V1)
> str(arr)
> arr$aic
0 1 2 3 4 5 6
4.273791 4.397484 2.258405 3.008703 1.884487 0.00 1.476055
7 8 9
i have attached time series file
http://r.789695.n4.nabble.com/file/n4521545/1A1I_A_phi_psi_pot_r_k.txt
1A1I_A_phi_psi_pot_r_k.txt
i am not understanding formula() function,but what i read,from that
1 st method:-
> t<-read.table(file.choose()) #choosing attached file
> lm<-lm(t$V1~ 1) # i used
i want aic value to find best model from AR & ARMA model
i calculate ARMA model via autofit() function from "itsmr" package
when i get aic of AR model,then i will compare with ARMA's aicc value
is my way logically correct?
--
View this message in context:
http://r.789695.n4.nabble.com/Is-this
i m searching on net,material related to R,
whenever i get ppt presentation of some topic ,i found it in speical format
white backgroud & blue bars,having links for further topics
see link
1) https://www.rmetrics.org/files/Meielisalp2007/Presentations/Pfaff.pdf
2)http://grapevine.com.au/~yanchang/
how will you decide P,D & Q in sarima() function using code,can u give me
code
--
View this message in context:
http://r.789695.n4.nabble.com/sorting-the-data-tp857402p4519263.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-pr
Yes sir,i m using another's code,i will acknowledge them in my paper
publication when my project completes.
but can u tell me, how to decide P,D & Q values in sarima() function using
code
its difficult to decide by visually,i have 4500 such time series
--
View this message in context:
http://r.
i am using sarima() function as below
___
sarima=function(data,p,d,q,P=0,D=0,Q=0,S=-1,tol=.001){
n=length(data)
constant=1:n
xmean=matrix(1,n,1)
if (d>0 & D>0)
fitit=arima(data, order=c(p,d,q),
How to move files from one folder to another i.e. cutting/copying from one
location & pasting to another
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-move-files-from-one-folder-to-another-tp4512087p4512087.html
Sent from the R help mailing list archive at Nabble.com.
___
yes sir i used format() function like
> x<-c(3,5,6)
>y<-format(x,nsmall=6)
>y
[1] "3.00" "5.00" "6.00"
but it again gives me same output
> as.double(y[1])
[1] 3
i want it in decimal style like 4.000 (i.e. without string format)
--
View this message in context:
http://r.789695.n4.n
> x
[1] 7 8 9 10 11 12
convert such that
7.
8.
9.
10.000
11.000
12.000
total size of 5 digits for each value
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-convert-digits-to-specified-decimal-vectors-tp4498588p4498588.html
Sent from the R help mailing list a
i have one for loop,in which i am dealing with time series & arima function,
while iterating at some stage there is a error, like
Error in arima(x, c(p, 0, q)) : non-stationary AR part from CSS
i want to know at which step this error occurred & print that iterating
number
e.g.
x<-c(1:10)
for (i
i have following file
http://r.789695.n4.nabble.com/file/n4495257/1A2X_B_phi_psi_pot_r_k.txt
1A2X_B_phi_psi_pot_r_k.txt
but i don't know which test used to check non-stationary ness of time
series?
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-check-stationary-non-statio
i have below file as time series data
http://r.789695.n4.nabble.com/file/n4494907/1A2X_B_phi_psi_pot_r_k.txt
1A2X_B_phi_psi_pot_r_k.txt
i used autofit function from "itsmr" package
>k<-read.table(file.choose())
> ar(k$V1)
Call:
ar(x = k$V1)
Order selected 0 sigma^2 estimated as 0.2499
> autofi
when fitting an autoregressive time series model to the data i.e. in function
ma(x, order, centre=TRUE)
i attached file (time series data)
http://r.789695.n4.nabble.com/file/n4491858/tinku.txt tinku.txt
how to decide best order for a good time series model
which would be valuable for arma() proces
> ts<-ts(bhavar$V1)
> decompose(ts)
Error in decompose(ts) : time series has no or less than 2 periods
> HoltWinters(ts)
Error in decompose(ts(x[1L:wind], start = start(x), frequency = f),
seasonal) :
time series has no or less than 2 periods
is it true that order of ar(ts) function is p-value
i am new to time series,whatever i know up till now,from that
i have uploaded time series file & what to build arma model,but for that i
want p & q values(orders)
tell me how to calculate best p & q values to find best AIC values for model
i am doing but giving error
>bhavar<-read.table(file.choos
if i have time series,the give me code example for finding auto-regressive
process
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-find-order-of-the-autoregressive-process-in-r-tp4487721p4487721.html
Sent from the R help mailing list archive at Nabble.com.
how to cluster/classify attached time series ?(each column/time series
consider as single unit while clustering/classifying)
& if my concept is wrong,tell me how to extract time series with highest
information content ?
given file is to do it
http://r.789695.n4.nabble.com/file/n4484173/rasta.txt
i am new to time series
i found in help about arima
arima(x = data, order = c(p, d, q))
what is exactly p,d,q? if i not changed them,what effects will happens?
--
View this message in context:
http://r.789695.n4.nabble.com/what-is-p-d-q-in-arima-function-of-time-series-tp4484368p4484368.html
Se
i have
> x
[1] 1 2 3 4 5 6
> y
[1] 34 5 6
> z<-cbind(x,y)
> z
x y
[1,] 1 34
[2,] 2 5
[3,] 3 6
[4,] 4 34
[5,] 5 5
[6,] 6 6
i don't want recycling, instead can we put NA /0 like below> z
x y
[1,] 1 34
[2,] 2 5
[3,] 3 6
[4,] 4 NA
[5,] 5 NA
[6,] 6 NA
& want distance matrix
-
yes,but i want AIC value to calculate for below value, using frequency =1 in
ts() function
>t
-0.15264004
0.056076439
-0.07276116
-0.00917326
-0.02069089
-0.00416232
-0.07225855
-0.02654577
-0.06131410
-0.09380202
0.057414014
-0.05239976
0.014397612
0.016145161
-0.00670587
0.0186963
>t
-0.15264004
0.056076439
-0.07276116
-0.00917326
-0.02069089
-0.00416232
-0.07225855
-0.02654577
-0.06131410
-0.09380202
0.057414014
-0.05239976
0.014397612
0.016145161
-0.00670587
0.018696335
0.036943654
-0.02450233
0.031161705
0.006513503
-0.02892329
-0.00831519
-0.008777
i want to save plots in batch mode(100 plots in single code) in resizable
mode
which format should i use,i m working on windows
> savePlot("zatka",type="pdf",device=dev.cur())
Error in savePlot("zatka", type = "pdf", device = dev.cur()) :
can only copy from 'windows' devices
--
View this messa
yes but giving error
> t<-read.table(file.choose())
> t<-ts(t)
> plot(t)
Hit to see next plot:
> ht<-HoltWinters(t)
Error in decompose(ts(x[1L:wind], start = start(x), frequency = f),
seasonal) :
time series has no or less than 2 periods
what should i do?
--
View this message in context:
h
i have data in one file below like & (i have such type of file =200,each
file have below type of data)
>t
-0.15264004
0.056076439
-0.07276116
-0.00917326
-0.02069089
-0.00416232
-0.07225855
-0.02654577
-0.06131410
-0.09380202
0.057414014
-0.05239976
0.014397612
0.016145161
-0.00670587
0.018696335
i can see source code of function
> cor
function (x, y = NULL, use = "everything", method = c("pearson",
"kendall", "spearman"))
{
na.method <- pmatch(use, c("all.obs", "complete.obs",
"pairwise.complete.obs",
"everything", "na.or.complete"))
i used it on windows system, but giving error like
> e <- system("date", intern=TRUE)
Error in system("date", intern = TRUE) : 'date' not found
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-run-system-command-tp4449597p4449906.html
Sent from the R help mailing list archi
i have file as in txt format
@ATTRIBUTE f1996 REAL
@ATTRIBUTE f1997 REAL
@ATTRIBUTE f1998 REAL
@ATTRIBUTE f1999 REAL
@ATTRIBUTE f2000 REAL
@ATTRIBUTE class {-1,1}
@DATA
2.080750,1.099070,0.927763,1.029080,-0.130763,1.265460,-0.43
1.109460,0.786453,0.445560,-0.146323,-0.996316,0.555759,0.29
-0.676
i run like ,but it giving other than what i expect
i also want to capture output & print it
> e<-system("date")
> e
[1] 127
> e<-system("dir")
> e
[1] 127
--
View this message in context:
http://r.789695.n4.nabble.com/
i open a table
table<-read.table(file.choose(),skip=1)
at sometime i forget which file i open,so i want file name/file path
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-get-file-name-file-path-tp4428126p4428126.html
Sent from the R help mailing list archive at Nabble
> h<-array()
> h
[1] NA
> append(h,9)
[1] NA 9
but what it append.
> h
[1] NA
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-append-element-at-last-position-in-array-dynamically-tp4427893p4427893.html
Sent from the R help mailing list archive at Nabble.com.
i have one file as
> munnabhai<-read.table(hyphen[1],skip=1)
> munnabhai
V1 V2 V3 V4 V5 V6 V7
1 1 12AS_A 4 A0.0 157.8994119 2
2 2 12AS_A 5 Y -41.61818 -56.8011795 1
3 3 12AS_A 6 I -55.47021 -51.1328352 1
4 4 12AS_A 7 A -54.430
i did it, but using hash package ,i got error like
>hash1 <- new.env()
> hash1$A <- c(1.2, 3.4, 4.5)
> hash1$A
[1] 1.2 3.4 4.5
> h<-hash(keys=c("A","B"),values=c(hash1$A,hash1$A) )
Error in .set(h, ...) : Keys of length 2 do not match values of length 6
how should i proceed
--
View this me
i want hash like
A : 1.2, 3.4, 4.5
B : 9.7, 5.6, 4.8
C : 3.4 ,5.7, 4.6
where A key contain all three value at right sight
how to append single keys & values if i have predefined hash with known
length
--
View this message in context:
http://r.789695.n4.nabble.com/how-to-make-hash-append-
i have variables stored in previous history,next time i log in,& load
previous history,i want to use same variable name for using other values,
& i don't know exactly how many are they ? & their names also..
How to delete all variable created in current & previous session i.e. (known
& unknown) wh
i have variable C as >
> c
[1] 1 2 3 6 7 8 12 13 14 15 16 17 18
want to check variable sequentially for missing values/integers & reporting
their positions,
latter on,i want to fill with appropriate /missed values increasingly.
--
View this message in context:
http://r.7
i made jDialog through JGR package(Java gui 4 R),
i want to export it with imported external package e.g.bio3d,RCOR , into
.exe
or if not possible convert code to executable jar file
how should i go, give me package name,example codes (if possible)
--
View this message in context:
http://r.7
i know RCurl pakage to retrieve web content,it has limited use, i want
interactive package like
(in perl--->Mechanize,
In java--->Watij,Prowser,HTMLunit,HTTPunit,
in Ruby>Watir ,etc)
this modules/packages opens appropriate browser,which can create
queries,retrieves output, clicks buttons, fil
Perl has Mechanize module which browse web pages through
programming(coding),creates queries & retrives data through it
which R package support web browsing through programming
--
View this message in context:
http://r.789695.n4.nabble.com/which-R-package-is-used-for-browsing-web-pages-through-
i have two variable
> pyar
[1] "M" "12" "34" "13"
> gita
[1] "U" "22" "33" "44"
want to append gita object below pyar object as
& want to take in anther variable
"M" "12" "34" "13"
"U" "22" "33" "44"
& write it in table fashion inside file
--
View this message in context:
http://r.789695.
i want to retrieve count for each freq of given summary from table() e.g. "A"
cout,"B" count
& save it in different variables
> table(dil)
dil
A C D E F G H I K L M N
P Q
49433 10361 38490 44549 27182 44947 16310 39002 39829 58805 11228 29320
how to avoid writing index of variable in write.table command,
e.g. output--->
index,character,state
"1" "M" "2"
"2" "K" "3"
"3" "R" "1"
"4" "E" "1"
"5" "S" "1"
"6" "H" "1"
"7" "K" "1"
"8" "H" "1"
"9" "A" "1"
"10" "E" "3"
"11" "Q" "1"
i tried col.name=FALSE & row.name=FALSE but it can't
--
View
is have vector from table stored in s variable
> s
[1] R P Y A C P V E S C D R R F S R S A D L T R H I R I
Levels: A C D E F G H I K L M N P Q R S T V Y
--
View this message in context:
http://r.789695.n4.nabble.com/want-to-drop-levels-of-table-vector-join-two-vector-appending-tp4356851p4356851.
how to iterate two elements each through for loop?
e.g. x<-c(1,2,4,7,34,6)
y<-c(3,5,6,9,34,7)
for(z in x){
print(paste(z,y)) }
i want both element of vector iterate serially with same position
--
View this message in context:
http://r.789695.n4.nabble.com/iterating-through-for-loop-tp4354101
73 matches
Mail list logo