Displaying 20 results from an estimated 300 matches similar to: "Exporting a Graph that has lines()"
2010 Mar 12
7
sqldf not joining all the fields
Dear R users,
I have two data frames that were read from text files as follows:
x_data <- read.table("x.txt", header = TRUE, sep = "|", quote = "\"'",
dec = ".",as.is = TRUE,na.strings = "NA",colClasses = NA,
nrows = 3864284,
skip = 0, check.names = TRUE,fill=TRUE,
strip.white = TRUE,
2011 Jun 06
3
Available space confusion
I recently created a raidz of four 2TB-disks and moved a bunch of movies onto them.
And then I noticed that I''ve somehow lost a full TB of space. Why?
nebol at filez:/$ zfs list tank2
NAME USED AVAIL REFER MOUNTPOINT
tank2 3.12T 902G 32.9K /tank2
nebol at filez:/$ zpool list tank2
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
tank2 5.44T 4.18T 1.26T 76% ONLINE -
2008 Jul 09
4
Find the closest value in a list or matrix
I have a long list of numbers [3.4,5.4,3.67,....], and I basically want to
find the index of the number closest to this number that I have, let's say
5.43. How would I do this without writing a for loop (I have to do this many
times for several lists)? Is there a "lookup" function in R?
Thanks!
--
View this message in context:
2008 Jul 02
2
Accessing a field in a data fram
raw <- read.csv(file=filename, head=TRUE,sep=",")
I've read in a csv file, and I'm looking to access a column whose name is
held in a string.
For example, I want to access raw$one or raw$two, but this will depending on
the string. Let's say that the string is decision<-"one". How would I access
raw$one?
The following doesn't work:
2008 Jul 22
2
Plotting Multiple lines on one plot
Hi,
I'm trying to plot multiple lines on one plot. I have a data frame raw,
and i want to plot raw$date on the x-axis and raw$theta, raw$vega,
raw$delta, and a few others on the y-axis, with a legend. However, I'm not
sure what the scale of those data sets are, and I don't know which one will
have the largest scale. How can I plot this? I've tried ggplot (qplot), but
it
2012 Jul 19
2
change file name from file0.1_data.RData to file1_data.Rdata
Dear All,
I want to change file names.
I have file0.1_data.RData (I have several files whose names are
file0.x_data.Rdata)
I want to rename it to file1_data.RData
How can I do it?
Thank you for saving my time!
[[alternative HTML version deleted]]
2000 Feb 08
1
fix() changes character to factor (PR#415)
If x is a data.frame containing a column of mode character, this
column is changed to a factor after applying fix(x).
Example:
R> x_data.frame(a=1:3,b=letters[1:3],c=c("hansi","pepi","karli"))
R> x$c_as.character(x$c)
R> is.character(x$c)
[1] TRUE
R> is.factor(x$c)
[1] FALSE
R> fix(x)
## I change "karli" to "sepp"
R> x$c
[1]
2017 Sep 07
0
post_processor in rmarkdown not working
Are you sure that you want to read in the output_file in
text <- readLines(output_file, warn = FALSE)?
best regards,
Heinz
Thierry Onkelinx wrote/hat geschrieben on/am 06.09.2017 11:41:
> Dear all,
>
> I'm trying to write a post_processor() for a custom rmarkdown format. The
> goal of the post_processor() is to modify the latex file before it is
> compiled. For some
2017 Sep 07
0
post_processor in rmarkdown not working
On 07/09/2017 10:11 AM, Thierry Onkelinx wrote:
> Dear Duncan,
>
> Thanks for chiming in. Could you explain how you set debug() on
> post_processor()? I've tried adding debug(post_processor) to
> rsos_article() or adding debug(post_processor) when after post_processor
> was defined in the debugger. Neither work for me.
Not working for me either right now for some reason
2008 Aug 11
1
frequency of labels in a barplot
I'm trying to control the number of labels in the x-axis of my plot. My code
is the following:
graph1<-barplot(total_skew)
axis(1,at = graph1,labels=raw_date[1:length(total_skew)], las=2)
however, the length of my "total_skew" parameter is a few thousand elements,
and all the labels on the x-axis are overlapping and cluttered. How do I
specify the frequency or number of labels
2012 Jun 15
1
Rename output file in Swaeve and Tex
HI,
I am working on R and Latex.
R CMD Sweave Test.Rnw (this generates Rnw.Tex file )
R CMD pdflatex Test.tex (It generated Test.pdf)
Is there any way to change the name of of output file (Test.pdf). I want it
to pass the output file name as parameter.
R CMD Sweave Test.Rnw Output_File
R CMD pdflatex Output_File.tex
So output file name will be Output_File.pdf
Regards
--
View
2017 Sep 07
2
post_processor in rmarkdown not working
On 07/09/2017 2:04 PM, Duncan Murdoch wrote:
> On 07/09/2017 10:11 AM, Thierry Onkelinx wrote:
>> Dear Duncan,
>>
>> Thanks for chiming in. Could you explain how you set debug() on
>> post_processor()? I've tried adding debug(post_processor) to
>> rsos_article() or adding debug(post_processor) when after post_processor
>> was defined in the debugger.
2017 Sep 08
0
post_processor in rmarkdown not working
That is strange. Another function in the same package
(INBOmd::inbo_rapport) uses the same trick. I actually started by copying
the post_processor() from that function. INBOmd::inbo_rapport() works both
with and without BibTex. Working examples are source/inbo_rapport and
source/inbo_rapport_basic from https://github.com/inbo/inbomd_examples.
Note that you need some extra work after installing
2017 Sep 07
0
post_processor in rmarkdown not working
On 06/09/2017 5:41 AM, Thierry Onkelinx wrote:
> Dear all,
>
> I'm trying to write a post_processor() for a custom rmarkdown format. The
> goal of the post_processor() is to modify the latex file before it is
> compiled. For some reason the post_processor() is not run. The
> post_processor() does work when I run it manually on the tex file.
>
> Any suggestions on what
2017 Sep 06
4
post_processor in rmarkdown not working
Dear all,
I'm trying to write a post_processor() for a custom rmarkdown format. The
goal of the post_processor() is to modify the latex file before it is
compiled. For some reason the post_processor() is not run. The
post_processor() does work when I run it manually on the tex file.
Any suggestions on what I'm doing wrong? Below is the relevant snippet of
the code. The full code is
2017 Sep 07
3
post_processor in rmarkdown not working
Dear Duncan,
Thanks for chiming in. Could you explain how you set debug() on
post_processor()? I've tried adding debug(post_processor) to rsos_article()
or adding debug(post_processor) when after post_processor was defined in
the debugger. Neither work for me.
All supporting files are available within the package. The code below
should be reproducible on your machine.
2015 Sep 29
2
OpenCL toolset (for AMD GPU)
On 09/29/2015 04:19 PM, Tom Stellard via llvm-dev wrote:
> On Tue, Sep 29, 2015 at 01:20:57PM +0000, Paweł Bylica via llvm-dev wrote:
>> Hi LLVM,
>>
>> I would like to compile OpenCL kernel for a specific AMD GPU target. Is it
>> possible with the current clang/LLVM?
>>
>> I started by using `clang -x cl` but it looks like at least some OpenCL
>>
2009 Aug 03
0
[PATCH node-image] Fix edit-livecd to re-create ext2 filesystem each time
Old edit-livecd just kept adding to the ext2 fs image which meant
it never decreased in size even if files were removed.
New functionality does multiple passes of ext2fs creation. First pass
creates a new ext2fs from the image file inside the squashfs. This
first pass is to allow the user to optionally increase the filesystem
size. If the -s parameter is omitted the existing size is used and
2004 Jun 06
0
Unable to find the Domain Master Browser
I keep getting the error 'Unable to find the Domain Master Browser' in my
log,nmbd
below is an extract from my error log;
I've added: local master = yes , preferred master = yes to my smb.conf
I used swat to create configuration file. Trying to conect in with an XP
box, I've enabled MS networks, wins server -> 192.168.0.1,
I've added my XP user/pass to the samba DB, open
2015 Aug 14
2
Convert from Maildir to Mdbox
Am 13.08.2015 um 07:33 schrieb ?????? ????? ??????????????:
> 11/08/15 13:35, J. Echter ?????:
>> Hi,
>>
>> i'd like to convert from maildir to mdbox.
>>
>> what would be the best way to do this?
>>
>> i have read the dsync part of the dovecot wiki but i don't get what i
>> have to use for my setup.
>
> Sometime, when I must