Displaying 20 results from an estimated 32 matches for "tryingtolearnagain".
2011 Jun 27
2
Executing the same function on consecutive files
Hi all,
I have the next problem: I have a matrix with size 8,000,000x18. My personal
computer...blocks...so I have cut my original file into 100 different file.
I have written a function that should be run on each of this file.
So imagine
I need to read data from q1 to q100 file
data<-read.table("q1.txt",sep="")
and each time I read 1 file execute my personal function
2012 Feb 28
3
Database
Hi all,
I´m new using Access. I see that many things that you can do on Access you
can do on CRAN R but not on contrary.
My question is: Is there any manual with examples comparing how to do data
base analysis on access and making the same on CRAN R?
Imagine I want to compare two columns "Name" of two different data bases. I
want to see if there are "identical" names on both
2012 May 05
2
Editor to program with CRAN R
Hi all,
I´m using the windows writting pad (not Notepad the simplest version). I
think there should be greater and helping note pads to help programming.
Can you suggest one?
Many thanks¡¡¡¡
[[alternative HTML version deleted]]
2012 Jul 17
2
order or sort doesn´t work properly
Hi all,
I want to order a series that is included on the second column in MCT.csv.
I do but R doesn?t order, could be because is a csv?
I have prove
MCT<-read.csv("MCT.csv")
a<-order(MCTor[,2],2,decreasing = FALSE)
a<-order(MCTor[,2],1,decreasing = FALSE)
or the same with sort but didn?t worked.
It is suposed that a will have the ordered on ascending or descending
2013 Apr 01
2
plot
Hi all if I plot a graph on R, I press on the plot Export/Save Plot as
Image....
I change name on "File name:"
I select Directory....Bibliotecas\Documentos
And select Width 800 and Height 800
And finally save in format JPEG
It is posible to "type" code so that I can run my function and it is not
necessary to make it manually?
Thanks in advance.
[[alternative HTML
2011 Dec 14
1
Hi
First PRoblem solved
> read.csv("KT80.csv")
X x
1 1 0.01331361
>
I ommitt "" in calling the file name...
2011/12/14 Trying To learn again <tryingtolearnagain@gmail.com>
> Hi all,
>
> I have 100 csv files always with this information (I Attach two example
> excels)
>
> KT80.csv contains:
> ,"x"
> 1,127.188271604938
>
> KT80.csv contains
>
> ,"x"
> 1,1.06329287351545
>
>
>...
2011 Jun 09
1
Item analysis
Hi all,
For several reasons I have no used CARN R in months....I have an idea and I
want to retry to learn CRAN R.
I know I need to formulate more "intelligent" questions but I will expose
and if someone can help me I would be very gratefull I promise to try to
learn again....
The question I have a data file like this:
Date, Time, Tip
13/11/2008,23:16:00,432
13/01/2009,23:17:00,633
2012 May 06
3
PLot a matrix
Hi,
I want to plot this matrix (I attach the data), it is suposed that each
column is a different time series.
If I do
g<-read.table("dataADF.txt", header=F)
and
plot(g[,1],type="l")
it plots the first column plot if I want in a unique graph each colums of
dataA, all in one. How should I proceed?There is a direct pre-defined code?
And If I wanted a plot by each
2012 May 05
2
No error message no display output
Hi all,
I´m re-starting (as my name indicates) my little knowlegde of CRAN R.
I made this function time before but I don´t know where is the error
because nothing appears as an error but the histogram plot doesn´t appear.
Should I install some special library to run sapply?
pru<-function(){
randz<-matrix(rnorm(200000),100,2000)
H<-matrix(0,100,2000)
for (j in 2:2000){
for (i in
2011 Jun 29
2
Executing a script "hand-made" and time
Hi all,
I have a function written by me that read a matrix (data frame) from a txt
with 4 million of rows and 13 columns.
The think is my function works with an input matrix of 100x13 and now I
tried to execute my function with the big "input file" and it is running
form the moment two hours...
There is a way to know (how much time could it cost?)
The second question is...
I want
2012 May 06
2
Saving a variable
Hi all,
I´m trying to use write function to save the output of a program (my
constructed "H" matrix)
randz<-matrix(rnorm(1000000),500,2000)
H<-matrix(0,500,2000)
H[1,]<-randz[1,]
for (j in 1:2000){
for (i in 2:500){
if(i<251)
H[i,j]<-0.6*H[i-1,j]+randz[i,j]
else H[i,j]<-H[i-1,j]+randz[i,j]
}}
write(H, file = "datad.txt",2000)
If I ommit the 2000 on
2011 Jul 02
5
How many times occurs
Hi all,
I have a data matrix likein "input.txt"
8 9 2 5 4 5 8 5 6 6
8 9 2 8 9 2 8 9 2 1
8 9 2 5 4 5 8 5 6 4
8 9 2 5 4 5 8 5 6 6
8 9 2 8 9 2 8 9 2 1
8 9 2 5 4 5 8 9 2 2
In this example will be an 6x10 matrix (or data frame)
I want to detect how many times in a row appears this combination 8 follewd
by 9 followed by 2, and create a new matrix with only this number of occurs
then
2011 Jun 28
4
Separator of data
Hi all,
I have a matrix like this:
188556644
225588666
558888555
I try to read the table using read table but if I put sep="" I have seen it
expects a white space, is there a "sep" option to read this matrix so
each single number is a position of the matrix
You see this matrix would be an 3x9 matrix
I tried other option but also didn´t worked.
If sep = "" (the
2012 Aug 04
4
DAtes
Hi all,
I´m trying to convert as a data frame (with format "date") this copied
excel column of dates (exposed below), I have tried to save them in a txt
file
tfr<-read.table("tfra.txt")
tfr<-data.frame(tfr)
I have tried several things, as date, so on, but always error.
And it makes
Error en as.Date.default(tfr, "%m/%d/%y") :
do not know how to convert
2011 Jul 12
1
Creating a zero matrix when a condition doesn´t get it
Hi all,
I first create a matrix/data frame called "d2" if another matrix
accomplishes some restrictions "dacc2"
da2<-da1[colSums(dacc2)>9,]
da2<-da2[(da2[,13]=24),]
write.csv(da2, file =paste('hggi', i,'.csv',sep = ''))
The thing is if finally da2 cannot get/passs the filters, it cannot writte a
csv because there is no any true condition.
2010 Oct 04
2
Combinations
Hi all,
I´ve been ill and I have lost a lot of time without seen the pc.
I want you to help if you can if you want.
Only I need an initial guide. I´ve been out a lot of time and I need a hope.
Is only for "joby" purposes.
The problem:
I want to simulate each of the posible combination in a play. Imagine they
play to games (football games) and you can choose "1",
2012 Jun 09
1
Inf and NA
Hi all,
I have a csv matrix "KT.csv" and it has Inf and NA
I want to calculate the mean of each row so I use
rowMeans(KT,na.rm = TRUE) but with this Inf cannot be omminted.
I?m trying to use before running rowMeans(KT,na.rm = TRUE)
KT<-range(KT,finite=TRUE)
but it doesn?t works...
Do you know a simple way to ommit Inf en the calculations?
Many thanks.
I have tried also to
2012 Jun 11
2
eclipse cran r
hi i see you can create latex pdf files using eclipse and that cran r code
can be put on it direcctly. I have tried but it seems very difficult there
is an easy way step by step manual and explaining all programs and folders
needed?
[[alternative HTML version deleted]]
2013 Apr 08
1
Tablet and executing R
Hi all,
Have any of you instaled R on a Tablet, in this case, which Tablet. My
family wants me to gift a Tablet but I suposse R can not be instaled on a
Tablet. And my few "free" time I pass mainly trying to "improve" in R.
Can yoy tell me, if there are, wich Tablets should be instaled?
[[alternative HTML version deleted]]
2010 Jul 08
1
Brewer.pal error
Hi all,
I have 35 years, I have been working since I exit from University. I have
returned to make a phd...I´m fortunatelly I´m working so unfortunatelly I
have few time to study (I have also a baby with 16 months).
I´m trying to use R but sometimes it gets very difficult.
I´m trying to put this code in my polygon function
colramp=colorRampPalette(brewer.pal(9,"YlOrRd")
to use