Displaying 20 results from an estimated 1000 matches similar to: "How to start R"
2010 Aug 12
1
plot.circular
Dear all,
I am using plot.circular(x, stack=TRUE) to plot a "histogram" from a list of
angle. I would also like to draw a line from the origin at the angle of the
mean (mean.circular), preferably with the resultant's length (rho.circular) as length.
How do I achieve this on the circular plot, please?
Thanks a lot, Tim
--
--
Tim Gruene
Institut fuer anorganische Chemie
2010 Aug 12
5
Where the data file is stored?
Hi folks,
OS - Ubuntu 10.04
On R I create a datafile named "data". I can evoke it on R with;
> data
On R Commander
Data -> Active data set -> Select active data set -> (data) OK
only one data set there "data"
-> View data set
I can read it
-> Edit data set
showing 25 rows of data. Clicking the box shows a thick border around it. But
I couldn't
2010 Aug 15
1
Moving average in R
Hi,
I want to fit moving average trend in R. In google, I see that it is in the
package 'TTR'. But, I can't install this package. I have used the following
code:
>install.packages("TTR")
But, it says there is no package called 'TTR'.
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Aug 12
1
reading fixed width format data with 2 types of lines
Hi,
I know how to read fixed width format data with read.fwf, but suddenly I need to read in a large number of old fwf files with 2 types of lines. Lines that begin with "3" in first column carry one set of variables, and lines that begin with "4" carry another set, like this:
?
3A00206546L070049016090045 99 1015002 001001008010004002004007003 001
2010 Aug 19
1
texi2dvi: option "clean" also deletes the generated pdf file
Dear expeRts,
below are two examples of using texi2dvi. The problem becomes clear from the
second example: on cleaning, texi2dvi also deletes the generated .pdf file.
Is there a solution?
Cheers,
Marius
## Example 1: texi2dvi cleans fine, without deleting the generated .pdf
require(tools)
sink(file="myLaTeXFile1.tex")
cat("\\documentclass{article}\n")
2010 Aug 23
3
DNA sequence Fst
Hi,
I want to analyse DNA sequence data (mtDNA) in R as in calculate Fst,
Heterozygosity and such summary statistics. Package Adagenet converts the
DNA sequence into retaining only retaining the polymorphic sites and then
calcuates Fst.. but is there any other way to do this? I mean analyse the
DNA sequence as it is.. and calculate the statistics?
Thanks!
[[alternative HTML version deleted]]
2010 Aug 20
7
Latex no where to be seen
I'm experimenting using R as a report writer. I'm told LaTex is the
destination for my quest. But ?latex() gives me an error. The package
manager does not have it. The package installer can't find it. Where is it?
It amazes me that there's not a built in "report" function that can produce
the same kinds of reports that every report writer and data analysis
software in
2000 Mar 08
1
installing package in Windows
Could you help me in getting a package to compile from source in Windows?
I'm running Windows NT 4.0 on a pentium 450 with 128 Mb of Ram. I've got R
1.0.0.
I am developing a package for R which includes a bit of C code. I have things
working in Unix just fine, and now I want to port it to Windows NT.
I've been following the instructions in the R complements to Venables and
2006 Jul 17
1
Getting rid of for loops
Hello R-users!
I have a style question. I know that for loops are somewhat frowned upon in
R, and I was trying to figure out a nice way to do something without using
loops, but figured that i could get it done quickly using them. I am now
looking to see what kind of tricks I can use to make this code a bit more
aesthetically appealing to other R users (and learn something about R along
the
2003 Jul 28
2
R compilation error on Solaris
Hello...
I tried to compile an R addon package, R/qtl on a Solaris machine and
I get this error. I know that R/qtl complies correctly on other
platforms (Windows, Mac, Linuxes, etc), so I am wondering what the
problem might be.
Any ideas?
Thanks,
Saunak
-----------------------------------
/export/home/sen/tmp <howrahbridge> <pts/5> R INSTALL
2013 Sep 06
2
Fwd:
---------- Forwarded message ----------
From: Waqas Shafqat <waqas1518@gmail.com>
Date: Fri, Sep 6, 2013 at 10:31 PM
Subject:
To: rosyara@msu.edu
sorry sir
i have istalled plantbreeding libraray..but when i give command
"require(plantbreeding)" then following message appear
> require(plantbreeding)
Loading required package: plantbreeding
Loading required package: qtl
Failed
2009 Nov 06
1
Qtl - package - Question
Dear R-Helpers,
I am using qtl package to analyze qtl data from QTL cartographer.
I have the map file and cro file from QTL cartographer. I was trying to
import these two files in R using qtl package.
data=read.cross("qtlcart", ".", "crofile.txt", "mapfile.txt") ### I have
matched the file structure with the one on the website of qtl package - It
matches
2010 Feb 03
1
virt-manager can't start
Hi folks,
KVM
Virt-manager
host - Debian 5.0
Starting;
Gnome
Applications -> System Tools - Virtual Machine Manager
popup following error;
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 346, in <module>
main()
File "/usr/share/virt-manager/virt-manager.py", line 248, in main
setup_logging()
File
2013 Mar 26
1
Can you help with local source file instalation?
Hi R,
I tried to install one local source package---"qtl" into R, but failed with the following message. I am using Macbook OS 10.8.3 with Xcode 4.6.1.
ld: warning: directory not found for option '-L/usr/local/lib'
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
make: *** [qtl.so] Error 1
ERROR: compilation failed for package ¡®qtl¡¯
* removing
2010 Nov 20
10
An empty grey diagram
Hi folks,
Win7 64bit
R 1.12.0
I run following command on R:-
> ToothGrowth
> attach(ToothGrowth)
> plot(dose,len)
> matrics=lm(len~dose)
> abline(metrics)
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
plot.new has not been called yet
Only a grey diagram is displayed without content
> plot(abline(metrics))
Error in int_abline(a = a, b = b, h = h, v
2008 Nov 28
12
Guest - slow response to keystroke.
Hi folks,
Host - Debian Etch
Guests - Debian Etch.
Performed following steps to create duplicate guest, a mail server.
1)
# cp /etc/xen/guest-1.cfg /etc/xen/guest-2.cfg
edit guest-2.cfg changing the settings of:-
disk = [''file:/vserver/domains/guest-2_directory/disk.img,hda1,w'',
''file:/vserver/domains/guest-2_directory/swap.img,hda2,w'']
# Hostname
name
2008 Mar 01
2
How to set up multiple spawns of R?
Sorry: resending this; didn't have a title on it.
Trying to set up multiple spawns of R
-------------------------------------------
Hi. I'm new to the list but I have a small problem with R. I'm trying to
set up multiple spawns of R active at the same time on an AMD with a dual
core in Vista so that I can cut down my permutation processing time.
I've installed R in multiple
2007 Mar 18
2
Problem Loading rggobi package
After installing rggobi, I get the following error when I try to load it:
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: RGtk2
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2010 Nov 26
1
How to save a data set as .txt on fly?
Hi folks,
Win7 64bit
I tried to save DNase, a data set on database, as .txt file for future use with
load.
I can't do it on fly;
> save(DNase, file="C:/Users/satimis/Documents/aaa.txt")
> load(file="C:/Users/satimis/Documents/aaa.txt")
> aaa
Error: object 'aaa' not found
> aaa.txt
Error: object 'aaa.txt' not found
I must perform following
2010 Nov 14
3
How to permanently remove [Previously saved workspace restored]
Win 7 64 bit
R version 2.11.1 (2010-05-31)
How to permanently remove;
[Previously saved workspace restored]
> rm (list = ls( ))
On next start it still displays;
.....
[Previously saved workspace restored]
There is a file keeping the previous data on Linux
.Rdata
How about on Windows?
TIA
B.R.
Stephen L