Displaying 12 results from an estimated 12 matches for "txt1".
Did you mean:
txt
2012 Sep 24
5
Memory usage in R grows considerably while calculating word frequencies
I am working with some large text files (up to 16 GBytes). I am interested
in extracting the words and counting each time each word appears in the
text. I have written a very simple R program by following some suggestions
and examples I found online.
If my input file is 1 GByte, I see that R uses up to 11 GBytes of memory
when executing the program on
a 64-bit system running CentOS 6.3. Why is
2012 Aug 30
2
Help on Plot Title where text is "mixed" with numerical carachters
Dear All,
I have the following code set up:
x <-2000
y <-8
z <-3
I would need to use these numbers to show up in my plot title "mixed" with text. The x,y,z numbers would need to change, the text would not. So my title should look like this
"x txt1 y txt2 z txt3"
so if:
txt1=hours
txt2=minutes
txt3=seconds
then my title of the plot should read: 2000 hours 8 minutes 3 seconds
any thoughts on how to do this would be greatly apreciated
thanks,
Andras
[[alternative HTML version deleted]]
2012 Jun 13
2
need help
hello
could you help in solving the following problem
I want to replace same consecutive words by a single word in a sentence..
for example --- my name name name is micky
so I want the output like this--my name is micky
I want this solution for a text file
can you tell me the code for it??
thanking you in anticipation
--
Shilpa Rai
MSc.(2011-2013)
Applied Statistics and Informatics
Indian
2014 Jul 22
2
Ayuda Error in `colnames<-`(`*tmp*`, value = c(
...n-3.04/bin32/pdftotext.exe"
> system(paste("\"", exe, "\" \"", pdf1, "\"", sep = ""), wait = F)
> system(paste("\"", exe, "\" \"", pdf2, "\"", sep = ""), wait = F)
> txt1<-sub(".pdf", ".txt", pdf1)
> txt2<-sub(".pdf", ".txt", pdf2)
> d1<-readLines(txt1, encoding="UTF-8")
> d1<-iconv(enc2utf8(d1), sub = "byte")
> d2<-readLines(txt2, encoding="UTF-8")
> d2<-iconv(enc...
2008 Aug 01
1
Properly Parsing Pre-Superscripts & Displaying Them With grid.text
...a sample of what doesn't quite
work:
Cl1 <- rbinom(1000, size = 1, prob = 0.25)
pCl1 <- histogram(Cl1, main = expression(Cl[1]), xlab = "", ylab = "",
scales = list(draw = FALSE), ylim = c(0:80))
plot(pCl1)
# This works fine but doesn't have everything I want:
leg.txt1 <- paste("Based upon:\n", ": 75%\n", ": 25%", sep = "")
grid.text(leg.txt1, 0.5, 0.5)
# This paste doesn't work due to the expression statements:
leg.txt2 <- paste("Based upon:\n", expression(^35*Cl), ": 75%\n",
expression(^37*Cl...
2010 Feb 14
2
unable to edit a file
...comment = webmin share
write list = usr1,usr2
path = /misc/removable/dir1002
read only = no
The files are created with the following ownership(the file system is vfat):
-rwxr-xr-x 1 root root 0 Feb 14 07:23 New Text Document.txt
-rwxr-xr-x 1 root root 4 Feb 14 07:28 txt1.txt
I'm able to create/copy and delete a file. However I'm unable to edit the
files.
Am I missing something?
thanks,
pitchu
2005 Jul 06
3
plotting on a reverse log scale
I'd like to do some plots of historical event data on a reverse log
scale, started, say at the year 2000 and going
backwards in time, with tick marks spaced according to log(2000-year).
For example, see:
http://euclid.psych.yorku.ca/SCS/Gallery/images/log-timeline.gif
As an example, I'd like to create a density plot of such data with the
horizontal axis reverse-logged,
a
2015 Nov 23
1
capturing warnings using capture.output
>From the Details section of ?capture.output:
Messages sent to stderr() (including those from message, warning and stop)
are captured by type = "message". Note that this can be "unsafe" and should
only be used with care.
Capturing messages works as expected:
capture.output(message("!!!"), type = "message")
## [1] "!!!"
Capturing warnings
2010 Apr 24
1
Formatting numerical output
...r (x in c(0:20)) {
subdat <- subset(dat, time <= int * x | time > (int*x) + int) #excludes range of time data between int * x and (int*x) + int
lm.subdat <- lm(length~time, subdat) #regression
rs.subdat <- summary(lm.subdat)$r.squared #getting R-squared information
txt1 <- ("Excluded range: Time") #creating components of output message
txt2 <- ("R^2 =") #creating components of output message
lowend <- (int*x)
highend <- (int*x + int)
output <- c(txt1, lowend, highend, txt2, rs.subdat)
print.noquote(output, sep=&...
2012 Nov 09
1
Mean of matrices entries in list of lists
Hey there,
I've got a list of lists with matrices:
A list with 13 entries (representing years), each of them another list with
12 matrices (representing one month). In each matrix there are as many rows
as there are hours in the different months and 2 columns, since two
meteorological parameters are measured.
What I want to do is to calculate the hourly mean values for each month over
the
2012 May 03
2
Help with readBin
I'm trying to read a binary file created by a fortran code using readBin
and readChar. Everything reads fine (integers and strings) except for
double precision numbers, they are read as huge or very small number
(1E-250,...). I tried various endianness, swap, But nothing has worked so
far.
I also tried on R 64 bit for linux and windows (R 2.14) and R 2.11 on
windows XP 32 bit.
Any help would
2008 Jan 14
4
Focus on TextCtrl
Hello.
I have a problem with set focus on a TextCtrl in wxRuby.
I must do something like
Login TextCtrl and set focus on a next TextCtrl by clicking Tab key.
--
Posted via http://www.ruby-forum.com/.